About Course
Every statistical method a working data scientist uses, from describing and cleaning data to inference, regression, time series, experiments, Bayesian thinking and causal inference, taught on one company’s real questions.
You are the data scientist on the Coral Petal analytics team’s engagement with PetalMart, an online retailer selling across India. Every module answers one question PetalMart’s leadership asks of its data.
What Will You Learn?
- Pull, join and reshape data with pandas and SQL, and produce honest charts.
- Profile, clean, summarize and visualize any tabular dataset, and document what was fixed and why.
- Reason with probability, conditional probability and Bayes' theorem.
- Choose and use the right distribution, fit it to data by maximum likelihood, and explain sampling variation.
- Build confidence intervals (formula and bootstrap) and run hypothesis tests, and explain p-values correctly.
- Use Bayesian inference for estimates and A/B decisions.
- Fit, diagnose and interpret linear, logistic and count regression models.
- Decompose, model and forecast time series, and backtest the forecast.
- Design, size and analyze an A/B test, and avoid the classic pitfalls.
- Estimate causal effects from observational data with matching, difference-in-differences and related designs.
- Turn any analysis into a decision memo and defend it in an interview.
Course Content
Lesson 0: Getting started
3 lessons · Build 0
-
0.1 Welcome
04:29 -
0.2 Your data science workbench
11:07 -
0.3 Run the course code
06:16 -
Build 0: Set up and meet the data
01:39
Module 01: The data scientist’s toolkit
5 lessons · Build 1 · Quiz 1
-
1.1 NumPy and vectorized thinking
10:49 -
1.2 pandas: select, filter and group
10:39 -
1.3 Joining, reshaping and dates
09:53 -
1.4 SQL for data scientists
10:49 -
1.5 Plotting with matplotlib and seaborn
09:31 -
Build 1: PetalMart data pull
01:34 -
Quiz 1
Module 02: Describing data
6 lessons · Build 2 · Quiz 2
-
2.1 Data types and why they matter
11:54 -
2.2 Center and spread
11:21 -
2.3 Shape: skew, outliers and transformations
11:55 -
2.4 Visualizing data honestly
10:44 -
2.5 Correlation is not causation
11:44 -
2.6 Cleaning data and missing values
10:41 -
Build 2: Data profile of the PetalMart sales dataset
01:43 -
Quiz 2
Module 03: Probability
5 lessons · Build 3 · Quiz 3
-
3.1 The language of chance
11:11 -
3.2 Combining events
11:16 -
3.3 Conditional probability
10:46 -
3.4 Bayes’ theorem
11:48 -
3.5 Random variables and expected value
09:58 -
Build 3: A probability model for churn
01:42 -
Quiz 3
Module 04: Distributions
6 lessons · Build 4 · Quiz 4
-
4.1 Discrete distributions: Bernoulli and binomial
14:02 -
4.2 Poisson: counting events in time
09:05 -
4.3 The normal distribution
13:58 -
4.4 Sampling and the Central Limit Theorem
13:10 -
4.5 Sampling methods and bias
10:54 -
4.6 Likelihood and maximum likelihood
10:42 -
Build 4: Simulations of real-world variation
02:05 -
Quiz 4
Module 05: Inference
6 lessons · Build 5 · Quiz 5
-
5.1 Estimation and confidence intervals
11:55 -
5.2 The logic of hypothesis testing
13:49 -
5.3 t-tests and proportion tests
13:16 -
5.4 Chi-square and ANOVA
14:31 -
5.5 Errors, power and multiple testing
13:40 -
5.6 The bootstrap
12:50 -
Build 5: A significance test on a business question
01:44 -
Quiz 5
Portfolio Project 1: PetalMart Customer Survey Study
PetalMart Customer Survey Study
-
P1.1 Project 1 briefing
04:55 -
PetalMart Customer Survey Study
05:44:00 -
P1.2 Project 1 solution walkthrough
08:03
Module 06: Bayesian statistics
5 lessons · Build 6 · Quiz 6
-
6.1 Thinking like a Bayesian
10:28 -
6.2 Conjugate models: beta-binomial and friends
10:16 -
6.3 Credible intervals and posterior decisions
09:46 -
6.4 Bayesian A/B testing
10:26 -
6.5 Probabilistic programming with PyMC
10:31 -
Build 6: Bayesian conversion by city
01:45 -
Quiz 6
Module 07: Regression
5 lessons · Build 7 · Quiz 7
-
7.1 Simple linear regression
16:00 -
7.2 Multiple regression
15:00 -
7.3 Diagnostics: when regression lies
13:00 -
7.4 Logistic regression
14:00 -
7.5 Regression for explanation versus prediction
12:00 -
Build 7: A regression explaining revenue drivers
01:15:00 -
Quiz 7
Module 08: Beyond linear models
5 lessons · Build 8 · Quiz 8
-
8.1 Interactions and nonlinearity
13:00 -
8.2 Generalized linear models
13:00 -
8.3 Count models: Poisson and negative binomial
12:00 -
8.4 Multilevel models
13:00 -
8.5 Model selection and comparison
11:00 -
Build 8: Modeling repeat purchases
01:15:00 -
Quiz 8
Module 09: Time series analysis
6 lessons · Build 9 · Quiz 9
-
9.1 Time series data and decomposition
13:00 -
9.2 Autocorrelation and stationarity
13:00 -
9.3 Baselines and exponential smoothing
12:00 -
9.4 ARIMA and SARIMA
14:00 -
9.5 Forecast evaluation and backtesting
12:00 -
9.6 Forecasting in practice
11:00 -
Build 9: Forecast weekly demand
01:15:00 -
Quiz 9
Portfolio Project 2: PetalMart Demand Forecast
PetalMart Demand Forecast
-
P2.1 Project 2 briefing
06:00 -
PetalMart Demand Forecast
05:44:00 -
P2.2 Project 2 solution walkthrough
10:00
Module 10: Experiments
5 lessons · Build 10 · Quiz 10
-
10.1 Why experiments beat observation
12:00 -
10.2 Designing an A/B test
14:00 -
10.3 Analyzing an A/B test
14:00 -
10.4 Pitfalls: peeking, novelty and interference
13:00 -
10.5 From result to decision
10:00 -
Build 10: An A/B test analysis and write-up
01:00:00 -
Quiz 10
Module 11: Causal inference
5 lessons · Build 11 · Quiz 11
-
11.1 Correlation, causation and causal graphs
14:00 -
11.2 Matching and propensity scores
13:00 -
11.3 Difference-in-differences
13:00 -
11.4 Regression discontinuity and instrumental variables
12:00 -
11.5 Uplift and heterogeneous effects
11:00 -
Build 11: Did same-day delivery raise spend?
01:15:00 -
Quiz 11
Module 12: Career lab
2 lessons · Build 12 · Quiz 12
-
12.1 Communicating statistics to decision makers
13:00 -
12.2 Your portfolio and the statistics interview
13:00 -
Build 12: Interview drill
45:00 -
Quiz 12
Capstone: The PetalMart Free-Shipping Decision
The PetalMart Free-Shipping Decision
-
The PetalMart Free-Shipping Decision
10:00:00
Final assessment
Final assessment · 30 questions
-
Final assessment · 30 questions