Statistics · SS 2
Range and interquartile range
Measure how spread out the data is.
- Range = highest − lowest
- Interquartile range = Q3 − Q1
- Semi-interquartile range = Q3 − Q12
What the letters mean
- Q1
- the lower quartile (¼ of the way through the ordered data)
- Q3
- the upper quartile (¾ of the way through)
Worked example
From an ogive, Q1 = 12 marks and Q3 = 30 marks. Find the interquartile range.
Step 1: Subtract
30 − 12 = 18 marks
Final answer: 18 marks
When to use it
Use these when a question asks how spread out or consistent data is, not where the centre is. The range is quick but uses only the two extreme values, so one unusual value can make it misleading. The interquartile range uses the middle half of the data, so it ignores extremes. With grouped data, Q1 and Q3 are usually read from an ogive.
Why it works
Sort the data from smallest to biggest. The range simply measures the distance from the first value to the last. The quartiles cut the ordered data into four equal parts: Q1 is a quarter of the way along and Q3 is three quarters along. The gap between them holds the middle 50% of the data. The semi-interquartile range is half that gap.
Try it yourself
In a class test, the lowest mark was 18 and the highest was 92. From the ogive, Q1 = 35 and Q3 = 61. Find the range, the interquartile range and the semi-interquartile range.
Try it first, then show the solution
- Range = 92 − 18 = 74 marks
- Interquartile range = Q3 − Q1 = 61 − 35 = 26 marks
- Semi-interquartile range = 26 ÷ 2 = 13 marks
Answer: Range 74 marks, IQR 26 marks, semi-IQR 13 marks
See it
Play with this picture from the Cumulative Frequency lesson.
About 20 of the 40 scored 30.5 or less.
Median
≈ 30.5
at n/2 = 20
Q₁
≈ 19.2
at n/4 = 10
Q₃
≈ 38.7
at 3n/4 = 30
IQR
≈ 19.4
Q₃ − Q₁
| Marks | f | Upper bound. | Cum. freq. |
|---|---|---|---|
| 1–10 | 4 | 10.5 | 4 |
| 11–20 | 7 | 20.5 | 4 + 7 = 11 |
| 21–30 | 9 | 30.5 | 11 + 9 = 20 |
| 31–40 | 12 | 40.5 | 20 + 12 = 32 |
| 41–50 | 8 | 50.5 | 32 + 8 = 40 |
Common mistakes
- Giving the range as two numbers, such as '18 to 92'. The range is a single number: the difference, 74.
- Reading the quartile positions on the wrong axis of an ogive. Go across from 14 and 34 of the total frequency on the vertical axis, then read the marks down on the horizontal axis.
In BECE and WASSCE
Range appears at BECE level. The interquartile and semi-interquartile ranges usually come in WASSCE Paper 2 cumulative frequency questions, where you draw an ogive and estimate Q1, the median and Q3. Draw your reading lines neatly on the graph so the examiner can follow them.
Questions students ask
Why use the interquartile range instead of the range?
The range can be distorted by one extreme value, like one student scoring 2 when everyone else scored above 40. The IQR uses only the middle half, so it gives a fairer measure of spread.
What is the semi-interquartile range?
It is half the interquartile range, Q3 − Q12. It is also called the quartile deviation. For Q1 = 20 and Q3 = 44, it is (44 − 20) ÷ 2 = 12.