Expresswala Academy Mathematics Tuition

Statistics

Mean of Grouped Data Class 10: Three Methods Explained

Find the mean of grouped data by the direct, assumed mean and step-deviation methods, see why all three agree, solve missing-frequency problems and learn which method to pick in the Class 10 exam.

By 9 min read

The mean is the every­day "aver­age": add up all the val­ues and divide by how many there are. When data comes as a fre­quency table with class inter­vals, such as marks, wages or heights grouped into ranges, we no longer know each sep­a­rate value, so we need a way to esti­mate the mean from the table. This les­son cov­ers the three meth­ods used in Class 10: the direct method, the assumed mean method and the step-devi­a­tion method. All three give the same answer, and choos­ing well saves you a lot of arith­metic in the exam.

Grouped data and the class mark

What grouped data looks like

In a grouped fre­quency dis­tri­b­u­tion, each row gives a class inter­val such as 20–30 and a fre­quency ff, the num­ber of obser­va­tions that fall in that inter­val. The total of all fre­quen­cies is writ­ten ∑fi\displaystyle \sum f_i or nn. With the usual con­ven­tion, a value on a bound­ary (for exam­ple 30) is counted in the class that starts with it (30–40), not the one that ends with it.

The class mark

Because we do not know exactly where each obser­va­tion lies inside its class, we assume that every obser­va­tion in a class sits at the mid­dle of the class. That mid­dle value is called the class mark (or mid-point):

xi=lower limit+upper limit2\displaystyle x_i = \dfrac{\text{lower limit} + \text{upper limit}}{2}

For the class 20–30 the class mark is 20+302=25\displaystyle \frac{20 + 30}{2} = 25. The class size (or width) is h=upper limit−lower limith = \text{upper limit} - \text{lower limit}, so here h=10h = 10. This "cen­tre" assump­tion is why the mean of grouped data is an esti­mate; it is usu­ally very close to the true mean.

The three for­mu­las

Direct method

Treat each class mark xix_i as if it occurred fif_i times. Then the total of all obser­va­tions is about ∑fixi\displaystyle \sum f_i x_i, and

xˉ=∑fixi∑fi\displaystyle \bar{x} = \dfrac{\sum f_i x_i}{\sum f_i}

Assumed mean method

Choose a con­ve­nient value aa, usu­ally a class mark near the mid­dle of the table, and find the devi­a­tions di=xi−ad_i = x_i - a. Then

xˉ=a+∑fidi∑fi\displaystyle \bar{x} = a + \dfrac{\sum f_i d_i}{\sum f_i}

Step-devi­a­tion method

When all the classes have the same width hh, every devi­a­tion did_i is a mul­ti­ple of hh. Divide by hh to get small whole num­bers ui=xi−ah\displaystyle u_i = \frac{x_i - a}{h}. Then

xˉ=a+h×∑fiui∑fi\displaystyle \bar{x} = a + h \times \dfrac{\sum f_i u_i}{\sum f_i}

Why the three for­mu­las agree

Write n=∑fi\displaystyle n = \sum f_i. Since di=xi−ad_i = x_i - a,

∑fidi=∑fi(xi−a)=∑fixi−a∑fi=∑fixi−an∑fidin=∑fixin−aa+∑fidin=∑fixin\displaystyle \begin{aligned} \sum f_i d_i &= \sum f_i (x_i - a) = \sum f_i x_i - a \sum f_i = \sum f_i x_i - a n \\ \dfrac{\sum f_i d_i}{n} &= \dfrac{\sum f_i x_i}{n} - a \\ a + \dfrac{\sum f_i d_i}{n} &= \dfrac{\sum f_i x_i}{n} \end{aligned}

So the assumed mean for­mula is exactly the direct for­mula, what­ever value of aa you choose. Next, di=huid_i = h u_i, so ∑fidi=h∑fiui\displaystyle \sum f_i d_i = h \sum f_i u_i, and sub­sti­tut­ing gives the step-devi­a­tion for­mula. The meth­ods dif­fer only in the size of the num­bers you mul­ti­ply, never in the answer.

Number line with class marks 15, 25, 35, 45, 55, 65; assumed mean a = 45 highlighted; below each, d = -30 to 20 and u = -3 to 2; arrow shows h = 10
With a=45a = 45 and h=10h = 10, the class marks turn into devi­a­tions dd and then into the small num­bers uu.

Method in steps

  1. Write the class marks xix_i in a new col­umn.
  2. Decide on the method. If the xix_i are small, use the direct method. If they are large, pick an assumed mean aa from the mid­dle of the xix_i col­umn.
  3. For the assumed mean method, fill the col­umn di=xi−ad_i = x_i - a. For step devi­a­tion, also divide by the com­mon width hh to get uiu_i.
  4. Mul­ti­ply across to fill the fixif_i x_i, fidif_i d_i or fiuif_i u_i col­umn, keep­ing the signs.
  5. Add the fif_i col­umn and the prod­uct col­umn.
  6. Sub­sti­tute in the for­mula and sim­plify. State the answer with its units.

