Let us prepare the following table to compute the median :
Number of letters | Number of surnames (Frequency) | Cumulative frequency |
1−4 | 6 | 6 |
4−7 | 30 | 36 |
7−10 | 40 | 76 |
10−13 | 16 | 92 |
13−16 | 4 | 96 |
16−19 | 4 | 100=n |
We have, n=100
⇒n2=50
The cumulative frequency just greater than n2 is 76 and the corresponding class is 7–10.
Thus, 7–10 is the median class such that
n2=50,l=7,f=40,cf=36 and h=3
Substitute these values in the formula
Median, M=l+⎛⎜
⎜⎝n2−cff⎞⎟
⎟⎠×h
M=7+(50−3640)×3
M=7+1440×3=7+1.05=8.05
Now, calculation of mean:
Number of letters | Mid-Point (xi) | Frequency (fi) | fixi |
1−4 | 2.5 | 6 | 15 |
4−7 | 5.5 | 30 | 165 |
7−10 | 8.5 | 40 | 340 |
10−13 | 11.5 | 16 | 184 |
13−16 | 14.5 | 4 | 58 |
16−19 | 17.5 | 4 | 70 |
Total | | 100 | 832 |
Therefore, Mean, ¯x=∑fixi∑fi=832100=8.32
Calculation ofMode:
The class 7–10 has the maximum frequency therefore, this is the modal class.
Here,
l=7,h=3,f1=40,f0=30 and f2=16
Now, let us substitute these values in the formula
Mode =l+(f1−f02f1−f0−f2)×h
=7+40−3080−30−16×3
=7+1034×3=7+0.88=7.88
Hence, median =8.05, mean =8.32 and mode =7.88