Measures of Dispersion
Senior 4 · Mathematics
Measures of Dispersion
Lesson 1 of 3
25 min
Two bus companies run the Kigali to Huye route from Nyabugogo. A passenger timed 11 trips with each company. The times, in minutes and in order, were (illustrative data):
| Company | Journey times (minutes) |
|---|---|
| A | 142, 145, 147, 148, 149, 150, 151, 152, 153, 155, 158 |
| B | 120, 128, 135, 140, 146, 150, 156, 160, 165, 172, 178 |
Both lists add up to , so both companies have a mean of minutes, and both have a median of 150 minutes. An average alone says the two services are the same. They are not: with Company B you might arrive half an hour early or half an hour late. If you have a 13:00 appointment in Huye, the spread of the times matters as much as their centre. This unit is about measuring that spread. This first lesson revises the measures of centre and introduces the quartiles and the box plot, the picture that shows centre and spread together.

Definition
Measures of central tendency: single values that describe the centre of a data set .
Example: for 2, 3, 3, 7, 10: , median = 3rd value = 3, mode = 3.
Worked example 1: centre of a frequency table
A survey asked 40 households in one village how many children aged under 5 live there (illustrative data). Find the mean, the median and the mode.
| Children, | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| Households, | 3 | 7 | 12 | 10 | 5 | 3 |
| 0 | 7 | 24 | 30 | 20 | 15 | |
| Cumulative | 3 | 10 | 22 | 32 | 37 | 40 |
Solution
Mean: children.
Median: , so the median lies halfway between the 20th and 21st values. The cumulative frequencies show that the 11th to the 22nd values are all 2, so the median is 2.
Mode: the greatest frequency is 12, for , so the mode is 2.
The mean 2.4 is not a possible number of children. That is normal: a mean describes the whole group, not one household.
The median splits ordered data into two halves. The quartiles split it into four quarters, and the distance between the outer two quartiles measures how spread out the middle half of the data is.
Definition
Quartiles: for values in increasing order,
is the lower quartile and the upper quartile.
Measures of dispersion describe how far the data spread out. The simplest two are the range and the interquartile range .
The five-number summary is: minimum, , median, , maximum.
Example: Company A above has , so is the 3rd value, 147, and is the 9th value, 153. Its IQR is minutes.
Worked example 2: a position that is not a whole number
The numbers of customers served in one hour at a mobile money kiosk on 10 days were 3, 5, 6, 8, 9, 11, 12, 14, 15, 20. Find the quartiles and the IQR.
Solution
, so .
customers.
Warning
Books and calculators do not all find quartiles the same way. Some take the medians of the lower and upper halves; some spreadsheets use yet another position rule. For large data sets the answers are almost equal, but for 10 values they can differ by a little. In an exam, use one method, show the positions you used, and you will be marked right. In this unit we always use the rule above.
A box plot (or box-and-whisker diagram) draws the five-number summary on a scale. The box runs from to , with a line at the median; the whiskers run out to the smallest and largest values. Here are the two bus companies on one scale:
The picture says at once what the table hid. The medians are the same, but Company B's box is five times as wide (IQR 30 minutes against 6), and its whiskers stretch over 58 minutes against 16. Company A is far more consistent.
An outlier is a value that lies unusually far from the rest. A common rule marks as an outlier any value below or above . These two numbers are called the fences. On a box plot an outlier is drawn as a separate cross, and the whisker stops at the most extreme value inside the fences.
The box plot also shows skewness. If the median sits near and the right whisker is long, the data are positively skewed (a tail of large values, as with incomes). If the median sits near and the left whisker is long, they are negatively skewed. If the two halves balance, the data are roughly symmetric.
Worked example 3: finding an outlier
The marks out of 50 of 15 students in a test were: 12, 18, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 35, 48. Draw a box plot and decide whether any mark is an outlier.
Solution
, so : is the 4th value, 23; the median is the 8th value, 27; is the 12th value, 31. So and .
48 is above 43, so 48 is an outlier. 12 is above 11, so it is not (only just). The right whisker stops at 35, the largest mark inside the fences:
Before deleting an outlier, ask why it is there. A mark of 48 is not a mistake: it is one strong student. An outlier caused by a typing error (480 for 48) should be corrected; a real one should be kept and reported.
Tip
To compare two groups, draw their box plots on the same scale, one above the other, and then write two sentences: one comparing the medians (which is typically higher) and one comparing the IQRs (which is more consistent). That is exactly what an examiner wants to read.
Mario's Math Tutoring: Outliers, Box and Whisker Plot (1.5 IQR). Watch how the fences are found from the quartiles and how an outlier is drawn apart from the whisker.
Practice
Try each one before opening the answers. They get harder as you go.
Key points
Sources and credits
Quick check
Twelve values are in increasing order. Using the (n + 1)/4 rule, where is the lower quartile Q₁?