When xᵢ are large, products get messy. Pick an assumed mean a (usually a class mark near the middle) and work with deviations dᵢ = xᵢ − a:
📌
x̄ = a + Σfᵢdᵢ / Σfᵢ
Same marks data, a = 47.5:
| xᵢ | 17.5 | 32.5 | 47.5 | 62.5 | 77.5 | 92.5 |
|---|---|---|---|---|---|---|
| dᵢ | −30 | −15 | 0 | 15 | 30 | 45 |
| fᵢdᵢ | −60 | −45 | 0 | 90 | 180 | 270 |
Σfᵢdᵢ = 435, so x̄ = 47.5 + 435/30 = 47.5 + 14.5 = 62. Same answer as before.
✏️
Why it works: subtracting a from every value lowers the mean by exactly a, so we add a back at the end.
Tap the diagram to enlarge it
📌 Remember these
- dᵢ = xᵢ − a
- Pick a near the middle
- Add a back at the end