Answer‑First Intro
Sample variance uses n−1 instead of n because dividing by n−1 makes the estimator unbiased. When we estimate the population variance, we first estimate the mean using the same data. This “uses up” one degree of freedom and makes the naive estimator too small. The short answer: n−1 corrects the downward bias caused by estimating the mean.
Problem Setup
Two common formulas for sample variance are:
Unbiased estimator: s² = (1/(n−1)) Σ(xᵢ − x̄)²
Biased estimator: σ̂² = (1/n) Σ(xᵢ − x̄)²
We want to understand why the unbiased version uses n−1.
Step‑by‑Step Explanation
1) The sample mean pulls deviations inward
The deviations (xᵢ − x̄) are smaller on average than (xᵢ − μ). This makes Σ(xᵢ − x̄)² systematically too small.
2) Estimating the mean uses one degree of freedom
Once x̄ is computed, only n−1 deviations are free to vary. The last deviation is determined automatically because the deviations must sum to zero.
3) Dividing by n underestimates the true variance
E[(1/n) Σ(xᵢ − x̄)²] = ((n−1)/n) σ² This is always smaller than σ².
4) Dividing by n−1 removes the bias
E[(1/(n−1)) Σ(xᵢ − x̄)²] = σ² This makes s² an unbiased estimator of the population variance.
5) Unbiasedness is a core principle in mathematical statistics
Many inferential procedures rely on unbiased estimators. Using n−1 ensures correct confidence intervals and hypothesis tests.
Intuition
Think of the sample mean as “cheating” a little—it is chosen to minimize squared deviations. Because the mean is optimized using the data, the remaining deviations are artificially small. Dividing by n−1 compensates for this shrinkage.
Common Exam Mistakes
- Thinking n−1 is used only for small samples.
- Believing n−1 comes from normality (it does not).
- Confusing unbiasedness with minimum variance.
- Using n−1 for population variance (incorrect).
- Forgetting that degrees of freedom come from constraints.
Why This Matters
The n−1 correction is essential for unbiased estimation, correct inference, and understanding degrees of freedom. It appears in t‑tests, ANOVA, regression, and nearly every inferential method.
Final Summary
Sample variance divides by n−1 because estimating the mean reduces the variability of the deviations. Dividing by n−1 corrects this bias and produces an unbiased estimator of the population variance.
This explanation belongs to the broader Mathematical Statistics Tutoring NYC pillar.
If you want help working through these ideas for coursework or exams, you can talk directly to a tutor, not a marketer.
Call/Text: 646-543-0832
Email: tutor@mytutornyc.com
