Skip to the workspace
Pebellslearn by building
Statistical Inference  ›  Lesson

Confidence Intervals

Statistics 14 minA 95 percent confidence interval of about two standard errors either side of an estimate shows the range of values the data support, and both ends should be read against the decision threshold.

ai data scientist / Confidence Intervals

Explore each scene at your own pace.

01 · The rule

The rule

Confidence Intervals

The Quick Checkout test has finished. The old checkout converted 10% of its 14,400 users and the new one converted 11% of its 14,400. "Conversion up 1 point" is true, but it hides the question the product lead actually cares about: could the real improvement be tiny, or even zero, and this was a lucky fortnight?

The rule

Report a range, not a point: estimate plus or minus two standard errors.

A 95% confidence interval is roughly

estimate±2×SE\text{estimate} \pm 2 \times SE

(the exact multiplier for 95% is 1.96; 2 is close enough to reason with). For a difference between two independent groups, the standard errors combine like the sides of a right-angled triangle:

SEdiff=SEA2+SEB2SE_{\text{diff}} = \sqrt{SE_A^2 + SE_B^2}

For the checkout test, the old arm's SE is 0.25 points (from the last lesson) and the new arm's is about 0.26 points, so SEdiff=0.252+0.262≈0.36SE_{\text{diff}} = \sqrt{0.25^2 + 0.26^2} \approx 0.36 points. The interval is 1 ± 0.72: 0.28 to 1.72 points.

What "95%" means: the method that builds these intervals catches the true value in about 95 out of every 100 samples you could have drawn. It is a promise about the procedure, so the safe plain-language reading is "the data fit a lift anywhere from about 0.3 to 1.7 points."

The width comes straight from the standard error. More data, or less variable data, gives a narrower interval. Asking for more confidence, such as 99%, gives a wider one.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.