The question
A clinic recorded how long, minutes, each of 50 patients waited before seeing a doctor one morning. The results are shown in the table.
| Waiting time ( minutes) | Frequency |
|---|---|
| 7 | |
| 12 | |
| 16 | |
| 10 | |
| 5 |
(a) Calculate an estimate of the mean waiting time. [4 marks]
(b) Explain why your answer to part (a) is only an estimate. [1 mark]
Cambridge IGCSE note: an estimate of the mean for grouped data is Extended content in 0580.
The common wrong answer
A common approach is to take the end of each class as the value for everyone in it, because those are the numbers written in the table. So the student multiplies each frequency by the upper boundary:
The total is , so
The method is right (add up value, then divide by the total frequency), but the value used for each class is wrong. Using the upper boundary assumes that every patient in a class waited as long as possible, for example that all 7 patients in waited the full 10 minutes. That pushes the answer up every time.
Cambridge examiner reports describe this exact slip: candidates use the interval boundaries, or the class widths, instead of the midpoints. Using the class widths here gives minutes. Another slip is dividing by 5, the number of classes, instead of 50, the number of patients, which gives an “average” wait of over four hours.
The correct working
(a) Find the midpoint of each class by adding the two boundaries and halving. For example, the midpoint of is
Then multiply each midpoint, , by its frequency, :
| Waiting time ( minutes) | Midpoint | Frequency | |
|---|---|---|---|
| Total |
Divide the total of by the total frequency:
So the estimated mean waiting time is minutes (to 3 significant figures).
(b) The table doesn’t show each patient’s actual waiting time, only the class it falls in. We assumed every patient waited the midpoint time of their class, so the answer is an estimate, not the exact mean.
Why it works
Once data is grouped, the exact times are lost. All you know is that, say, 10 patients waited somewhere between 30 and 45 minutes. Some waited nearer 30, some nearer 45. The fairest single value to represent the whole class is the one in the middle, . Some patients will be above it and some below, and these roughly cancel out.
The upper boundary is the most extreme choice in each class, so the errors all point the same way. Here it raised the estimate by minutes, almost a quarter of the true estimate.
Notice that the classes are not all the same width. The midpoints of the last two classes are and , not "" and "". Always work each midpoint out from its own boundaries rather than continuing a pattern.
How to spot it next time
- Add a midpoint column to the table before you do anything else, and use only those values in .
- Divide by the total frequency (the number of people or items), never by the number of classes.
- Sense-check: the estimated mean must lie inside the range of the data, and usually near the classes with the biggest frequencies. Here sits in , the busiest class.