Quant Memo
Statistics/●●●●●

Why divide by n − 1 in the sample variance?

Given i.i.d. observations X1,,XnX_1, \dots, X_n with mean μ\mu and variance σ2\sigma^2, the sample variance is defined as

S2=1n1i=1n(XiXˉ)2.S^2 = \frac{1}{n-1}\sum_{i=1}^n (X_i - \bar{X})^2.

Why n1n-1 and not nn? Prove that E[S2]=σ2\mathbb{E}[S^2] = \sigma^2.

Show a hint

Expand (XiXˉ)2=Xi2nXˉ2\sum (X_i - \bar{X})^2 = \sum X_i^2 - n\bar{X}^2 and take expectations of each piece. You will need Var(Xˉ)=σ2/n\operatorname{Var}(\bar{X}) = \sigma^2/n.

Your answer

This one is open-ended. Work it through, then check your reasoning against the full solution.

More Statistics questions