Example 1
Question: The table below gives the percentage distribution of male teachers in the upper-primary schools of urban areas of various districts of a state. Find the mean percentage of male teachers by all three methods.
Percentage of male teachers: 15–25, 25–35, 35–45, 45–55, 55–65, 65–75, 75–85
Number of districts: 6, 11, 7, 4, 4, 2, 1
Solution: Step 1 — Find the class midpoints \(x_i\):
For 15–25: \(x_1 = 20\)
For 25–35: \(x_2 = 30\)
For 35–45: \(x_3 = 40\)
For 45–55: \(x_4 = 50\)
For 55–65: \(x_5 = 60\)
For 65–75: \(x_6 = 70\)
For 75–85: \(x_7 = 80\)
Total number of districts: \(\sum f_i = 6 + 11 + 7 + 4 + 4 + 2 + 1 = 35\)
Method 1 — Direct Method:
Calculate \(f_i x_i\) for each class: \(6 \times 20 = 120\) \(11 \times 30 = 330\) \(7 \times 40 = 280\) \(4 \times 50 = 200\) \(4 \times 60 = 240\) \(2 \times 70 = 140\) \(1 \times 80 = 80\)
Sum: \(\sum f_i x_i = 120 + 330 + 280 + 200 + 240 + 140 + 80 = 1390\)
Direct Mean: \[\bar{x} = \dfrac{\sum f_i x_i}{\sum f_i} = \dfrac{1390}{35} = 39.71\]
Method 2 — Assumed Mean Method:
Let assumed mean \(a = 50\). Calculate \(d_i = x_i - 50\): \(d_1 = 20 - 50 = -30\) \(d_2 = 30 - 50 = -20\) \(d_3 = 40 - 50 = -10\) \(d_4 = 50 - 50 = 0\) \(d_5 = 60 - 50 = 10\) \(d_6 = 70 - 50 = 20\) \(d_7 = 80 - 50 = 30\)
Calculate \(f_i d_i\): \(6 \times (-30) = -180\) \(11 \times (-20) = -220\) \(7 \times (-10) = -70\) \(4 \times 0 = 0\) \(4 \times 10 = 40\) \(2 \times 20 = 40\) \(1 \times 30 = 30\)
Sum: \(\sum f_i d_i = -180 - 220 - 70 + 0 + 40 + 40 + 30 = -360\)
Assumed Mean Method result: \[\bar{x} = 50 + \dfrac{-360}{35} = 50 - 10.29 = 39.71\]
Method 3 — Step Deviation Method:
Let \(a = 50\) and class width \(h = 10\). Calculate \(u_i = \dfrac{x_i - 50}{10}\): \(u_1 = -3,\; u_2 = -2,\; u_3 = -1,\; u_4 = 0,\; u_5 = 1,\; u_6 = 2,\; u_7 = 3\)
Calculate \(f_i u_i\): \(6 \times (-3) = -18\) \(11 \times (-2) = -22\) \(7 \times (-1) = -7\) \(4 \times 0 = 0\) \(4 \times 1 = 4\) \(2 \times 2 = 4\) \(1 \times 3 = 3\)
Sum: \(\sum f_i u_i = -18 - 22 - 7 + 0 + 4 + 4 + 3 = -36\)
Step Deviation Method result: \[\bar{x} = 50 + 10 \times \dfrac{-36}{35} = 50 - 10.29 = 39.71\]
All three methods give the same mean.
Answer: Mean percentage of male teachers \(\approx 39.71\%\)
Example 2
Question: The table below shows the distribution of daily wages (in rupees) of workers in a small factory. Find the mean daily wage by all three methods.
Daily wages (Rs): 100–120, 120–140, 140–160, 160–180, 180–200
Number of workers: 5, 10, 15, 8, 2
Solution: Step 1 — Find the class midpoints \(x_i\):
For 100–120: \(x_1 = 110\)
For 120–140: \(x_2 = 130\)
For 140–160: \(x_3 = 150\)
For 160–180: \(x_4 = 170\)
For 180–200: \(x_5 = 190\)
Total workers: \(\sum f_i = 5 + 10 + 15 + 8 + 2 = 40\)
Method 1 — Direct Method:
Calculate \(f_i x_i\): \(5 \times 110 = 550\) \(10 \times 130 = 1300\) \(15 \times 150 = 2250\) \(8 \times 170 = 1360\) \(2 \times 190 = 380\)
Sum: \(\sum f_i x_i = 550 + 1300 + 2250 + 1360 + 380 = 5840\)
Direct Mean: \[\bar{x} = \dfrac{\sum f_i x_i}{\sum f_i} = \dfrac{5840}{40} = 146\]
Method 2 — Assumed Mean Method:
Let assumed mean \(a = 150\). Calculate \(d_i = x_i - 150\): \(d_1 = 110 - 150 = -40\) \(d_2 = 130 - 150 = -20\) \(d_3 = 150 - 150 = 0\) \(d_4 = 170 - 150 = 20\) \(d_5 = 190 - 150 = 40\)
Calculate \(f_i d_i\): \(5 \times (-40) = -200\) \(10 \times (-20) = -200\) \(15 \times 0 = 0\) \(8 \times 20 = 160\) \(2 \times 40 = 80\)
Sum: \(\sum f_i d_i = -200 - 200 + 0 + 160 + 80 = -160\)
Assumed Mean Method result: \[\bar{x} = 150 + \dfrac{-160}{40} = 150 - 4 = 146\]
Method 3 — Step Deviation Method:
Let \(a = 150\) and class width \(h = 20\). Calculate \(u_i = \dfrac{x_i - 150}{20}\): \(u_1 = -2,\; u_2 = -1,\; u_3 = 0,\; u_4 = 1,\; u_5 = 2\)
Calculate \(f_i u_i\): \(5 \times (-2) = -10\) \(10 \times (-1) = -10\) \(15 \times 0 = 0\) \(8 \times 1 = 8\) \(2 \times 2 = 4\)
Sum: \(\sum f_i u_i = -10 - 10 + 0 + 8 + 4 = -8\)
Step Deviation Method result: \[\bar{x} = 150 + 20 \times \dfrac{-8}{40} = 150 + 20 \times (-0.2) = 150 - 4 = 146\]
All three methods give the same mean.
Answer: Mean daily wage = Rs 146