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
10:46 -
0.3 Run the course code
05:54 -
Build 0: Set up and meet the data
01:37
Module 01: The data scientist’s toolkit
5 lessons · Build 1 · Quiz 1
-
1.1 NumPy and vectorized thinking
10:39 -
1.2 pandas: select, filter and group
10:32 -
1.3 Joining, reshaping and dates
09:47 -
1.4 SQL for data scientists
10:44 -
1.5 Plotting with matplotlib and seaborn
09:20 -
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
13:00 -
2.2 Center and spread
14:00 -
2.3 Shape: skew, outliers and transformations
14:00 -
2.4 Visualizing data honestly
13:00 -
2.5 Correlation is not causation
13:00 -
2.6 Cleaning data and missing values
12:00 -
Build 2: Data profile of the PetalMart sales dataset
01:15:00 -
Quiz 2
Module 03: Probability
5 lessons · Build 3 · Quiz 3
-
3.1 The language of chance
13:00 -
3.2 Combining events
13:00 -
3.3 Conditional probability
13:00 -
3.4 Bayes’ theorem
15:00 -
3.5 Random variables and expected value
12:00 -
Build 3: A probability model for churn
01:00:00 -
Quiz 3
Module 04: Distributions
6 lessons · Build 4 · Quiz 4
-
4.1 Discrete distributions: Bernoulli and binomial
16:00 -
4.2 Poisson: counting events in time
11:00 -
4.3 The normal distribution
15:00 -
4.4 Sampling and the Central Limit Theorem
15:00 -
4.5 Sampling methods and bias
12:00 -
4.6 Likelihood and maximum likelihood
13:00 -
Build 4: Simulations of real-world variation
01:30:00 -
Quiz 4
Module 05: Inference
6 lessons · Build 5 · Quiz 5
-
5.1 Estimation and confidence intervals
15:00 -
5.2 The logic of hypothesis testing
15:00 -
5.3 t-tests and proportion tests
15:00 -
5.4 Chi-square and ANOVA
15:00 -
5.5 Errors, power and multiple testing
15:00 -
5.6 The bootstrap
14:00 -
Build 5: A significance test on a business question
01:00:00 -
Quiz 5
Portfolio Project 1: PetalMart Customer Survey Study
PetalMart Customer Survey Study
-
PetalMart Customer Survey Study
06:00:00
Module 06: Bayesian statistics
5 lessons · Build 6 · Quiz 6
-
6.1 Thinking like a Bayesian
13:00 -
6.2 Conjugate models: beta-binomial and friends
13:00 -
6.3 Credible intervals and posterior decisions
12:00 -
6.4 Bayesian A/B testing
13:00 -
6.5 Probabilistic programming with PyMC
13:00 -
Build 6: Bayesian conversion by city
01:15:00 -
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
-
PetalMart Demand Forecast
06:00: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