Grouped data: estimated mean, median and histograms
When data come in classes (0–10, 10–20, …) the exact values are lost, so we estimate. Each class is represented by its midpoint for the mean, and the median is found inside its class by assuming the values are spread evenly.
Key ideas
Estimated mean = Σ(midpoint × frequency) ÷ Σfrequency.
Median class: the class holding the (n/2)-th value; interpolate within it.
Values above a boundary inside a class: take the matching fraction of that class.
Histogram: frequency density = frequency ÷ class width, so frequency = density × width.
Watch out: In a histogram with unequal widths, the area of a bar, not its height, is the frequency.
Practise this step
5 questions from this step only, in 8 minutes: new numbers and
stories every time, of exactly the types worked out below. Marked at the end, with every question
worked out.
4 types of question. Try each one yourself before you open
the hint or the solution.
Example 1 · level 8
A survey asked students how many minutes they spent on homework last night. The classes have the boundaries 10, 15, 20, 25, 30 and 35 minutes, and the numbers of students in the classes are 12, 12, 18, 3 and 5, in order. Estimate the mean time.
Hint
Use the middle of each class for everyone in it.
Worked solution
Middles of the classes: 12.5, 17.5, 22.5, 27.5 and 32.5
Each middle times its count, added up: 1010 minutes for 12 + 12 + 18 + 3 + 5 = 50 students
Mean: 1010/50 = 20.2
Answer: 20.2 minutes
Example 2 · level 9
A gym recorded how long its members trained on one day, in classes with the boundaries 20, 30, 40, 50, 60 and 70 minutes. The numbers of members in the classes were 11, 28, 29, 24 and 27, in order. Estimate how many trained for more than 55 minutes, assuming the times in each class are spread evenly.
Hint
Count the classes above 55 in full, and a share of the class that 55 falls in.
Worked solution
55 falls in the class from 50 to 60; 60 − 55 = 5 of its 10 minutes are above 55
Share of that class: 24 × 5/10 = 12, and the classes above hold 27
Estimate: 12 + 27 = 39
Answer: 39 members
Example 3 · level 9
The masses of the apples picked from a tree were grouped in classes with the boundaries 10, 15, 20, 25, 30 and 35 grams. The numbers of apples in the classes were 13, 4, 10, 4 and 13, in order. Estimate the median mass, assuming the apples in each class are spread evenly across it.
Hint
Find the class where the middle apple falls, and how far into that class it is.
Worked solution
13 + 4 + 10 + 4 + 13 = 44 apples: the median is at 22, which falls in the class from 20 to 25 with 17 apples below it
It is 22 − 17 = 5 apples into that class of 10
Median: 20 + (5/10 × 5) = 22.5 g
Answer: 22.5 g
Example 4 · level 9
A histogram shows the ages of the trees in a wood, in classes with the boundaries 0, 30, 40, 110 and 130 years. The classes are not all the same width, so the area of each bar stands for the number of trees. The bars are 14, 13.5, 7.5 and 14 cm tall, in order, and the first bar stands for 672 trees. How many trees are there in all?
Hint
Bar area is height times class width. The first bar tells you how many trees one unit of area stands for.
Worked solution
First bar: 14 × 30 = 420 units of area for 672 trees, so 672/420 = 1.6 trees per unit
All bars: each height times its width, added up, is 1360 units
Trees: 1360 × 1.6 = 2176
Answer: 2176 trees
Ready for the quiz?
Check yourself on this step: 5 questions, 8 minutes.