Averages and Spread
Studying this course? Keep your progress in one place.
Key facts
- Mean = total ÷ number of values; median = middle of ordered data; mode = most common; range = largest − smallest.
- Always order the data before finding the median.
- Grouped data: estimate the mean using midpoints; the modal class has the highest frequency.
- An outlier changes the mean and range a lot, but the median very little.
- To compare data sets, comment on an average and on the spread, in context.
- is the spread of the middle 50%.
Mean, median, mode, range
Three averages describe a typical value, and the range describes how spread out the data is.
For data in a frequency table, multiply each value by its frequency, add these up, then divide by the total frequency.
With an even number of values the median is halfway between the two middle ones.
Mean
- Sum of values ÷ number of values
Median
- Middle value when ordered
Mode
- Most common value
Range
- Largest − smallest
- Mean from a table
Worked example
Find the mean, median, mode and range of 3, 7, 5, 7, 9, 4.
- 1
Mean: 35 ÷ 6.
- 2
Ordered: 3, 4, 5, 7, 7, 9. Median = (5 + 7) ÷ 2.
- 3
Mode = 7. Range = 9 − 3.
What is the median of 4, 9, 2, 7, 5, 9?
Grouped data
Use the midpoint of each class as its value, so the answer is only an estimate.
The original values are lost, so use each class midpoint.
- Find each midpoint.
- Multiply it by the frequency.
- Add the products and divide by the total frequency.
The modal class is just the class with the highest frequency.
| 0 < x ≤ 10 | 10 < x ≤ 20 | 20 < x ≤ 30 | |
|---|---|---|---|
| Frequency | 4 | 6 | 10 |
| Midpoint | 5 | 15 | 25 |
| Midpoint × frequency | 20 | 90 | 250 |
0 < x ≤ 10
- Frequency:
- 4
- Midpoint:
- 5
- Midpoint × frequency:
- 20
10 < x ≤ 20
- Frequency:
- 6
- Midpoint:
- 15
- Midpoint × frequency:
- 90
20 < x ≤ 30
- Frequency:
- 10
- Midpoint:
- 25
- Midpoint × frequency:
- 250
Worked example
Estimate the mean from the table (total frequency 20).
- 1
Total of midpoint × frequency = 20 + 90 + 250 = 360.
- 2
360 ÷ 20 = 18.
Why can the mean of grouped data only be estimated?
Outliers
An outlier pulls the mean and range a long way but hardly moves the median.
An outlier is a value far from the rest.
- The mean uses every value, so it is strongly affected.
- The median depends only on the middle position, so it barely changes.
- The range uses the extremes, so it changes a lot.
With an outlier, the median is usually the better average.
- Without outlier
- With outlier (50)
A data set has one very large outlier. Which average is the most representative?
Comparing data sets
Always compare an average and a measure of spread, and say what they mean in context.
- Compare an average: which is typically higher or lower?
- Compare the spread (range or IQR): which is more consistent?
- Write it in the context of the question.
"Class A has a higher mean, but a larger range, so its results are less consistent."
- Mean
- Range
| Class A | Class B | |
|---|---|---|
| Mean | 62 | 58 |
| Range | 40 | 15 |
| Verdict | Higher on average, less consistent | Lower on average, more consistent |
Class A
- Mean:
- 62
- Range:
- 40
- Verdict:
- Higher on average, less consistent
Class B
- Mean:
- 58
- Range:
- 15
- Verdict:
- Lower on average, more consistent
Which comment earns full marks?
IQR and box plots
The IQR is the spread of the middle half of the data, so outliers hardly affect it.
The interquartile range is .
A box plot shows the minimum, lower quartile, median, upper quartile and maximum.
Compare box plots by median (typical value), IQR (spread) and skew, from the median's position in the box.
- IQR
Worked example
Find the five-number summary and IQR of 2, 4, 5, 7, 8, 9, 12, 14, 15.
- 1
n = 9. Median is the 5th value: 8.
- 2
Q1 = 2.5th value = (4 + 5) ÷ 2 = 4.5. Q3 = 7.5th value = (12 + 14) ÷ 2 = 13.
- 3
IQR = 13 − 4.5.
Q1 = 12 and Q3 = 30. What is the IQR?
Try an exam question
The table shows 20 values: 0 < x ≤ 10 has frequency 4; 10 < x ≤ 20 has frequency 6; 20 < x ≤ 30 has frequency 10. (a) Estimate the mean. (b) Write down the modal class.
[4 marks]
- [1]Uses midpoints 5, 15 and 25.
- [1]Sum of midpoint × frequency = 20 + 90 + 250 = 360.
- [1]Mean = 360 ÷ 20 = 18.
- [1]Modal class is 20 < x ≤ 30.
That's the notes covered.
Carry on to the next subtopic.
Try a question
What is the mode of the basketball player's points scored?
1 mark, marked against the mark scheme
What is the mode of the basketball player's points scored?
1 mark, marked against the mark scheme