Understanding Bessel's Correction ($n-1$)

This simulation draws repeated random samples from a population. We calculate the variance for each sample using both the biased ($n$ denominator) and unbiased ($n-1$ denominator) formulas. Watch how the running average of the unbiased estimates converges on the true population variance, while the biased estimates systematically fall short.

Restricted to $\ge 30$ to keep the chart scale legible.

How many random samples to generate per click.

True Population Variance
100.00
Population Mean: 50
Total Samples Drawn
0
Avg. Biased Var. (Div by $n$)
0.00
Systematic Underestimate
Avg. Unbiased Var. (Div $n-1$)
0.00
Bessel's Correction

Convergence of Variance Estimates

The chart shows the running average of the variance estimates as more samples are drawn. Notice how the blue line ($n-1$) converges to the true variance (green dashed line), while the red line ($n$) stays below it. The individual scatter points show the high variability of single samples.

Latest Sample Details

Draw samples to see calculation details here.