New Tool Radar

AI Research & Fact-Checking

How to Tell a Population Standard Deviation From a Sample One

Check whether the data are the whole population or a sample before you trust a standard deviation, because the two divide by different numbers.

Schematic diagram: an AI answer says aI says the standard deviation is 2.16, while the correct value is Correct population value is 1.87; the verdict is Wrong.

Khan Academy states the rule: if the data are the whole population, divide the sum of squared deviations by the number of data points, N; if the data are a sample from a larger population, divide by one fewer, n – 1. Using the sample divisor on a population overstates the spread, and using the population divisor on a sample understates it.

Use the practice table

The table below is synthetic. It is about a fictional quiz, and it was not produced by any AI tool. It is the only source for the exercise.

Practice table — scores of all four fictional quiz players:

  • Scores: 6, 2, 3, 1.
  • The four players are the whole group being described.

Practice AI answer: “The standard deviation is 2.16.”

Check the answer

Expected result. We checked Khan Academy’s population and sample standard deviation review. We did not run an AI tool on the practice table. The checked list below is what to expect if the standard deviation is correct; run the same check yourself on the table above.

What was checked AI answer says Correct value Verdict
Mean not shown 3 Correct — (6 + 2 + 3 + 1) / 4 = 3
Sum of squared deviations not shown 14 Correct — 9 + 1 + 0 + 4 = 14
Divisor 3 4 Wrong — the four players are the whole population, so divide by N = 4, not n – 1 = 3
Standard deviation 2.16 1.87 Wrong — square root of (14 / 4) = 1.87; 2.16 is the sample figure, square root of (14 / 3)

Four players are a population, not a sample

The AI answer used the sample divisor, which is for estimating a larger population from a sample. Here the four scores are everything being described, so the population divisor applies. The difference is small with four values and grows smaller as the count grows, but the label must still match the data.

See also: check-ai-median-mean-outlier.

What to do with each verdict

  • Correct: keep the standard deviation, and say whether it is a population or sample figure.
  • Wrong: replace it with the figure that matches the population-or-sample label.
  • The label is missing: ask whether the data are the whole group or a sample before quoting the number.

Limits

  • With a large sample the two divisors give nearly the same answer, but the distinction still matters for small data sets.
  • Standard deviation measures spread around the mean. It does not say whether the mean itself is right.
  • No AI tool was run for this guide. The practice table and answer are synthetic.

Sources

See all