Skip to main content
Interactive 3D/Confidence Intervals
Green = captures μ  ·  Red = misses μ  ·  Dashed line = true μ
Sample Size
n = 30
5100
Confidence Level
95% CI
80%99%
Animation Speed
300ms / interval
fastslow
Controls
Live Stats
Drawn:0
Capturing:0
% capturing:-%
Expected:95%
A 95% CI means: if you repeated the experiment many times, 95% of the intervals would contain the true parameter - not that there's a 95% chance the true value is in this specific interval.
Try: Drop confidence to 80% - watch more CIs miss μ. Raise n - watch intervals shrink but the capture rate stay stable.

Confidence Intervals - Interactive Visualization

A 95% confidence interval means: if you repeated the experiment many times, 95% of the computed intervals would contain the true parameter. This is often misunderstood as '95% probability the true value is in this interval.' This animation shows 50 CI computations, coloring green when they capture μ and red when they miss, making the frequentist interpretation visceral.

  • Watch 50 confidence intervals animate one by one
  • Green = captures true μ, red = misses
  • See % capturing μ converge to 1-α over many intervals
  • Adjust n to see narrower CIs with more data
  • Adjust confidence level and see wider/narrower intervals

Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.