Lesson 5.1 · 25 min
The Mean and Range from Grouped Data
Using midpoints to estimate the mean of a grouped frequency table, and estimating the range from the class boundaries.
In this lesson you will learn to…
- Find the midpoint of a class interval
- Estimate the mean from a grouped frequency table using
- Estimate the range from the first and last class boundaries
- Explain why these values are only estimates
Why this matters
Large data sets — the heights of every Year 9 student in a country, the waiting times at a hospital — are almost always published in groups. You rarely see the raw data. Knowing how to get a good estimate of the mean from a table is how researchers and journalists make sense of those figures.
Setting out the table
Add two columns to the frequency table — one for the midpoint and one for :
| Height (, cm) | Frequency, | Midpoint, | |
|---|---|---|---|
| 1 | 142.5 | 142.5 | |
| 3 | 147.5 | 442.5 | |
| 11 | 152.5 | 1677.5 | |
| 7 | 157.5 | 1102.5 | |
| 2 | 162.5 | 325 | |
| 0 | 167.5 | 0 | |
| 1 | 172.5 | 172.5 | |
| Total | 25 | 3862.5 |
The Greek letter (sigma) just means “add them all up”.
A quick sanity check
The mean must lie inside the range of the data, and it is usually near the classes with the biggest frequencies. For 40 oranges with masses between 120 g and 145 g, a mean of 115 g or 145 g is impossible — the first is below every orange, and the second would need every orange to be at the very top of the last class.
Common slip. Dividing by the number of classes instead of the total frequency. There are 7 classes above, but 25 children.
Key rules and formulas
Midpoint of a class
For the midpoint is .Estimated mean
Multiply each midpoint by its frequency , add up the results (), then divide by the total frequency ().Estimated range
This gives the largest the range could possibly be.Why only an estimate?
Once data is grouped, the exact values are lost. Using the midpoint assumes every value in a class sits in the middle of it — which is almost never exactly true.
Grouped data explorer
- Total frequency, Σf
- 30
- Σfx (midpoint × frequency)
- 960
- Estimated mean = Σfx ÷ Σf
- 32
- Modal class
- 30 ≤ x < 40
- Median class (value number 15.5)
- 30 ≤ x < 40
- Estimated range
- 40
These are the heights of 30 plants from the first worked example. Drag a slider to change a frequency and watch the estimated mean move towards the bigger bars.
Worked examples
Estimating a mean
Try it yourself first, then reveal the solution one step at a time.
Estimating the range
Try it yourself first, then reveal the solution one step at a time.
Practice: mean and range from grouped data
9 questions
Question 1 of 9Quick-fire drill Quick-fire: the midpoint of each class.8 questions · 60 seconds · answer as many as you can.
Question 2 of 9Complete the tableFoundation Complete the table for the heights of 30 plants.Height (h, cm) Frequency, f Midpoint, x f × x 10 ≤ h < 20 4 20 ≤ h < 30 8 30 ≤ h < 40 11 40 ≤ h < 50 7 Total 30 Question 3 of 9Step by step Estimate the mean one step at a time.The masses of 40 oranges: : 5, : 16, : 13, : 4, : 2.- What is the midpoint of the class ?
Question 4 of 9Type the answer Students' distances from school: : 10, : 15, : 7, : 2, : 1. Estimate the mean distance, to 2 decimal places.kmQuestion 5 of 9Type the answer For the same students, estimate the range of distances.kmQuestion 6 of 9Multiple choice The masses of 40 oranges all lie between 120 g and 145 g. Sarah thinks the mean is about 115 g and Freddie thinks it is over 140 g. Why are both wrong?Question 7 of 9Choose all that apply Why are the mean and range from a grouped table only estimates? Select all that apply.Select every correct answer — there may be more than one.
Question 8 of 9Type the answerChallenge A village census: ages –: 92, –: 88, –: 85, –: 68, –: 55, –: 52, –: 42, –: 18 (each class includes its lower boundary). Estimate the mean age.yearsQuestion 9 of 9Explore and match The first three classes of the plant data are shown. The last class, , should make the total frequency 30. Set it correctly.Move the controls until you match the question, then press Check.
- Total frequency, Σf
- 23
- Σfx (midpoint × frequency)
- 645
- Estimated mean = Σfx ÷ Σf
- 28.04
- Modal class
- 30 ≤ x < 40
- Median class (value number 12)
- 20 ≤ x < 30
- Estimated range
- 40