Outliers
An outlier is a value that is unusually far from the rest of the data. Two standard rules are used to decide whether a value is an outlier, one based on quartiles and one on the mean and standard deviation.
Key points
- Quartile rule: an outlier is below $Q_1 - 1.5 \times \text{IQR}$ or above $Q_3 + 1.5 \times \text{IQR}$.
- Mean rule: an outlier is outside mean $\pm 3$ standard deviations.
- On a box plot, outliers are often shown as crosses, with the whiskers stopping at the most extreme non-outlier values.
- Do not just delete outliers — check whether they are errors (e.g. a recording mistake) or genuine unusual values.
- Outliers affect the mean, range and standard deviation much more than the median and IQR.
Worked example
Question. $Q_1 = 24$ and $Q_3 = 36$. Is 55 an outlier?
- IQR $= 36 - 24 = 12$
- Upper limit $= 36 + 1.5 \times 12 = 54$
- 55 is greater than 54.
Answer. Yes, 55 is an outlier.
Common mistakes
- Using $1.5 \times Q_3$ instead of $Q_3 + 1.5 \times \text{IQR}$.
- Adding $1.5 \times$ IQR to the median rather than the upper quartile.
- Removing an outlier without giving a reason.