Family sizes of the students in a class:
| Family size | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|
| Frequency | 3 | 11 | 9 | 7 | 3 | 1 | 1 | 1 |
A tempting mistake: (3 + 4 + … + 10) ÷ 8 = 6.5. This treats each size as if one student had it. But size 4 appears 11 times!
Mean: multiply each value by its frequency, add, and divide by the total number of students.
(3×3) + (4×11) + (5×9) + (6×7) + (7×3) + (8×1) + (9×1) + (10×1) = 188 Students: 3 + 11 + 9 + 7 + 3 + 1 + 1 + 1 = 36 Mean = 188 ÷ 36 ≈ 5.22
Median: with 36 values, it is the average of the 18th and 19th. Keep a running total of the frequencies instead of writing all 36 numbers:
- sizes 3 to 4 cover positions 1 to 14
- size 5 covers positions 15 to 23
Both the 18th and 19th values are 5, so the median is 5.
More practice from the exercises. Cycle rides in a week by 42 students (3 rode 0 times, 1 once, 4 twice, 7 three times, 7 four times, 5 five times, 4 six times, 6 seven times, 3 eight times, 2 ten times): total 193, mean ≈ 4.6, median 4. 'Everyone cycled at least once' is not valid (3 rode 0 times), but the 5 students who rode 8 or 10 times must have ridden more than once on some day. If everyone rides once more next week, mean and median both go up by 1 (about 5.6 and 5).
Dart throws (1 student 1 throw, 1 took 4, 4 took 5, 9 took 6, 12 took 7, 15 took 8, 10 took 9, 10 took 10): minimum 1, maximum 10, mean 473 ÷ 62 ≈ 7.63, median 8.
Tap the diagram to enlarge it
- Multiply value by frequency
- Divide by total frequency
- Running totals locate the median