Mean x̄ = Σfᵢxᵢ ÷ Σfᵢ. For grouped data, xᵢ is the class mark: class mark = (lower limit + upper limit) ÷ 2.
| Score (x) | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|
| Students (f) | 2 | 3 | 5 | 4 | 4 | 2 |
Direct method for the mean of grouped data
- Find class marks xᵢ = (lower + upper) ÷ 2 for each class
- Multiply fᵢ × xᵢ for each class
- Add the columns Find Σfᵢ and Σfᵢxᵢ
- Divide x̄ = Σfᵢxᵢ ÷ Σfᵢ
| Time (minutes) | 0-20 | 20-40 | 40-60 | 60-80 | 80-100 |
|---|---|---|---|---|---|
| Number of students | 4 | 10 | 14 | 8 | 4 |
| Class | f | Class mark x | fx |
|---|---|---|---|
| 0-20 | 4 | 10 | 40 |
| 20-40 | 10 | 30 | 300 |
| 40-60 | 14 | 50 | 700 |
| 60-80 | 8 | 70 | 560 |
| 80-100 | 4 | 90 | 360 |
| Total | 40 | 1960 |
Key takeaways: the class mark represents a whole class; the direct method is Σfx ÷ Σf; a value equal to a shared limit goes into the class that starts with it; always add a total row and check that your mean lies within the classes.