24.4 Averages from frequency tables — Learn
Prerequisites: multiplication, division and the mean of a list.
Objectives: calculate the mean, median, mode and range from a frequency table where the data values are given.
A frequency table records each value and how many times it occurs. To find the mean, multiply each value by its frequency, add those products, then divide by the total frequency.
Example. The values 1, 2 and 3 have frequencies 2, 3 and 1. Find the mean and median.
Multiply values by frequencies: , , .
Add products: .
Add frequencies: .
Mean .
The cumulative frequencies are 2, 5 and 6.
The middle positions are 3 and 4. Both lie among the first five values, which are 1, 1, 2, 2, 2.
So the middle pair is 2 and 2, and the median is .
Mode because its frequency is greatest. Range .
Grouped data: estimating the mean
A grouped table gives a class, not the individual values inside it. To estimate the mean, use the midpoint of each class as a stand-in for every value in that class.
Example. The journey times are grouped.
| Time (minutes) | Midpoint | Frequency |
|---|---|---|
| to | 5 | 12 |
| to | 15 | 20 |
| to | 25 | 18 |
Multiply each midpoint by its frequency: , and . Add: . The total frequency is , so the estimated mean is minutes.
This is an estimate, not the exact mean. Every value in a class is treated as if it were at the midpoint, and the real values are spread across the class. A different grouping of the same data can give a slightly different estimate.
Progress check
The travel survey can be recorded as categories and frequencies. What would the total frequency count, and why?
You should now be able to
- calculate a mean using value times frequency;
- find the median by using cumulative counts in a frequency table;
- identify the mode and range from the values and frequencies.