Calculate the median for the following data:
Age(in years)19-2526−3233−3940−4647−5354−60Frequency359668102354
The given series is of inclusive form. Converting it into exclusive form and preparing the cumulative frequency table, we get
ClassFrequency(fi)C.F18.5−25.5353525.5−32.596131 [cf][L] 32.5−39.568[F]19939.5−46.510230146.5−53.53530653.5−60.54340N=∑fi=340
From the table, N=340
N2=3402=170
Now,
The cumulative frequency just greater than 170 is 199 and the corresponding class is 32.5−39.5.
Thus, the median class is 32.5−39.5.
L=32.5
h=7
F=68
c.f. = cf preceding class is 131
Median =L+(N2−Fcf)×h
=32.5+(170−68131)×7
=32.5+(102131)×7
=32.5+714131
=32.5+4
=36.5
Hence median is 36.5 years.