Outliers, Cleaning Data and Choosing How to Present It | Analysis and Approaches IB Maths notes
Free preview: Outliers, Cleaning Data and Choosing How to Present It
Identifying Outliers
Analysis and approaches and Applications and interpretation: SL and HL (common content, SL 4.1 and SL 4.2)
Let's start with a word you have met on box plots. A class of 25 sits a test. Most score between 20 and 45. One student scores 61. Is 61 "unusual"? What about 50? If you and I use our own gut feeling, we might disagree. So statisticians agree on a rule.
- An outlier is a value that is very different from the rest of the data.
- "Very different" needs a rule, so that everyone agrees. The IB uses the IQR rule. You may also be given a rule based on the standard deviation.
Rule 1: the IQR rule
💡 In plain words
- and are the quartiles and IQR = .
- Go 1.5 box-lengths beyond each end of the box. Anything past that is an outlier.
- The two boundary values are sometimes called fences.
Recipe: the IQR rule
- Find , and the IQR. Why: the fences are measured from the box.
- Work out 1.5 × IQR.
- Fences: and .
- Check the extreme values against the fences, and say which (if any) are outliers.
👀 Watch me do it: the test marks in the picture
| What I write | Why I do it |
|---|---|
| , so IQR = 12. | Step 1. |
| Step 2. | |
| Lower fence: 20 − 18 = 2. Upper fence: 32 + 18 = 50. | Step 3. |
| 55 and 61 are above 50, so they are outliers. | Step 4. Nothing is below 2, so no low outliers. |
| On a box plot: crosses at 55 and 61; the upper whisker stops at 47. | 47 is the largest value that is not an outlier. |

Following the graph
- Q₁ = 20 and Q₃ = 32, so IQR = 12 and 1.5 × IQR = 18.
- Lower fence: 20 − 18 = 2. Upper fence: 32 + 18 = 50.
- 55 and 61 are above 50, so they are outliers and are drawn as crosses.
- The upper whisker stops at 47, the largest value that is not an outlier.
✏️ YOUR TURN 1
Try this first:
Use the 1.5 × IQR rule to find any outliers in 3, 12, 14, 15, 15, 17, 18, 19, 20, 22, 38.
Answer:
- n = 11, median = 6th value = 17. Lower half 3, 12, 14, 15, 15: . Upper half 18, 19, 20, 22, 38: .
- IQR = 6, 1.5 × IQR = 9. Fences: 14 − 9 = 5 and 20 + 9 = 29.
- 3 is below 5 and 38 is above 29, so both are outliers.
The Standard Deviation Rule
If you already know the mean and standard deviation, there's a second rule that uses them instead of quartiles.
💡 In plain words
- is the mean, the standard deviation and k is usually 2 or 3.
- A value more than k standard deviations away from the mean is an outlier.
Recipe: the standard deviation rule
- Work out using the k from the question. Why: it is how far from the mean counts as "far".
- Limits: and .
- Compare each suspect value with the limits.
👀 Watch me do it: mean 25.4, standard deviation 6.2, k = 2
| What I write | Why I do it |
|---|---|
| Step 1. | |
| Limits: 25.4 − 12.4 = 13.0 and 25.4 + 12.4 = 37.8. | Step 2. |
| A value of 39 would be an outlier, but 36 would not. | Step 3: 39 is beyond 37.8; 36 is inside. |

What the picture shows
- Two standard deviations is 2 × 6.2 = 12.4, measured out from the mean on each side.
- This gives limits of 13.0 and 37.8.
- 36 is inside the limits, so you keep it. 39 is beyond 37.8, so it is an outlier.
📝 Use the rule you are given
- Wrong: using 1.5 × IQR when the question says "more than 2 standard deviations from the mean".
- Right: the question's rule, every time. Different rules can give different answers for the same value.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Collecting and summarising data (SL 4.1–4.3)
- Populations, Samples and the Census: Why We Sample
- Random Sampling Methods: Simple Random, Systematic and Stratified
- Quota, Opportunity, Cluster and Self-Selected Samples, and Choosing a Method
- Types of Data and the Mean, Median and Mode
- Grouped Data: Estimating the Mean, Median, Quartiles and Percentiles
- Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation
- Cumulative Frequency Diagrams and Box Plots
- Histograms, Frequency Density and the Shape of a Distribution
- Outliers, Cleaning Data and Choosing How to Present It
- Coding Data: Linear Changes to the Mean and Standard Deviation
What's inside for this topic
10 teacher notes, 74 practice questions, 39 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Histograms, Frequency Density and the Shape of a Distribution Next note: Coding Data: Linear Changes to the Mean and Standard Deviation