(i) The total frequency gives 4+a+9+b+3=30, so a+b=14. The mean gives ∑fixi=30×28=840:
40+20a+270+40b+150=840⟹20a+40b=380⟹a+2b=19
Subtracting a+b=14 gives b=5, and then a=9.
(ii) The cumulative frequencies are 4,13,22,27,30. With N=30, the median is the mean of the 15th and 16th marks. Both lie in the group with c.f. 22, so the median is 30.
(iii)
| xi | fi | ∣xi−30∣ | fi∣xi−30∣ | ∣xi−28∣ | fi∣xi−28∣ |
|---|
| 10 | 4 | 20 | 80 | 18 | 72 |
| 20 | 9 | 10 | 90 | 8 | 72 |
| 30 | 9 | 0 | 0 | 2 | 18 |
| 40 | 5 | 10 | 50 | 12 | 60 |
| 50 | 3 | 20 | 60 | 22 | 66 |
| Total | 30 | | 280 | | 288 |
M.D.(M)=30280=328≈9.33,M.D.(xˉ)=30288=9.6
The mean deviation about the median is smaller, as it must be: the sum of absolute deviations is least about the median.