Statistics
Mean — Three Methods for Grouped Data
- Direct: X̄ = Σfx/Σf
- Assumed Mean: X̄ = A + Σfd/Σf (d = x−A)
- Step Deviation: X̄ = A + h(Σfu/Σf) (u = (x−A)/h)
Median: L + [(N/2 − CF)/f] × h
L = lower limit of median class. CF = cumulative frequency BEFORE median class.
Mode: L + [(f₁−f₀)/(2f₁−f₀−f₂)] × h
f₁ = freq of modal class. f₀ = before. f₂ = after.
Empirical: 3 Median = Mode + 2 Mean
Ogive: Plot upper limits vs cumulative frequencies. Find median GRAPHICALLY.
Mean of Grouped Data — Three Methods in Detail
1. Direct Method
Formula: X̄ = Σfᵢxᵢ / Σfᵢ
Example 1: Find the mean of the following data:
| Class Interval | 0-10 | 10-20 | 20-30 | 30-40 | 40-50 |
|---|---|---|---|---|---|
| Frequency | 5 | 8 | 12 | 7 | 3 |
| CI | xᵢ (midpoint) | fᵢ | fᵢxᵢ |
|---|---|---|---|
| 0-10 | 5 | 5 | 25 |
| 10-20 | 15 | 8 | 120 |
| 20-30 | 25 | 12 | 300 |
| 30-40 | 35 | 7 | 245 |
| 40-50 | 45 | 3 | 135 |
| Total | Σf = 35 | Σfx = 825 |
X̄ = 825/35 = 23.57 (approx.).
2. Assumed Mean Method
Formula: X̄ = A + Σfᵢdᵢ / Σfᵢ, where dᵢ = xᵢ − A
'This method is useful when the numbers are LARGE. Choose a middle value as the assumed mean A (usually the midpoint of the class with the highest frequency).'
Example 2: Using the same data, let A = 25 (midpoint of 20-30, the class with highest frequency).
| CI | xᵢ | fᵢ | dᵢ = xᵢ−25 | fᵢdᵢ |
|---|---|---|---|---|
| 0-10 | 5 | 5 | −20 | −100 |
| 10-20 | 15 | 8 | −10 | −80 |
| 20-30 | 25 | 12 | 0 | 0 |
| 30-40 | 35 | 7 | 10 | 70 |
| 40-50 | 45 | 3 | 20 | 60 |
| Total | 35 | Σfd = −50 |
X̄ = 25 + (−50/35) = 25 − 1.43 = 23.57 ✓.
3. Step Deviation Method
Formula: X̄ = A + h(Σfᵢuᵢ/Σfᵢ), where uᵢ = (xᵢ−A)/h and h = class width.
'Use this method when the class width is UNIFORM. It simplifies calculations dramatically.'
Example 3: Same data, A = 25, h = 10.
| CI | xᵢ | fᵢ | uᵢ = (x−25)/10 | fᵢuᵢ |
|---|---|---|---|---|
| 0-10 | 5 | 5 | −2 | −10 |
| 10-20 | 15 | 8 | −1 | −8 |
| 20-30 | 25 | 12 | 0 | 0 |
| 30-40 | 35 | 7 | 1 | 7 |
| 40-50 | 45 | 3 | 2 | 6 |
| Total | 35 | Σfu = −5 |
X̄ = 25 + 10×(−5/35) = 25 − 1.43 = 23.57 ✓.
Median of Grouped Data
Formula: Median = L + [(N/2 − CF)/f] × h
Where:
- L = lower limit of median class
- N = total frequency
- CF = cumulative frequency of the class BEFORE the median class
- f = frequency of the median class
- h = class width
Step 1: Find the median class — the class where the cumulative frequency first reaches or exceeds N/2.
Example 4: Find the median for the same data.
| CI | fᵢ | Cumulative Frequency |
|---|---|---|
| 0-10 | 5 | 5 |
| 10-20 | 8 | 13 |
| 20-30 | 12 | 25 |
| 30-40 | 7 | 32 |
| 40-50 | 3 | 35 |
| Total | 35 |
N/2 = 35/2 = 17.5. The CF first exceeding 17.5 is 25, so median class = 20-30. L = 20, CF = 13, f = 12, h = 10. Median = 20 + [(17.5 − 13)/12] × 10 = 20 + (4.5/12)×10 = 20 + 3.75 = 23.75.
Mode of Grouped Data
Formula: Mode = L + [(f₁−f₀)/(2f₁−f₀−f₂)] × h
Where:
- L = lower limit of modal class (class with highest frequency)
- f₁ = frequency of modal class
- f₀ = frequency of class BEFORE modal class
- f₂ = frequency of class AFTER modal class
- h = class width
Example 5: Find the mode for the same data. Highest frequency = 12 → modal class = 20-30. L = 20, f₁ = 12, f₀ = 8, f₂ = 7, h = 10. Mode = 20 + [(12−8)/(24−8−7)] × 10 = 20 + (4/9)×10 = 20 + 4.44 = 24.44.
Empirical Relationship
For a moderately skewed distribution: 3 Median = Mode + 2 Mean
Verification from our example: Mean = 23.57, Median = 23.75, Mode = 24.44. Mode + 2 Mean = 24.44 + 47.14 = 71.58. 3 Median = 71.25. Close (difference due to rounding): 71.58 ≈ 71.25. The relationship holds approximately.
'This formula is used to ESTIMATE one measure when the other two are known. It does NOT give exact values.'
Example 6: If mean = 25 and median = 23, find the approximate mode. 3 × 23 = Mode + 2 × 25 → 69 = Mode + 50 → Mode ≈ 19.
Cumulative Frequency Curve (Ogive)
Less Than Ogive
Plot UPPER CLASS LIMITS on x-axis and CUMULATIVE FREQUENCIES on y-axis. Join the points with a smooth curve.
Example 7: For the given data:
| CI | Upper Limit | CF (less than) |
|---|---|---|
| 0-10 | 10 | 5 |
| 10-20 | 20 | 13 |
| 20-30 | 30 | 25 |
| 30-40 | 40 | 32 |
| 40-50 | 50 | 35 |
Plot points: (10,5), (20,13), (30,25), (40,32), (50,35). A line drawn from N/2 = 17.5 to the curve and down to the x-axis gives the median ≈ 23.75.
More Than Ogive
Plot LOWER CLASS LIMITS vs 'more than' cumulative frequencies (total − CF). The median is the x-coordinate where the two ogives (less than and more than) INTERSECT.
Common Mistakes
- Wrong midpoint: Class mark = (upper limit + lower limit)/2. NOT upper − lower.
- Median class identification: The median class is where CF FIRST exceeds N/2, NOT equals N/2.
- Using the wrong cumulative frequency in median formula: CF is the cumulative frequency BEFORE the median class, NOT of the median class.
- Mode formula: wrong order of f₀ and f₂: f₀ is BEFORE the modal class, f₂ is AFTER. Getting them reversed gives a wrong answer.
- Ogive: plotting wrong limits: For 'less than ogive' plot UPPER limits. For 'more than ogive' plot LOWER limits.
AP Exam Focus
| Topic | Marks | Frequency |
|---|---|---|
| Mean (all three methods) | 4 | Very Common |
| Median of grouped data | 4 | Very Common |
| Mode of grouped data | 3-4 | Common |
| Ogive (less than / more than) | 4 | Common |
| Empirical relationship | 2-3 | Moderate |
Self-Test Questions
- Find the mean of: 10-20 (f=5), 20-30 (f=8), 30-40 (f=12), 40-50 (f=5). (Answer: midpoints 15,25,35,45. X̄ = (75+200+420+225)/30 = 920/30 = 30.67)
- Find the median for: 0-10 (f=4), 10-20 (f=6), 20-30 (f=10), 30-40 (f=8), 40-50 (f=2). (Answer: N=30, N/2=15, median class=20-30, L=20, CF=10, f=10, h=10. Median=20+(5/10)×10=25)
- Find the mode: 0-10(f=3), 10-20(f=7), 20-30(f=10), 30-40(f=5), 40-50(f=2). (Answer: modal class=20-30. Mode=20+(10-7)/(20-7-5)×10=20+3/8×10=23.75)
- If mode = 36 and mean = 30, find median using empirical formula. (Answer: 3M = 36+60 = 96 → Median = 32)
- The mean of 5 numbers is 20. If one number is removed, the mean becomes 18. Find the removed number. (Answer: Sum of 5 = 100. Sum of 4 = 72. Removed = 100−72 = 28)
- Draw a less than ogive for the data in Q2 and estimate the median.
