Calculate the standard deviation for the following data giving the age distribution of persons.
Question 163 marksMedium
Calculate the standard deviation for the following data giving the age distribution of persons.
Age in years
20–30
30–40
40–50
50–60
60–70
70–80
80–90
No. of persons
3
61
132
153
140
51
2
Calculate the mean of these differences and their standard deviation.
Solution:
Key idea: The book's step-deviation method, used when the class marks are equally spaced: choose an assumed mean A (a central class mark), let i be the common class width, put u=ix−A, and then
σ=iNΣfu2−(NΣfu)2
with N=Σf and the mean xˉ=A+i×NΣfu. For a class, x is its class mark (mid-point). The standard deviation divides by N, as the book defines it.
Step 1 — Read the question. Age is a continuous variable, so each class is represented by its class mark. The last sentence of the question asks for the mean and the standard deviation; we read "these differences" as the ages in the table, so we find both the mean age and the standard deviation.
Step 2 — Tabulate the step deviations. The class marks 25,35,…,85 are 10 apart, so we take A=55, i=10 and u=10x−55:
Age in years
x
f
u=10x−55
fu
fu2
20 – 30
25
3
−3
−9
27
30 – 40
35
61
−2
−122
244
40 – 50
45
132
−1
−132
132
50 – 60
55
153
0
0
0
60 – 70
65
140
1
140
140
70 – 80
75
51
2
102
204
80 – 90
85
2
3
6
18
Total
542
−15
765
Step 3 — Find the mean. We use the totals N=542 and Σfu=−15:
xˉ=A+i×NΣfu=55+10×542−15=27114830xˉ≈54.72
Step 4 — Find the standard deviation. We use Σfu2=765 in the step-deviation formula:
Note: The exact value is σ=11.877… years, which rounds to 11.88 years correct to two decimal places. The printed answer 11.87 is this value cut off after two decimal places instead of rounded, so the correctly rounded value is 11.88 years.
Therefore, the mean age is about 54.72 years and the standard deviation is about 11.88 years.