Qm

Why the variance formula divides by n minus 1

A bottling line fills nn bottles and you record the volumes X1,,XnX_1, \dots, X_n, an i.i.d. sample with unknown mean μ\mu and unknown variance σ2\sigma^2. You estimate the process variance by averaging the squared gaps from the sample mean Xˉ\bar X.

If you want the estimator to be correct on average (unbiased) for σ2\sigma^2, what number should you divide i(XiXˉ)2\sum_i (X_i - \bar X)^2 by, and why is it not nn?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

How much does dividing volatility by n understate it?When the true mean is known, which divisor is right?The right divisor when pooling variance across two groupsWhy divide by n − 1 in the sample variance?If the mean is known, do you still divide by n − 1?
All questions →