Research Methods · Simplified

Confidence Interval Laboratory

The truth stays still. The intervals move around it. Ninety-five per cent is a statement about the intervals.

The simulator

One truth, many studies, one interval each

A simulated population whose true mean change in walking is exactly 12 minutes a day. Each study draws its own sample and reports its own interval. Only one thing on this page changes how often those intervals contain the truth.

Key terms
Confidence interval
A range computed from one sample by a procedure that, repeated, captures the true value a stated share of the time.
Coverage
The share of intervals that actually contain the true value. It is a property of the procedure across many studies, not of any one interval.
Confidence level
The share you asked for when you chose the multiplier: 80, 90, 95 or 99 per cent.
Width
How long the interval is. Sample size and population spread change the width. Neither changes the coverage.
Simulation settings
25
20
One interval per study, stacked, against a fixed true value

One row per study, most recent at the top. The solid line is the true value. Intervals that miss it are drawn as a dashed line.