← Statistics Labs

Confidence Interval Coverage

Visual coverage probability for a Bernoulli proportion

Generate many confidence intervals for a known proportion p. Green intervals contain the true value; red ones miss. Observe how empirical coverage matches the nominal confidence level.

Contains true p Misses true p True p
0.00.20.40.60.81.0proportion pp = 0.50

Press "Run Trials" to generate confidence intervals — green lines contain the true proportion, red miss it.

Confidence Interval Coverage — Statistics Labs · hbar.university