Calculate the median from the following frequency distribution:
Class5−1010−1515−2020−2525−3030−3535−4040−45Frequency5615105422
We prepare the cumulative frequency table, as shown:
Class | fi | cfi |
5-10 | 5 | 5 |
10-15 | 6 | 11 |
15-20 | 15 | 26 |
20-25 | 10 | 36 |
25-30 | 5 | 41 |
30-35 | 4 | 45 |
35-40 | 2 | 47 |
40-45 | 2 | 49 |
Σfi = 49 |
N = Σfi = 49
⇒ N/2 = 24.5The cumulative frequency greater than 24.5 is 26 and the corresponding class is 15-20.
Thus the median class is 15-20.
Therefore, l= 15, h = 5,
f = 15,
c.f. of preceding class = 11 and N/2 = 24.5
Hence, median is 19.5 .