Standard Deviation
The standard deviation measures how spread out data is around the mean, using every value. A larger standard deviation means the data is more spread out. It can be calculated from a list, a frequency table or summary statistics.
Key points
- From a list: $\sigma = \sqrt{\frac{\sum x^2}{n} - \bar{x}^2}$, where $\bar{x} = \frac{\sum x}{n}$.
- From a frequency table: $\sigma = \sqrt{\frac{\sum fx^2}{\sum f} - \left(\frac{\sum fx}{\sum f}\right)^2}$.
- For grouped data use the class midpoints — the answer is an estimate.
- Adding a constant to every value changes the mean but not the standard deviation.
- Multiplying every value by $k$ multiplies both the mean and the standard deviation by $k$.
Worked example
Question. Find the standard deviation of 2, 4, 4, 6, 9 to 2 decimal places.
- $\sum x = 25$, so $\bar{x} = 5$.
- $\sum x^2 = 4 + 16 + 16 + 36 + 81 = 153$
- $\sigma = \sqrt{\frac{153}{5} - 5^2} = \sqrt{5.6} = 2.366\ldots$
Answer. 2.37
Common mistakes
- Squaring $\sum x$ instead of adding the squares $\sum x^2$.
- Forgetting to square the mean before subtracting, or forgetting the final square root.
- Using $fx^2$ as $(fx)^2$ in a frequency table.