Run 100 repeated experiments. Each draws a sample of n = 30 from a population with μ = 100 and computes a confidence interval. Watch how many capture the true mean, and how width changes with confidence level.
True Population Mean
μ = 100
Sample Size
n = 30
Confidence Level
95%
Each bar shows a 95% confidence interval from one sample of n = 30. Click Generate to run 100 experiments.
Click "Generate 100 Samples" to begin
Statistics
Generate samples to see coverage statistics.
Key Insight
A 95% CI does NOT mean there is a 95% probability the true mean is in this specific interval.
It means: if you repeated the experiment many times, ~95% of the intervals you construct would contain the true parameter.
Width vs. Confidence
Higher confidence = wider intervals. There is always a tradeoff between precision and confidence.