- Practice
- About 16 min
- 5 practice questions
Step-deviation method for the mean of grouped data
Find the mean of a grouped frequency distribution with class marks and the step-deviation formula, including classes written in the inclusive form.
If something looks wrong, please tell us.
Grouped data, with classes such as 100-120 and 120-140, are standard in exams on mean, median and mode. Using class marks with the direct method works, but the class marks (110, 130, 150 …) multiplied by frequencies give large numbers. When all classes have the same width, the step-deviation method divides the deviations by that width, so they become tiny whole numbers such as −2, −1, 0, 1 and 2.
The formula
Let x be the class marks, A an assumed mean chosen from the class marks, and h the common class width. Define u = (x − A) ÷ h. Then mean = A + h × (Σfu ÷ Σf). This is the assumed-mean method of the previous lesson with one extra step: shrink the deviations by h, work with them, then multiply by h again.
- Write the class marks x = (lower limit + upper limit) ÷ 2.
- Choose A, a middle class mark, and note h, the class width.
- Compute u = (x − A) ÷ h for each class. With equal widths these are …, −2, −1, 0, 1, 2, ….
- Compute fu, then Σfu and Σf.
- Mean = A + h × Σfu ÷ Σf.
Worked example 1: daily wages
The daily wages of 40 workers are given below. Find the mean wage.
| Wage (₹) | Workers (f) | Class mark x | u = (x − 150) ÷ 20 | fu |
|---|---|---|---|---|
| 100-120 | 5 | 110 | −2 | −10 |
| 120-140 | 9 | 130 | −1 | −9 |
| 140-160 | 12 | 150 | 0 | 0 |
| 160-180 | 8 | 170 | 1 | 8 |
| 180-200 | 6 | 190 | 2 | 12 |
| Total | 40 | 1 |
Working: A = 150, h = 20, Σfu = −10 − 9 + 0 + 8 + 12 = 1 and Σf = 40. Mean = 150 + 20 × (1 ÷ 40) = 150 + 0.5 = ₹150.50. The direct method gives Σfx = 6,020 and 6,020 ÷ 40 = 150.5, the same answer.
Worked example 2: marks in a test
Marks of 50 students: 0-10: 6, 10-20: 10, 20-30: 14, 30-40: 12, 40-50: 8. Working: class marks are 5, 15, 25, 35, 45; take A = 25 and h = 10, so u = −2, −1, 0, 1, 2. fu = −12, −10, 0, 12, 16, giving Σfu = 6. Mean = 25 + 10 × (6 ÷ 50) = 25 + 1.2 = 26.2 marks.
Classes written in the inclusive form
Classes such as 20-29, 30-39, 40-49 do not touch: there is a gap of 1 between 29 and 30. The class mark is still the middle of the stated limits: (20 + 29) ÷ 2 = 24.5, then 34.5, 44.5 and so on. The width h is the gap between successive class marks, which is 10 here, not 9. The step-deviation method then works as usual.
Common traps
- Not multiplying back by h. If A = 200, h = 50, Σfu = 8 and Σf = 40, the mean is 200 + 50 × 0.2 = 210, not 200.2.
- Using a class limit for A. A must be a class mark (a middle value), otherwise u will not be whole numbers.
- Unequal widths. If class widths differ, u is no longer a whole number; use the plain assumed-mean method with d = x − A instead.
- Checking sense. The mean must lie inside the overall range of the classes, and it lies near the class with the most observations.
Step deviation: u = (x − A) ÷ h, mean = A + h × Σfu ÷ Σf. Class mark = (lower limit + upper limit) ÷ 2.
Key takeaways: for grouped data with equal widths, the step-deviation method turns every calculation into small whole numbers. Remember both shifts: divide by h going in, multiply by h coming out, and add A at the end.
Check your understanding
-
1. What is the class mark of the class 150-170?
- 150
- 170
- 160
- 20
Show answer
Answer: C. Class mark = (150 + 170) ÷ 2 = 320 ÷ 2 = 160.
-
2. With A = 45, h = 10, Σfu = −12 and Σf = 60, what is the mean?
- 43
- 47
- 44.8
- 33
Show answer
Answer: A. Mean = A + h × Σfu ÷ Σf = 45 + 10 × (−12 ÷ 60) = 45 − 2 = 43.
-
3. Classes 10-20, 20-30, 30-40, 40-50 and 50-60 have frequencies 2, 6, 10, 8 and 4. What is the mean?
- 35
- 37
- 36
- 38
Show answer
Answer: B. Class marks 15, 25, 35, 45, 55; A = 35, h = 10, u = −2, −1, 0, 1, 2. fu = −4, −6, 0, 8, 8, so Σfu = 6. Σf = 30. Mean = 35 + 10 × 6 ÷ 30 = 35 + 2 = 37.
-
4. A student uses A = 200, h = 50 and gets Σfu = 8 with Σf = 40. What is the correct mean?
- 200.2
- 208
- 250
- 210
Show answer
Answer: D. Mean = 200 + 50 × (8 ÷ 40) = 200 + 50 × 0.2 = 200 + 10 = 210. Forgetting to multiply by h gives 200.2.
-
5. For the inclusive classes 30-39, 40-49 and 50-59, what are the class mark of 40-49 and the class width?
- 45 and 9
- 44.5 and 9
- 45 and 10
- 44.5 and 10
Show answer
Answer: D. Class mark = (40 + 49) ÷ 2 = 44.5. The class marks go 34.5, 44.5, 54.5, so the width is 10, not 9.
Sign in to keep track of the lessons you finish.