Mean of grouped data
- Class mark xᵢ = (upper + lower)/2.
- Direct: x̄ = Σfᵢxᵢ / Σfᵢ
- Assumed mean: dᵢ = xᵢ − a, x̄ = a + Σfᵢdᵢ / Σfᵢ
- Step-deviation: uᵢ = (xᵢ − a)/h, x̄ = a + h × Σfᵢuᵢ / Σfᵢ
- All three give the same answer.
Mode
Modal class = highest frequency. Mode = l + [(f₁ − f₀)/(2f₁ − f₀ − f₂)] × h
Cumulative frequency and median
- cf = running total. Less than type (upper limits), more than or equal to type (lower limits).
- Median class: first cf greater than n/2.
- Median = l + [(n/2 − cf)/f] × h (cf of the class before).
- Make classes continuous first.
Choosing
Mean: all values, comparisons. Median: extreme values, typical value. Mode: most popular. 3 Median = Mode + 2 Mean.
Common mistakes
- Using the modal class's cf instead of the previous class's cf.
- Mixing up f₀ and f₂.
- Forgetting to add a back in the assumed mean method.