Worked exam­ples

Exam­ple 1: one table, three meth­ods

The marks of 50 stu­dents in a class test (our own data) are grouped below. Find the mean by all three meth­ods.

Marksfif_ixix_ifixif_i x_idi=xi−45d_i = x_i - 45fidif_i d_iuiu_ifiuif_i u_i
10–2041560−30−120−3−12
20–30825200−20−160−2−16
30–401235420−10−120−1−12
40–5014456300000
50–60755385107017
60–7056532520100210
Total502020−230−23

Direct method:

xˉ=∑fixi∑fi=202050=40.4\displaystyle \bar{x} = \dfrac{\sum f_i x_i}{\sum f_i} = \dfrac{2020}{50} = 40.4

Assumed mean method with a=45a = 45:

xˉ=45+−23050=45−4.6=40.4\displaystyle \bar{x} = 45 + \dfrac{-230}{50} = 45 - 4.6 = 40.4

Step-devi­a­tion method with a=45a = 45, h=10h = 10:

xˉ=45+10×−2350=45−4.6=40.4\displaystyle \bar{x} = 45 + 10 \times \dfrac{-23}{50} = 45 - 4.6 = 40.4

All three give a mean of 40.4 marks. Notice how much smaller the num­bers are in the last col­umn.

Histogram of our example marks data, classes 10-20 to 60-70 with frequencies 4, 8, 12, 14, 7, 5, class marks labelled, dashed line at mean 40.4
Exam­ple 1 data as a his­togram. The dots are the class marks; the mean 40.4 sits near the cen­tre of the heap.

Exam­ple 2: large val­ues, step devi­a­tion

The daily wages of 50 work­ers at a site (our own data) are shown. Find the mean daily wage.

Wage (₹)fif_ixix_iui=xi−52550\displaystyle u_i = \frac{x_i - 525}{50}fiuif_i u_i
400–4505425−2−10
450–50012475−1−12
500–5501852500
550–60010575110
600–6505625210
Total50−2

xˉ=a+h×∑fiui∑fi=525+50×−250=525−2=523\displaystyle \bar{x} = a + h \times \dfrac{\sum f_i u_i}{\sum f_i} = 525 + 50 \times \dfrac{-2}{50} = 525 - 2 = 523

The mean daily wage is ₹523. The direct method would have needed prod­ucts like 18×52518 \times 525; step devi­a­tion avoided them entirely.

Exam­ple 3: one miss­ing fre­quency

The mean of the dis­tri­b­u­tion below is 52.4. Find the miss­ing fre­quency pp.

Class0–2020–4040–6060–8080–100
Fre­quency610pp128

The class marks are 10, 30, 50, 70 and 90. So

∑fi=6+10+p+12+8=36+p∑fixi=60+300+50p+840+720=1920+50p\displaystyle \begin{aligned} \sum f_i &= 6 + 10 + p + 12 + 8 = 36 + p \\ \sum f_i x_i &= 60 + 300 + 50p + 840 + 720 = 1920 + 50p \end{aligned}

Using the direct for­mula,

1920+50p36+p=52.41920+50p=1886.4+52.4p33.6=2.4pp=14\displaystyle \begin{aligned} \dfrac{1920 + 50p}{36 + p} &= 52.4 \\ 1920 + 50p &= 1886.4 + 52.4p \\ 33.6 &= 2.4p \\ p &= 14 \end{aligned}

Check: with p=14p = 14, ∑fi=50\displaystyle \sum f_i = 50 and ∑fixi=2620\displaystyle \sum f_i x_i = 2620, and 262050=52.4\displaystyle \frac{2620}{50} = 52.4. So p=14p = 14.

Exam­ple 4: two miss­ing fre­quen­cies

The dis­tri­b­u­tion below has 40 obser­va­tions and a mean of 24. Find f1f_1 and f2f_2.

Class0–1010–2020–3030–4040–50
Fre­quency5f1f_110f2f_27

From the total: 5+f1+10+f2+7=405 + f_1 + 10 + f_2 + 7 = 40, so f1+f2=18f_1 + f_2 = 18.

From the mean, with class marks 5, 15, 25, 35, 45:

25+15f1+250+35f2+315=24×40590+15f1+35f2=96015f1+35f2=3703f1+7f2=74\begin{aligned} 25 + 15f_1 + 250 + 35f_2 + 315 &= 24 \times 40 \\ 590 + 15f_1 + 35f_2 &= 960 \\ 15f_1 + 35f_2 &= 370 \\ 3f_1 + 7f_2 &= 74 \end{aligned}

Put f1=18−f2f_1 = 18 - f_2:

3(18−f2)+7f2=74  ⟹  54+4f2=74  ⟹  f2=53(18 - f_2) + 7f_2 = 74 \implies 54 + 4f_2 = 74 \implies f_2 = 5

