Log inStart free
LESSON 2.23 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Confidence intervals and the bootstrap

Watch a few episode scores become a range for the true mean, then test it.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 2.23 · INTERVAL BAY10 SCORES · MEAN 53.0 · TRUE MEAN 50
01
Stage 1 of 6 · One sample
Each dot is one episode score. Their mean x̄ estimates the hidden true mean μ.
Explain it simply

An agent plays 10 episodes, and each one gives a score: a teal dot. You want its true mean score, μ. In real life you never see μ, but here the dashed line shows it: 50. The blue mark is the sample mean, 53.0, and it misses μ by 3.0.

10 scores on a value axis. Their mean is 53.0; the true mean μ is 50.

episode score xtrue mean μx̄, resample means, intervals±1 SE, an interval that misses μcut-off meansformula interval
score20304050607080sampleμ = 50x̄ = 53.0score20304050607080sampleμ = 50x̄ = 53.0
Toy: one agent · n episode scores · 200 resamples · 1000 repeat samples · seeded
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
xˉ=1n∑i=1nxi\sy{xbar}{out}{\bar x} = \frac{1}{n}\sum_{i=1}^{n} \sy{x}{data}{x_i}
xˉ=54.0+45.2+52.0+…10=53.0,μ=50\bar x = \frac{54.0 + 45.2 + 52.0 + \dots}{10} = 53.0,\quad \mu = 50

The sample mean adds the n scores and divides by n.

Common mix-ups

MYTHThis 95% interval holds μ with a 95% chance.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If the episodes go from 10 to 40, how does the interval width change?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.