Statistics & Inference

Sampling, confidence intervals, hypothesis tests and the A/B test you will be asked to design in an interview.

Module 01.4 · Beginner
Free

10h · 8 lessons · 1 challenge

Before this: Probability Foundations

About this module

An offline metric moved by 0.3%. Is that real? Statistics is how you answer that without embarrassing yourself, and it is the subject ML engineers most often skip and most often get caught on.

The module is built around experiment design, because that is the form the question takes on the job and in the interview: how many samples, what test, what were you assuming, and what would make you wrong.

After this module you can

8 lessons

Lesson 1
Sampling, estimators, bias and variance
Kind
Concept
Length
50 min
Lesson 2
The central limit theorem, and what it does not promise
Kind
Concept
Length
45 min
Lesson 3
Confidence intervals and the four ways people misread them
Kind
Concept
Length
50 min
Lesson 4
Hypothesis testing, p-values and errors
Kind
Concept
Length
55 min
Lesson 5
Design the A/B test: power, duration, stopping
Kind
Lab
Length
80 min
Lesson 6
Peek Penalty: watch a significant result evaporate
Kind
Interactive
Length
30 min
Lesson 7
Bootstrap and permutation methods
Kind
Concept
Length
45 min
Lesson 8
Checkpoint: is that result real?
Kind
Checkpoint
Length
25 min

The challenge: Peek Penalty

Run an experiment where you can stop early whenever you like. The game shows you exactly how much significance you manufactured by peeking.

Worth 400 XP.

Related modules

All modules
Python for ML Engineers
10h · 7 lessons
NumPy & Vectorization
8h · 7 lessons