The lengths of 40 leaves of a plant are measured correct to the nearest millimeter, and the data obtained is represented in the following table:
Length (in mm)Number of leaves fi118−1263127−1355136−1449145−15312154−1625163−1714172−1802
Find the median length of the leaves.
The given data does not have continuous class intervals. We can observe that difference between two class intervals is 1. So, we have to add and subtract 12=0.5 from upper-class limits and lower class limits respectively.
Now, continuous class intervals with respective cumulative frequencies can be represented as below:
Length (in mm)Number of leaves fiCumulative frequency117.5−126.533126.5−135.553+5=8135.5−144.598+9=17144.5−153.51217+12=29153.5−162.5529+5=34162.5−171.5434+4=38171.5−180.5238+2=40
From the table, we observe that cumulative frequency just greater then n2(i.e.402=20) is 29, belonging to class interval 144.5 - 153.5.
Median class = 144.5 - 153.5
Lower limit l of median class = 144.5
Class size h = 9
Frequency f of median class = 12
Cumulative frequency cf of class preceding median class = 17, Median=l+(n2−cff)×h=144.5+(20−1712)×9=144.5+94=146.75
So, median length of leaves is 146.75 mm.