Measures of centre and grouped data
Mean, median and mode from lists, stem-and-leaf plots and frequency tables, grouping data into class intervals, histograms and estimating the mean from class centres.
"The average Year 9 student sleeps 8 hours" sounds like one fact, but "average" could mean three different things. Each one describes the centre of the data in a different way, and choosing the right one matters.
Mean, median and mode
| Measure | How to find it |
|---|---|
| Mean | add all the values and divide by how many there are |
| Median | the middle value once the data is in order (average the two middle values if there is an even number) |
| Mode | the most common value |
Find the mean, median and mode of $4, 7, 7, 9, 12, 15$.
An outlier is a value far away from the rest. It drags the mean towards it but hardly moves the median. If one billionaire walks into a café, the mean wealth soars; the median barely changes. So the median is the better "typical value" when there are outliers.
Stem-and-leaf plots
A stem-and-leaf plot splits each value into a stem (here the tens digit) and a leaf (the units digit). It keeps every value while showing the shape of the data.
| Stem | Leaf |
|---|---|
| 1 | 2 5 8 |
| 2 | 0 3 3 7 |
| 3 | 1 4 |
Key: $2 | 3$ means $23$. The values are $12, 15, 18, 20, 23, 23, 27, 31, 34$. There are nine of them, so the median is the 5th: $23$. The mode is also $23$, and the range is $34 - 12 = 22$.
From a frequency table
A frequency table says how many times each value occurs. To find the mean, multiply each value by its frequency ($f \times x$), add those, and divide by the total frequency.
The goals scored by a team in $20$ games are shown. Find the mean, median and mode.
| Goals $x$ | Frequency $f$ | $f \times x$ |
|---|---|---|
| 0 | 4 | 0 |
| 1 | 7 | 7 |
| 2 | 5 | 10 |
| 3 | 3 | 9 |
| 4 | 1 | 4 |
| Total | 20 | 30 |
Grouped data
With many different values, group them into equal class intervals such as $0$–$9$, $10$–$19$. A histogram then shows each class as a bar. We lose the exact values, so we can only estimate the mean, using each class's centre as a stand-in for its values. The class with the highest frequency is the modal class.
Estimate the mean from this grouped table.
| Class | Centre $x$ | $f$ | $f \times x$ |
|---|---|---|---|
| 0–9 | 4.5 | 3 | 13.5 |
| 10–19 | 14.5 | 8 | 116 |
| 20–29 | 24.5 | 6 | 147 |
| 30–39 | 34.5 | 3 | 103.5 |
| Total | 20 | 380 |
Your turn
The mean of $8$ test scores is $15$. A ninth score is added and the mean becomes $16$. What was the ninth score?
Show the working
The first $8$ scores total $8 \times 15 = 120$. All $9$ total $9 \times 16 = 144$. The ninth score is $144 - 120 = 24$.
Find the mean of $3, 8, 10, 11$.
$(3 + 8 + 10 + 11) \div 4 = 32 \div 4 = 8$.
Find the median of $5, 2, 9, 4, 7, 1$.
In order: $1, 2, 4, 5, 7, 9$. The middle two are $4$ and $5$, so the median is $4.5$.
The mode of $3, 5, 5, 6, 8, 8, 8, 9$ is:
$8$ appears three times, more than any other value.
An outlier is added to a data set. Which measure changes the most?
Every value feeds into the mean, so one extreme value pulls it a long way. The median only depends on the middle position.
A stem-and-leaf plot shows $3 | 1\ 4\ 4\ 7$, $4 | 0\ 2\ 5$ and $5 | 3$, with $3 | 1$ meaning $31$. Find the median.
The values are $31, 34, 34, 37, 40, 42, 45, 53$. Eight values: the median is between the 4th and 5th, $37$ and $40$, so $38.5$.
A frequency table shows score $1$ with frequency $2$, score $2$ with frequency $5$, score $3$ with frequency $8$ and score $4$ with frequency $5$. Find the mean.
$\sum fx = 2 + 10 + 24 + 20 = 56$ and $\sum f = 20$. Mean $= 56 \div 20 = 2.8$.
Estimate the mean: class $10$–$14$ has frequency $4$, $15$–$19$ has $6$, and $20$–$24$ has $10$.
Centres $12$, $17$, $22$. $\sum fx = 48 + 102 + 220 = 370$. Mean $\approx 370 \div 20 = 18.5$.
For the same grouped data, the modal class is:
$20$–$24$ has the highest frequency, $10$. The modal class is a class, not a single value.
Challenge: The mean of five numbers is $12$. Four of them are $10$, $14$, $9$ and $15$. Find the fifth.
The five numbers total $5 \times 12 = 60$. The four known ones total $48$, so the fifth is $60 - 48 = 12$.
Challenge: A class of $20$ has a mean test mark of $64$. Then the teacher notices one mark of $82$ was entered wrongly as $28$. Find the correct mean.
Wrong total $= 20 \times 64 = 1280$. The correct total is $54$ more: $1280 + 54 = 1334$. Correct mean $= 1334 \div 20 = 66.7$.
Coaching Centre