9C

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

MeasureHow to find it
Meanadd all the values and divide by how many there are
Medianthe middle value once the data is in order (average the two middle values if there is an even number)
Modethe most common value
Example 1●

Find the mean, median and mode of $4, 7, 7, 9, 12, 15$.

Mean $= 54 \div 6 = 9$
Total 54, six values.
Median $= 8$
Six values, so the median is halfway between the 3rd and 4th: 7 and 9.
Mode $= 7$
7 appears twice, everything else once.

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.

StemLeaf
12 5 8
20 3 3 7
31 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.

Example 2●●

The goals scored by a team in $20$ games are shown. Find the mean, median and mode.

Goals $x$Frequency $f$$f \times x$
040
177
2510
339
414
Total2030
Mean $= 30 \div 20 = 1.5$
Total goals divided by total games.
Median $= 1$
With 20 values, the median is between the 10th and 11th. The first 4 values are 0, the next 7 (5th to 11th) are 1, so both are 1.
Mode $= 1$
1 has the highest frequency.

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.

Example 3●●

Estimate the mean from this grouped table.

ClassCentre $x$$f$$f \times x$
0–94.5313.5
10–1914.58116
20–2924.56147
30–3934.53103.5
Total20380
Use the centres as $x$.
The class centre is the average of its end values, for example (10 + 19) ÷ 2 = 14.5.
Estimated mean $= 380 \div 20 = 19$
Modal class: $10$–$19$
10–19 has the highest frequency, 8.

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$.

Practice
  1. Find the mean of $3, 8, 10, 11$.

  2. Find the median of $5, 2, 9, 4, 7, 1$.

  3. The mode of $3, 5, 5, 6, 8, 8, 8, 9$ is:

  4. An outlier is added to a data set. Which measure changes the most?

  5. 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.

  6. 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.

  7. Estimate the mean: class $10$–$14$ has frequency $4$, $15$–$19$ has $6$, and $20$–$24$ has $10$.

  8. For the same grouped data, the modal class is:

  9. Challenge: The mean of five numbers is $12$. Four of them are $10$, $14$, $9$ and $15$. Find the fifth.

  10. 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.

Formula sheet