SolutionFor computing the median, for a continuous frequency distribution we have to
compute cumulative frequencies as shown in Table 3.25.
TABLE 3.25
Computation of median for Example 3.15
Vacations availedNumber of employees (f)Cumulative frequency (cf)
0–1022
10–201820
20–303050
30–404595
40–5035130
50–6020150
60–706156
70-803159
Sum
1
159
=
==
å
n
i
i
fN
Here N = 159, which is an odd number.
2
=
N
159
79.5
2
=
, which falls in the class 30–40 (see the row of the cumulative
frequency 95 which contains 79.5). Hence the median class is 30–40.
l = lower limit of median class = 30
f = frequency of median ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.