Knaph

Statistics of One Variable82 of 1002 min read

Standard Deviation

Maya's eight game scores were 2,4,4,4,5,5,7,92, 4, 4, 4, 5, 5, 7, 9. The mean gives the middle, not how far the scores wander. How can you turn that wandering into one number?

Four steps in a table

The mean is 40÷8=540 \div 8 = 5. The deviation of a score is how far it is from the mean: x−5x - 5. Add the deviations and you always get 0 (−3−1−1−1+0+0+2+4=0-3 - 1 - 1 - 1 + 0 + 0 + 2 + 4 = 0), because the mean balances them. So square each one: every square is positive, and big gaps count more. The squares add to 3232. Their mean is 32÷8=432 \div 8 = 4. The square root, 4=2\sqrt{4} = 2, is the standard deviation, written σ\sigma.

A table with three rows for Maya's eight scores: the score, the deviation from the mean 5, and the square of the deviation. The squares are 9, 1, 1, 1, 0, 0, 4 and 16, and add to 32.

What the number says

σ\sigma is in the same units as the data, because the root undoes the squaring. It is 00 when all values are equal. Bigger means more spread. Both sets below have mean 5, but the wide one has a bigger σ\sigma.

Some books divide by n−1n - 1 for a sample. The idea is the same, and here we divide by nn.

Two dot plots with the same mean 5. The top one is tight, with dots from 4 to 6 and a small sigma of about 0.6. The bottom one is wide, with dots from 1 to 9 and a sigma of about 2.6.

Shift it, stretch it

Add 10 to every score. The mean becomes 15, every gap is the same, so σ\sigma is still 22. Multiply every score by 3. The mean becomes 15 and every gap triples, so σ\sigma becomes 3⋅2=63 \cdot 2 = 6. Adding moves the data. Multiplying stretches it.

Your turn: scores with σ=5\sigma = 5 are all multiplied by 4. Answer: σ=20\sigma = 20.

Careful

Do not stop at the mean of the squares. Take the square root last.

Try it at home

  1. Find the mean and σ\sigma of 3, 5, 5 and 7. The answer is a root, 2\sqrt{2}.
  2. Add 10 to every number and check that the deviations do not change.
  3. Try a set where all numbers are equal and see what you get.

Words in this lesson

  • deviation - how far a value is from the mean, with a sign.
  • standard deviation - σ\sigma, the square root of the mean of the squared deviations.

Big idea

σ\sigma is the square root of the mean of the squared deviations. It is in the data's units, 0 when there is no spread, unchanged by adding, and multiplied by kk when every value is multiplied by kk.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.