Home / Analysis of Data / Outliers
3.1d · Analysis of Data · Sub-skill
Spotting values that don't fit the pattern, testing them formally with the 1.5×IQR rule, and deciding what to do about them.
Build it up, step by step
Click each step below to reveal it — work through them in order the first time round.
An outlier is a value that lies unusually far from the rest of the data set — it doesn't fit the general pattern. Outliers matter because they can distort averages (especially the mean) and give a misleading impression of the data.
Rather than relying on ‘it looks odd’, Core Maths uses a formal test: first find the IQR ($Q_3-Q_1$). A value is an outlier if it is more than $1.5\times IQR$ below $Q_1$, or more than $1.5\times IQR$ above $Q_3$. This gives two boundaries — anything outside them counts as an outlier.
Once you've identified an outlier, you need to think about why it's there. It might be a genuine, unusual result (worth keeping and investigating — it could be interesting!), or it might be a data entry/measurement error (worth removing or correcting). The context of the question should guide your decision — the exam will expect you to justify your choice.
The mean uses every value, so a single outlier can pull it noticeably up or down. The median is based on position, not value, so it's barely affected by an extreme outlier. This is exactly why, when data contains outliers or is skewed, the median (not the mean) is usually the more appropriate average to quote.
A sample of 10 employees' annual salaries (£000s): 24, 26, 27, 28, 29, 30, 31, 32, 33, 95. Show that 95 is an outlier, and explain the effect it has on the mean.
$Q_1$ ≈ 26.5, $Q_3$ ≈ 32.5 (average of the relevant middle pair in each half), so IQR ≈ 6. Upper boundary = $Q_3+1.5\times IQR$ ≈ 32.5+9 = 41.5. Since 95 > 41.5, it is an outlier.
Mean including 95 = 355÷10 = 35.5; mean excluding 95 = 260÷9 ≈ 28.9. The outlier pulls the mean up substantially (from about £28,900 to £35,500), giving a misleading impression that ‘typical’ pay is much higher than it really is for most employees.
Test yourself
A scientist records the reaction time (seconds) of 8 participants: 0.21, 0.23, 0.22, 0.24, 0.20, 0.23, 0.55, 0.22.
(a) Calculate $Q_1$ and $Q_3$, and use the $1.5\times IQR$ rule to determine whether 0.55 is an outlier.
(b) The scientist discovers the participant with 0.55 seconds was distracted by a phone ringing during the test. Explain what the scientist should do with this data point, and why. [5 marks]
(a) Ordered: 0.20, 0.21, 0.22, 0.22, 0.23, 0.23, 0.24, 0.55. n=8. Lower half (0.20,0.21,0.22,0.22) → $Q_1$=(0.21+0.22)÷2=0.215. Upper half (0.23,0.23,0.24,0.55) → $Q_3$=(0.23+0.24)÷2=0.235. IQR = 0.235−0.215 = 0.02. Upper boundary = 0.235 + 1.5×0.02 = 0.265. Since 0.55 > 0.265, it is an outlier.
(b) Since there's a known cause (the participant was distracted, not genuinely reacting slowly), this is a measurement error rather than a genuine result, so the scientist should remove/exclude this data point before calculating summary statistics, as it does not reflect the participant's true reaction time and would distort the results.
Practice
Five short questions on outliers. Work through them, then reveal the mark scheme to check.