so f1=13f_1 = 13. Check: ∑fixi=25+195+250+175+315=960\displaystyle \sum f_i x_i = 25 + 195 + 250 + 175 + 315 = 960 and 96040=24\displaystyle \frac{960}{40} = 24. So f1=13f_1 = 13, f2=5f_2 = 5.

Which method should I use?

  • Direct method: when the class marks and fre­quen­cies are small, or when a ques­tion asks you to find a miss­ing fre­quency (the alge­bra is sim­plest here).
  • Assumed mean method: when the class marks are large, or the class widths are not all equal.
  • Step-devi­a­tion method: when the class marks are large and all classes have the same width. It gives the small­est num­bers and the fewest slips.
  • If a ques­tion names a method, you must use that method, even if another is quicker.

Com­mon mis­takes

  • Mul­ti­ply­ing the fre­quency by the lower limit instead of the class mark.
  • For­get­ting the neg­a­tive signs in the did_i and uiu_i columns, or adding them as pos­i­tives.
  • Using step devi­a­tion when class widths are unequal; then uiu_i are not whole num­bers and the short­cut fails.
  • Divid­ing by the num­ber of classes instead of by ∑fi\displaystyle \sum f_i.
  • In step devi­a­tion, for­get­ting to mul­ti­ply by hh at the end: a+∑fiui∑fi\displaystyle a + \frac{\sum f_i u_i}{\sum f_i} is wrong.
  • Not check­ing that the final mean lies inside the range of the data. A mean of 4.04 for Exam­ple 1 would be an obvi­ous error.

Try these

  1. Find the mean of: classes 0–10, 10–20, 20–30, 30–40 with fre­quen­cies 3, 5, 8, 4. Answer: 21.5
  2. Find the mean by step devi­a­tion: classes 100–120, 120–140, 140–160, 160–180, 180–200 with fre­quen­cies 4, 6, 10, 6, 4. Answer: 150
  3. The mean of classes 10–20, 20–30, 30–40, 40–50 with fre­quen­cies 2, kk, 6, 4 is 32.5. Find kk. Answer: k=4k = 4
  4. Find the mean of: classes 5–15, 15–25, 25–35, 35–45, 45–55 with fre­quen­cies 6, 11, 15, 12, 6. Answer: 30.2
  5. Rework Exam­ple 3 with p=14p = 14 by the step-devi­a­tion method using a=50a = 50, h=20h = 20. Answer: 52.4

Key terms

Class inter­val
A range of val­ues, such as 20–30, into which obser­va­tions are grouped.
Fre­quency
The num­ber of obser­va­tions falling in a class inter­val.
Class mark
The mid-point of a class, found by halv­ing the sum of its lower and upper lim­its.
Class size
The width hh of a class, the dif­fer­ence between its upper and lower lim­its.
Assumed mean
A con­ve­nient value aa, usu­ally a cen­tral class mark, from which devi­a­tions are mea­sured.
Devi­a­tion
The dif­fer­ence di=xi−ad_i = x_i - a between a class mark and the assumed mean.
Step devi­a­tion
The devi­a­tion divided by the class size, ui=xi−ah\displaystyle u_i = \frac{x_i - a}{h}.
Arith­metic mean
The sum of all obser­va­tions divided by their num­ber; for grouped data, ∑fixi∑fi\displaystyle \frac{\sum f_i x_i}{\sum f_i}.

Com­mon ques­tions

Does the choice of assumed mean change the answer?

No. The proof above shows that aa can­cels out, so any value gives the same mean. A cen­tral class mark sim­ply keeps the num­bers small.

Why is the mean of grouped data only an esti­mate?

Because each obser­va­tion is replaced by its class mark. The real val­ues inside a class may lean towards one end, so the true mean can dif­fer slightly from the grouped mean.

Can the assumed mean be a value that is not a class mark?

Yes, the for­mula works for any aa. But if aa is not a class mark, the uiu_i will not be whole num­bers, so a class mark is the sen­si­ble choice.

What if the classes are 10–19, 20–29 and so on?

For the mean, the class mark is still the aver­age of the lim­its, for exam­ple 10+192=14.5\displaystyle \frac{10 + 19}{2} = 14.5. You may con­vert to con­tin­u­ous classes first; the class marks do not change.

Which method is safest in an exam?

Step devi­a­tion for equal widths and large val­ues, because it has the fewest large prod­ucts. Always add a quick check that the mean lies near the tallest classes.

Ref­er­ences

  1. National Coun­cil of Edu­ca­tional Research and Train­ing. Math­e­mat­ics: Text­book for Class X. NCERT, New Delhi.
  2. Sharma, R. D. Math­e­mat­ics for Class 10. Dhan­pat Rai Pub­li­ca­tions.
  3. Aggar­wal, R. S. Sec­ondary School Math­e­mat­ics for Class 10. Bharati Bhawan.