Dividing by gives the variance of the observed data treated as the complete population. Dividing by gives the unbiased estimator of the variance of a larger population from which the sample was drawn.
Why Are the Denominators Different?
For data values with mean , the sum of squared deviations is
Once has been calculated from the sample, only deviations can vary independently because
Therefore, the calculation has degrees of freedom. Dividing by , called Bessel's correction, compensates for the tendency of a sample to underestimate the population variance.
| Formula | Appropriate use |
|---|---|
The formulas are related by
The distinction is about what the data represent, not simply the size of the data set. A list of 1,000 measurements can still be a sample if it was selected from a larger population. Conversely, five recorded outcomes can be the whole population if those five are all the cases being studied. The denominator therefore follows the statistical purpose, not whether the list seems large or small.
For the sample , and the sum of squared deviations is . Thus,
The second value is larger because ; its role is to correct bias across repeated samples, not to claim that this one sample contains more variation.
A common misconception is that dividing by makes the variance “more accurate” in every situation. It is appropriate only when using a sample to estimate a larger population's variance.
IB Exam Technique
This is AHL 4.14: unbiased estimators. On a GDC, usually corresponds to division by , while corresponds to division by . Read the context carefully: use when the listed data are treated as the population, but use when estimating from a sample. Keep full GDC precision and round only the final result.
