The idea
A point estimate without an error bar is a guess. The confidence interval turns the standard error into a range of parameter values that are compatible with the data:
For a mean: at 95%. For a proportion: . The multiplier comes straight from the normal sampling distribution the CLT provides: 1.645 for 90%, 1.96 for 95%, 2.576 for 99% (swap in critical values when is small).
What "95%" means is the most-tested subtlety in statistics. The parameter is fixed; the interval is the random object. The guarantee is about the factory, not the widget: the procedure produces intervals that cover the truth in 95% of repeated samples. Once the numbers are in, this interval either covers or it does not — assigning it "95% probability" is, strictly, a Bayesian statement that requires a prior. (In practice, with reasonable priors the Bayesian credible interval is numerically similar, which is why the sloppy reading usually survives contact with reality.)
Two properties worth having at your fingertips:
- Test duality. When a confidence interval is constructed by inverting a particular family of two-sided tests, it contains exactly the null values that the matching tests fail to reject. Do not assume exact duality for an arbitrary pairing—for example, an unpooled Wald interval and a pooled two-proportion test can disagree near the boundary.
- Width economics. Width : quadruple the data to halve the interval; pay ~31% more width to go from 95% to 99% confidence.
CIs beat p-values as a reporting tool because they keep effect size in view. "Significant" could mean a microscopic effect measured precisely; "not significant" could mean an underpowered test whose interval still contains a fortune. The interval shows which.
Worked example
Same A/B numbers as the testing example — control 500/5,000 (10%), treatment 550/5,000 (11%):
Reading it out loud: the data is consistent with anything from a 0.2-point loss to a 2.2-point gain. Three separate conclusions, all visible at a glance:
- Contains zero → not significant at 5% (matches ).
- Contains +2 points (a 20% relative lift) → absolutely not "proof of no effect"; the test is underpowered for effects we care about.
- Decision: keep collecting or re-size the experiment — the interval, unlike the p-value, says so directly.
To halve this interval's width you would need users per arm.
Cheat sheet
- General form: estimate SE. Mean: . Proportion: . Difference: SE .
- Multipliers: 90% → 1.645 · 95% → 1.96 · 99% → 2.576. Small : use critical values.
- Duality: value outside the CI ⟺ rejected at level (two-sided).
- Width: — halve it with data; 99% is ~1.31 wider than 95%.
| Situation | Read |
|---|---|
| CI excludes 0, effect above practical threshold | significant and meaningful — ship-worthy evidence |
| CI excludes 0, effect tiny | statistically real, practically irrelevant |
| CI contains 0 but also large effects | underpowered / inconclusive — do not claim "no effect" |
| CI hugs 0 tightly | well-powered null result — genuinely small-or-no effect |
Gotchas:
- "95% chance the truth is in this interval" = credible-interval language; frequentist coverage is a property of the procedure across repetitions.
- Overlapping CIs on two arms do not imply no significant difference — build the CI on the difference (two 95% CIs can overlap while the difference is significant at 5%).
- Wald proportion intervals fail near (zero-width at the boundary) — use Wilson or Agresti-Coull for small or rare events.
- Pooled SE belongs to the null-hypothesis test; unpooled SE belongs to the interval around the observed difference.
- A CI covers the parameter, not future observations — that is a (much wider) prediction interval.