How often does the next estimate land inside the current confidence interval?

The true mean μ is 0 (dashed line). Each click runs an experiment and builds its confidence interval. Then the same experiment is repeated with the same sample size, and we look at the mean of the repeat. You set the confidence level and check by simulation how often the repeat's mean falls inside the first interval.

Distribution
Presets
Speed
Experiments so far
0
 
Repeat inside first interval
0
 
Repeat outside
0
 
Share inside (simulated)
–
 
First interval contains true mean
–
 
experiment 1: observations its confidence interval repeat: observations repeat mean inside the interval repeat mean outside (✕)

What the interval says about the future. A confidence level of 95 % describes how often the interval contains the true mean μ. It does not describe where the next estimate will land. The mean of an exact repeat varies by itself, so it falls inside the first interval less often than the level. For normally distributed data and a 95 % interval this happens in about 83 % of the cases, roughly 5 out of 6 (Cumming 2008).

Try this. Set the level to 95 % and press “1000 at once”. Compare the share inside (about 83 %) with the share of first intervals that contain μ (about 95 %). Then change the level and the sample size and see how little the share depends on n. With σ known and normal data, the long-run share is 2·Φ(z/√2) − 1, where z is the usual multiplier of the interval. With the t interval and a small n, or with skewed data, the simulated share can differ somewhat from this value.