Concepts used — mean (assumed-mean method) and median of grouped data
With an assumed mean A and deviations di=xi−A:
xˉ=A+∑fi∑fidi
For the median, the median class is the class whose cumulative frequency is the first one greater than 2N, and
Median=l+(f2N−cf)×h
where l = lower limit of the median class, cf = cumulative frequency of the class before it, f = its frequency and h = class size.
Step 1 — Find x from the total of 200 families.
24+40+33+x+30+22+16+7=200
172+x=200⇒x=28
Step 2 — Working table (class size h=500, assumed mean A=2750).
| Expenditure (in ₹) | fi | Cumulative frequency | xi | di=xi−2750 | fidi |
|---|
| 1000 – 1500 | 24 | 24 | 1250 | −1500 | −36000 |
| 1500 – 2000 | 40 | 64 | 1750 | −1000 | −40000 |
| 2000 – 2500 | 33 | 97 | 2250 | −500 | −16500 |
| 2500 – 3000 | 28 | 125 | 2750 | 0 | 0 |
| 3000 – 3500 | 30 | 155 | 3250 | 500 | 15000 |
| 3500 – 4000 | 22 | 177 | 3750 | 1000 | 22000 |
| 4000 – 4500 | 16 | 193 | 4250 | 1500 | 24000 |
| 4500 – 5000 | 7 | 200 | 4750 | 2000 | 14000 |
| Total | 200 | | | | −17500 |
Step 3 — Mean.
∑fidi=−92500+75000=−17500
xˉ=2750+200−17500=2750−87.5=2662.5
Step 4 — Median class.
N=200,2N=100
The cumulative frequency 97 is below 100; the next one, 125, is the first above 100. So the median class is 2500–3000, with
l=2500,h=500,f=28,cf=97
Step 5 — Median.
Median=2500+(28100−97)×500
=2500+281500=2500+53.57=2553.57
Answer: x=28; the median expenditure is about ₹ 2553.57 and the mean expenditure is ₹ 2662.50.