Statistics
Mean, mode and median of grouped data. Every solved example and every exercise question from the book, with every table worked out step by step.
Key Concepts
Class mark \(x_i\) \(=\dfrac{\text{upper class limit}+\text{lower class limit}}{2}\).
Mean of grouped data: Direct method \(\bar x\) \(=\dfrac{\sum f_ix_i}{\sum f_i}\); Assumed mean method \(\bar x\) \(=a+\dfrac{\sum f_id_i}{\sum f_i}\) with \(d_i=x_i-a\); Step-deviation method \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) with \(u_i=\dfrac{x_i-a}{h}\).
Mode of grouped data: Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\), where \(l\) = lower limit of the modal class, \(h\) = class size, \(f_1\) = frequency of the modal class, \(f_0\) and \(f_2\) = frequencies of the classes before and after it.
Median of grouped data: Median \(=l+\left(\dfrac{\frac n2-cf}{f}\right)\times h\), where \(l\) = lower limit of the median class, \(n\) = number of observations, \(cf\) = cumulative frequency of the class before the median class, \(f\) = frequency of the median class, \(h\) = class size.
Solved Examples (from the textbook)
The marks obtained by 30 students of Class X of a certain school in a Mathematics paper consisting of 100 marks are presented in table below. Find the mean of the marks obtained by the students.
| Marks obtained \(x_i\) | 10 | 20 | 36 | 40 | 50 | 56 | 60 | 70 | 72 | 80 | 88 | 92 | 95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Number of students \(f_i\) | 1 | 1 | 3 | 4 | 3 | 2 | 4 | 4 | 1 | 1 | 2 | 3 | 1 |
- Multiply each \(x_i\) by its frequency:
Marks \(x_i\) \(f_i\) \(f_ix_i\) 10 1 10 20 1 20 36 3 108 40 4 160 50 3 150 56 2 112 60 4 240 70 4 280 72 1 72 80 1 80 88 2 176 92 3 276 95 1 95 Total 30 1779 - \(\bar x\) \(=\dfrac{\sum f_ix_i}{\sum f_i}\) \(=\dfrac{1779}{30}\) \(=59.3\)
The table below gives the percentage distribution of female teachers in the primary schools of rural areas of various states and union territories (U.T.) of India. Find the mean percentage of female teachers by all the three methods discussed in this section.
| Percentage of female teachers | 15 – 25 | 25 – 35 | 35 – 45 | 45 – 55 | 55 – 65 | 65 – 75 | 75 – 85 |
|---|---|---|---|---|---|---|---|
| Number of States/U.T. | 6 | 11 | 7 | 4 | 4 | 2 | 1 |
Direct method
- Class mark \(x_i\) \(=\dfrac{\text{upper}+\text{lower limit}}{2}\). Table:
Percentage of female teachers \(f_i\) Class mark \(x_i\) \(f_ix_i\) 15 – 25 6 20 120 25 – 35 11 30 330 35 – 45 7 40 280 45 – 55 4 50 200 55 – 65 4 60 240 65 – 75 2 70 140 75 – 85 1 80 80 Total 35 1390 - \(\bar x\) \(=\dfrac{\sum f_ix_i}{\sum f_i}\) \(=\dfrac{1390}{35}\) \(=39.71\)
Assumed mean method
- Assumed mean method: take \(a=50\).
Percentage of female teachers \(f_i\) \(x_i\) \(d_i=x_i-50\) \(f_id_i\) 15 – 25 6 20 −30 −180 25 – 35 11 30 −20 −220 35 – 45 7 40 −10 −70 45 – 55 4 50 0 0 55 – 65 4 60 10 40 65 – 75 2 70 20 40 75 – 85 1 80 30 30 Total 35 −360 - \(\bar x\) \(=a+\dfrac{\sum f_id_i}{\sum f_i}\) \(=50+\dfrac{−360}{35}\) \(=39.71\)
Step-deviation method
- Step-deviation method: take assumed mean \(a=50\) and \(h=10\).
Percentage of female teachers \(f_i\) \(x_i\) \(d_i=x_i-50\) \(u_i=\frac{d_i}{10}\) \(f_iu_i\) 15 – 25 6 20 −30 −3 −18 25 – 35 11 30 −20 −2 −22 35 – 45 7 40 −10 −1 −7 45 – 55 4 50 0 0 0 55 – 65 4 60 10 1 4 65 – 75 2 70 20 2 4 75 – 85 1 80 30 3 3 Total 35 −36 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=50+10\times\dfrac{−36}{35}\) \(=39.71\)
The distribution below shows the number of wickets taken by bowlers in one-day cricket matches. Find the mean number of wickets by choosing a suitable method. What does the mean signify?
| Number of wickets | 20 – 60 | 60 – 100 | 100 – 150 | 150 – 250 | 250 – 350 | 350 – 450 |
|---|---|---|---|---|---|---|
| Number of bowlers | 7 | 5 | 16 | 12 | 2 | 3 |
- The class sizes are unequal and the class marks are large, so the assumed mean method is suitable.
- Assumed mean method: take \(a=200\).
Number of wickets \(f_i\) \(x_i\) \(d_i=x_i-200\) \(f_id_i\) 20 – 60 7 40 −160 −1120 60 – 100 5 80 −120 −600 100 – 150 16 125 −75 −1200 150 – 250 12 200 0 0 250 – 350 2 300 100 200 350 – 450 3 400 200 600 Total 45 −2120 - \(\bar x\) \(=a+\dfrac{\sum f_id_i}{\sum f_i}\) \(=200+\dfrac{−2120}{45}\) \(=152.89\)
The wickets taken by a bowler in 10 cricket matches are as follows: 2 6 4 5 0 2 1 3 2 3. Find the mode of the data.
- Arrange in order: 0, 1, 2, 2, 2, 3, 3, 4, 5, 6.
- 2 occurs the maximum number of times (three times).
A survey conducted on 20 households in a locality by a group of students resulted in the following frequency table for the number of family members in a household. Find the mode of this data.
| Family size | 1 – 3 | 3 – 5 | 5 – 7 | 7 – 9 | 9 – 11 |
|---|---|---|---|---|---|
| Number of families | 7 | 8 | 2 | 2 | 1 |
- Maximum frequency is 8, so the modal class is 3 – 5.
- \(l\) \(=3,\ h\) \(=2,\ f_1\) \(=8,\ f_0\) \(=7,\ f_2\) \(=2\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=3+\dfrac{1}{7}\times2\) \(=3.29\)
The marks distribution of 30 students in a mathematics examination are given in Table 13.3 of Example 1. Find the mode of this data. Also compare and interpret the mode and the mean.
| Class interval | 10 – 25 | 25 – 40 | 40 – 55 | 55 – 70 | 70 – 85 | 85 – 100 |
|---|---|---|---|---|---|---|
| Number of students | 2 | 3 | 7 | 6 | 6 | 6 |
- Maximum frequency is 7, so the modal class is 40 – 55.
- \(l\) \(=40,\ h\) \(=15,\ f_1\) \(=7,\ f_0\) \(=3,\ f_2\) \(=6\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=40+\dfrac{4}{5}\times15\) \(=52\)
- From Example 1, the mean is 59.3.
- Interpretation: the maximum number of students scored about 52 marks, while on average a student scored 59.3 marks.
A survey regarding the heights (in cm) of 51 girls of Class X of a school was conducted and the following data was obtained. Find the median height.
| Height (in cm) | Number of girls |
|---|---|
| Less than 140 | 4 |
| Less than 145 | 11 |
| Less than 150 | 29 |
| Less than 155 | 40 |
| Less than 160 | 46 |
| Less than 165 | 51 |
- Convert to classes: below 140 → 4; 140 – 145 → 11 − 4 = 7; 145 – 150 → 18; 150 – 155 → 11; 155 – 160 → 6; 160 – 165 → 5 (the first class is taken as below 140).
- Cumulative frequency table:
Class Frequency Cumulative frequency 135 – 140 4 4 140 – 145 7 11 145 – 150 18 29 150 – 155 11 40 155 – 160 6 46 160 – 165 5 51 - \(n=51,\ \dfrac n2=25.5\). The cumulative frequency just greater than (or equal to) 25.5 is 29, so the median class is 145 – 150.
- \(l\) \(=145,\ cf\) \(=11,\ f\) \(=18,\ h\) \(=5\).
- Median \(=l+\left(\dfrac{\frac n2-cf}{f}\right)\times h\) \(=145+\dfrac{25.5-11}{18}\times5\) \(=149.03\)
The median of the following data is 525. Find the values of x and y, if the total frequency is 100.
| Class interval | 0 – 100 | 100 – 200 | 200 – 300 | 300 – 400 | 400 – 500 | 500 – 600 | 600 – 700 | 700 – 800 | 800 – 900 | 900 – 1000 |
|---|---|---|---|---|---|---|---|---|---|---|
| Frequency | 2 | 5 | x | 12 | 17 | 20 | y | 9 | 7 | 4 |
- Cumulative frequencies: 2, 7, 7 + x, 19 + x, 36 + x, 56 + x, 56 + x + y, 65 + x + y, 72 + x + y, 76 + x + y.
- Total \(76+x+y\) \(=100\) \(\Rightarrow x+y\) \(=24\).
- Median 525 lies in 500 – 600: \(l\) \(=500,\ f\) \(=20,\ cf\) \(=36+x,\ h\) \(=100,\ \frac n2\) \(=50\).
- \(525\) \(=500+\dfrac{50-36-x}{20}\times100\) \(\Rightarrow 25\) \(=5(14-x)\) \(\Rightarrow x\) \(=9\).
- \(y=24-9=15\).
Exercise 13.1
A survey was conducted by a group of students as a part of their environment awareness programme, in which they collected the following data regarding the number of plants in 20 houses in a locality. Find the mean number of plants per house. Which method did you use for finding the mean, and why?
| Number of plants | 0 – 2 | 2 – 4 | 4 – 6 | 6 – 8 | 8 – 10 | 10 – 12 | 12 – 14 |
|---|---|---|---|---|---|---|---|
| Number of houses | 1 | 2 | 1 | 5 | 6 | 2 | 3 |
- The values of \(x_i\) and \(f_i\) are small, so the direct method is used.
- Class mark \(x_i\) \(=\dfrac{\text{upper}+\text{lower limit}}{2}\). Table:
Number of plants \(f_i\) Class mark \(x_i\) \(f_ix_i\) 0 – 2 1 1 1 2 – 4 2 3 6 4 – 6 1 5 5 6 – 8 5 7 35 8 – 10 6 9 54 10 – 12 2 11 22 12 – 14 3 13 39 Total 20 162 - \(\bar x\) \(=\dfrac{\sum f_ix_i}{\sum f_i}\) \(=\dfrac{162}{20}\) \(=8.1\)
Consider the following distribution of daily wages of 50 workers of a factory. Find the mean daily wages of the workers of the factory by using an appropriate method.
| Daily wages (in ₹) | 500 – 520 | 520 – 540 | 540 – 560 | 560 – 580 | 580 – 600 |
|---|---|---|---|---|---|
| Number of workers | 12 | 14 | 8 | 6 | 10 |
- Step-deviation method: take assumed mean \(a=550\) and \(h=20\).
Daily wages (₹) \(f_i\) \(x_i\) \(d_i=x_i-550\) \(u_i=\frac{d_i}{20}\) \(f_iu_i\) 500 – 520 12 510 −40 −2 −24 520 – 540 14 530 −20 −1 −14 540 – 560 8 550 0 0 0 560 – 580 6 570 20 1 6 580 – 600 10 590 40 2 20 Total 50 −12 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=550+20\times\dfrac{−12}{50}\) \(=545.2\)
The following distribution shows the daily pocket allowance of children of a locality. The mean pocket allowance is ₹ 18. Find the missing frequency f.
| Daily pocket allowance (in ₹) | 11 – 13 | 13 – 15 | 15 – 17 | 17 – 19 | 19 – 21 | 21 – 23 | 23 – 25 |
|---|---|---|---|---|---|---|---|
| Number of children | 7 | 6 | 9 | 13 | f | 5 | 4 |
- Class marks: 12, 14, 16, 18, 20, 22, 24.
- \(\sum f_i=44+f\); \(\sum f_ix_i\) \(=84+84+144+234+20f+110+96\) \(=752+20f\).
- \(\bar x\) \(=\dfrac{752+20f}{44+f}\) \(=18\) \(\Rightarrow 752+20f\) \(=792+18f\) \(\Rightarrow 2f\) \(=40\).
Thirty women were examined in a hospital by a doctor and the number of heartbeats per minute were recorded and summarised as follows. Find the mean heartbeats per minute for these women, choosing a suitable method.
| Number of heartbeats per minute | 65 – 68 | 68 – 71 | 71 – 74 | 74 – 77 | 77 – 80 | 80 – 83 | 83 – 86 |
|---|---|---|---|---|---|---|---|
| Number of women | 2 | 4 | 3 | 8 | 7 | 4 | 2 |
- Step-deviation method: take assumed mean \(a=75.5\) and \(h=3\).
Heartbeats per minute \(f_i\) \(x_i\) \(d_i=x_i-75.5\) \(u_i=\frac{d_i}{3}\) \(f_iu_i\) 65 – 68 2 66.5 −9 −3 −6 68 – 71 4 69.5 −6 −2 −8 71 – 74 3 72.5 −3 −1 −3 74 – 77 8 75.5 0 0 0 77 – 80 7 78.5 3 1 7 80 – 83 4 81.5 6 2 8 83 – 86 2 84.5 9 3 6 Total 30 4 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=75.5+3\times\dfrac{4}{30}\) \(=75.9\)
In a retail market, fruit vendors were selling mangoes kept in packing boxes. These boxes contained varying number of mangoes. The following was the distribution of mangoes according to the number of boxes. Find the mean number of mangoes kept in a packing box. Which method of finding the mean did you choose?
| Number of mangoes | 50 – 52 | 53 – 55 | 56 – 58 | 59 – 61 | 62 – 64 |
|---|---|---|---|---|---|
| Number of boxes | 15 | 110 | 135 | 115 | 25 |
- The class marks are 51, 54, 57, 60, 63 (equally spaced by 3) and the frequencies are large, so the step-deviation method is convenient.
- Step-deviation method: take assumed mean \(a=57\) and \(h=3\).
Number of mangoes \(f_i\) \(x_i\) \(d_i=x_i-57\) \(u_i=\frac{d_i}{3}\) \(f_iu_i\) 50 – 52 15 51 −6 −2 −30 53 – 55 110 54 −3 −1 −110 56 – 58 135 57 0 0 0 59 – 61 115 60 3 1 115 62 – 64 25 63 6 2 50 Total 400 25 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=57+3\times\dfrac{25}{400}\) \(=57.19\)
The table below shows the daily expenditure on food of 25 households in a locality. Find the mean daily expenditure on food by a suitable method.
| Daily expenditure (in ₹) | 100 – 150 | 150 – 200 | 200 – 250 | 250 – 300 | 300 – 350 |
|---|---|---|---|---|---|
| Number of households | 4 | 5 | 12 | 2 | 2 |
- Step-deviation method: take assumed mean \(a=225\) and \(h=50\).
Daily expenditure (₹) \(f_i\) \(x_i\) \(d_i=x_i-225\) \(u_i=\frac{d_i}{50}\) \(f_iu_i\) 100 – 150 4 125 −100 −2 −8 150 – 200 5 175 −50 −1 −5 200 – 250 12 225 0 0 0 250 – 300 2 275 50 1 2 300 – 350 2 325 100 2 4 Total 25 −7 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=225+50\times\dfrac{−7}{25}\) \(=211\)
To find out the concentration of SO₂ in the air (in parts per million, i.e., ppm), the data was collected for 30 localities in a certain city and is presented below. Find the mean concentration of SO₂ in the air.
| Concentration of SO₂ (in ppm) | 0 – 0.04 | 0.04 – 0.08 | 0.08 – 0.12 | 0.12 – 0.16 | 0.16 – 0.2 | 0.2 – 0.24 |
|---|---|---|---|---|---|---|
| Frequency | 4 | 9 | 9 | 2 | 4 | 2 |
- Class mark \(x_i\) \(=\dfrac{\text{upper}+\text{lower limit}}{2}\). Table:
Concentration of SO₂ (ppm) \(f_i\) Class mark \(x_i\) \(f_ix_i\) 0 – 0.04 4 0.02 0.08 0.04 – 0.08 9 0.06 0.54 0.08 – 0.12 9 0.1 0.9 0.12 – 0.16 2 0.14 0.28 0.16 – 0.2 4 0.18 0.72 0.2 – 0.24 2 0.22 0.44 Total 30 2.96 - \(\bar x\) \(=\dfrac{\sum f_ix_i}{\sum f_i}\) \(=\dfrac{2.96}{30}\) \(=0.1\)
A class teacher has the following absentee record of 40 students of a class for the whole term. Find the mean number of days a student was absent.
| Number of days | 0 – 6 | 6 – 10 | 10 – 14 | 14 – 20 | 20 – 28 | 28 – 38 | 38 – 40 |
|---|---|---|---|---|---|---|---|
| Number of students | 11 | 10 | 7 | 4 | 4 | 3 | 1 |
- The class sizes are unequal, so the direct method is used.
- Class mark \(x_i\) \(=\dfrac{\text{upper}+\text{lower limit}}{2}\). Table:
Number of days \(f_i\) Class mark \(x_i\) \(f_ix_i\) 0 – 6 11 3 33 6 – 10 10 8 80 10 – 14 7 12 84 14 – 20 4 17 68 20 – 28 4 24 96 28 – 38 3 33 99 38 – 40 1 39 39 Total 40 499 - \(\bar x\) \(=\dfrac{\sum f_ix_i}{\sum f_i}\) \(=\dfrac{499}{40}\) \(=12.48\)
The following table gives the literacy rate (in percentage) of 35 cities. Find the mean literacy rate.
| Literacy rate (in %) | 45 – 55 | 55 – 65 | 65 – 75 | 75 – 85 | 85 – 95 |
|---|---|---|---|---|---|
| Number of cities | 3 | 10 | 11 | 8 | 3 |
- Step-deviation method: take assumed mean \(a=70\) and \(h=10\).
Literacy rate (%) \(f_i\) \(x_i\) \(d_i=x_i-70\) \(u_i=\frac{d_i}{10}\) \(f_iu_i\) 45 – 55 3 50 −20 −2 −6 55 – 65 10 60 −10 −1 −10 65 – 75 11 70 0 0 0 75 – 85 8 80 10 1 8 85 – 95 3 90 20 2 6 Total 35 −2 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=70+10\times\dfrac{−2}{35}\) \(=69.43\)
Exercise 13.2
The following table shows the ages of the patients admitted in a hospital during a year. Find the mode and the mean of the data given above. Compare and interpret the two measures of central tendency.
| Age (in years) | 5 – 15 | 15 – 25 | 25 – 35 | 35 – 45 | 45 – 55 | 55 – 65 |
|---|---|---|---|---|---|---|
| Number of patients | 6 | 11 | 21 | 23 | 14 | 5 |
Mode
- Maximum frequency is 23, so the modal class is 35 – 45.
- \(l\) \(=35,\ h\) \(=10,\ f_1\) \(=23,\ f_0\) \(=21,\ f_2\) \(=14\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=35+\dfrac{2}{11}\times10\) \(=36.82\)
Mean
- Class mark \(x_i\) \(=\dfrac{\text{upper}+\text{lower limit}}{2}\). Table:
Age (in years) \(f_i\) Class mark \(x_i\) \(f_ix_i\) 5 – 15 6 10 60 15 – 25 11 20 220 25 – 35 21 30 630 35 – 45 23 40 920 45 – 55 14 50 700 55 – 65 5 60 300 Total 80 2830 - \(\bar x\) \(=\dfrac{\sum f_ix_i}{\sum f_i}\) \(=\dfrac{2830}{80}\) \(=35.38\)
The following data gives the information on the observed lifetimes (in hours) of 225 electrical components. Determine the modal lifetimes of the components.
| Lifetimes (in hours) | 0 – 20 | 20 – 40 | 40 – 60 | 60 – 80 | 80 – 100 | 100 – 120 |
|---|---|---|---|---|---|---|
| Frequency | 10 | 35 | 52 | 61 | 38 | 29 |
- Maximum frequency is 61, so the modal class is 60 – 80.
- \(l\) \(=60,\ h\) \(=20,\ f_1\) \(=61,\ f_0\) \(=52,\ f_2\) \(=38\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=60+\dfrac{9}{32}\times20\) \(=65.63\)
The following data gives the distribution of total monthly household expenditure of 200 families of a village. Find the modal monthly expenditure of the families. Also, find the mean monthly expenditure.
| Expenditure (in ₹) | 1000 – 1500 | 1500 – 2000 | 2000 – 2500 | 2500 – 3000 | 3000 – 3500 | 3500 – 4000 | 4000 – 4500 | 4500 – 5000 |
|---|---|---|---|---|---|---|---|---|
| Number of families | 24 | 40 | 33 | 28 | 30 | 22 | 16 | 7 |
Mode
- Maximum frequency is 40, so the modal class is 1500 – 2000.
- \(l\) \(=1500,\ h\) \(=500,\ f_1\) \(=40,\ f_0\) \(=24,\ f_2\) \(=33\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=1500+\dfrac{16}{23}\times500\) \(=1847.83\)
Mean
- Step-deviation method: take assumed mean \(a=2750\) and \(h=500\).
Expenditure (₹) \(f_i\) \(x_i\) \(d_i=x_i-2750\) \(u_i=\frac{d_i}{500}\) \(f_iu_i\) 1000 – 1500 24 1250 −1500 −3 −72 1500 – 2000 40 1750 −1000 −2 −80 2000 – 2500 33 2250 −500 −1 −33 2500 – 3000 28 2750 0 0 0 3000 – 3500 30 3250 500 1 30 3500 – 4000 22 3750 1000 2 44 4000 – 4500 16 4250 1500 3 48 4500 – 5000 7 4750 2000 4 28 Total 200 −35 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=2750+500\times\dfrac{−35}{200}\) \(=2662.5\)
The following distribution gives the state-wise teacher-student ratio in higher secondary schools of India. Find the mode and mean of this data. Interpret the two measures.
| Number of students per teacher | 15 – 20 | 20 – 25 | 25 – 30 | 30 – 35 | 35 – 40 | 40 – 45 | 45 – 50 | 50 – 55 |
|---|---|---|---|---|---|---|---|---|
| Number of states / U.T. | 3 | 8 | 9 | 10 | 3 | 0 | 0 | 2 |
Mode
- Maximum frequency is 10, so the modal class is 30 – 35.
- \(l\) \(=30,\ h\) \(=5,\ f_1\) \(=10,\ f_0\) \(=9,\ f_2\) \(=3\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=30+\dfrac{1}{8}\times5\) \(=30.63\)
Mean
- Step-deviation method: take assumed mean \(a=32.5\) and \(h=5\).
Students per teacher \(f_i\) \(x_i\) \(d_i=x_i-32.5\) \(u_i=\frac{d_i}{5}\) \(f_iu_i\) 15 – 20 3 17.5 −15 −3 −9 20 – 25 8 22.5 −10 −2 −16 25 – 30 9 27.5 −5 −1 −9 30 – 35 10 32.5 0 0 0 35 – 40 3 37.5 5 1 3 40 – 45 0 42.5 10 2 0 45 – 50 0 47.5 15 3 0 50 – 55 2 52.5 20 4 8 Total 35 −23 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=32.5+5\times\dfrac{−23}{35}\) \(=29.21\)
The given distribution shows the number of runs scored by some top batsmen of the world in one-day international cricket matches. Find the mode of the data.
| Runs scored | 3000 – 4000 | 4000 – 5000 | 5000 – 6000 | 6000 – 7000 | 7000 – 8000 | 8000 – 9000 | 9000 – 10000 | 10000 – 11000 |
|---|---|---|---|---|---|---|---|---|
| Number of batsmen | 4 | 18 | 9 | 7 | 6 | 3 | 1 | 1 |
- Maximum frequency is 18, so the modal class is 4000 – 5000.
- \(l\) \(=4000,\ h\) \(=1000,\ f_1\) \(=18,\ f_0\) \(=4,\ f_2\) \(=9\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=4000+\dfrac{14}{23}\times1000\) \(=4608.7\)
A student noted the number of cars passing through a spot on a road for 100 periods each of 3 minutes and summarised it in the table given below. Find the mode of the data.
| Number of cars | 0 – 10 | 10 – 20 | 20 – 30 | 30 – 40 | 40 – 50 | 50 – 60 | 60 – 70 | 70 – 80 |
|---|---|---|---|---|---|---|---|---|
| Frequency | 7 | 14 | 13 | 12 | 20 | 11 | 15 | 8 |
- Maximum frequency is 20, so the modal class is 40 – 50.
- \(l\) \(=40,\ h\) \(=10,\ f_1\) \(=20,\ f_0\) \(=12,\ f_2\) \(=11\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=40+\dfrac{8}{17}\times10\) \(=44.71\)
Exercise 13.3
The following frequency distribution gives the monthly consumption of electricity of 68 consumers of a locality. Find the median, mean and mode of the data and compare them.
| Monthly consumption (in units) | 65 – 85 | 85 – 105 | 105 – 125 | 125 – 145 | 145 – 165 | 165 – 185 | 185 – 205 |
|---|---|---|---|---|---|---|---|
| Number of consumers | 4 | 5 | 13 | 20 | 14 | 8 | 4 |
Median
- Cumulative frequency table:
Class Frequency Cumulative frequency 65 – 85 4 4 85 – 105 5 9 105 – 125 13 22 125 – 145 20 42 145 – 165 14 56 165 – 185 8 64 185 – 205 4 68 - \(n=68,\ \dfrac n2=34\). The cumulative frequency just greater than (or equal to) 34 is 42, so the median class is 125 – 145.
- \(l\) \(=125,\ cf\) \(=22,\ f\) \(=20,\ h\) \(=20\).
- Median \(=l+\left(\dfrac{\frac n2-cf}{f}\right)\times h\) \(=125+\dfrac{34-22}{20}\times20\) \(=137\)
Mean
- Step-deviation method: take assumed mean \(a=135\) and \(h=20\).
Monthly consumption \(f_i\) \(x_i\) \(d_i=x_i-135\) \(u_i=\frac{d_i}{20}\) \(f_iu_i\) 65 – 85 4 75 −60 −3 −12 85 – 105 5 95 −40 −2 −10 105 – 125 13 115 −20 −1 −13 125 – 145 20 135 0 0 0 145 – 165 14 155 20 1 14 165 – 185 8 175 40 2 16 185 – 205 4 195 60 3 12 Total 68 7 - \(\bar x\) \(=a+h\left(\dfrac{\sum f_iu_i}{\sum f_i}\right)\) \(=135+20\times\dfrac{7}{68}\) \(=137.06\)
Mode
- Maximum frequency is 20, so the modal class is 125 – 145.
- \(l\) \(=125,\ h\) \(=20,\ f_1\) \(=20,\ f_0\) \(=13,\ f_2\) \(=14\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=125+\dfrac{7}{13}\times20\) \(=135.77\)
If the median of the distribution given below is 28.5, find the values of x and y.
| Class interval | 0 – 10 | 10 – 20 | 20 – 30 | 30 – 40 | 40 – 50 | 50 – 60 |
|---|---|---|---|---|---|---|
| Frequency | 5 | x | 20 | 15 | y | 5 |
Total = 60
- \(5+x+20+15+y+5\) \(=60\) \(\Rightarrow x+y\) \(=15\).
- Median 28.5 lies in 20 – 30: \(l\) \(=20,\ cf\) \(=5+x,\ f\) \(=20,\ h\) \(=10,\ \frac n2\) \(=30\).
- \(28.5\) \(=20+\dfrac{30-5-x}{20}\times10\) \(\Rightarrow 8.5\) \(=\dfrac{25-x}{2}\) \(\Rightarrow x\) \(=8\).
- \(y=15-8=7\).
A life insurance agent found the following data for distribution of ages of 100 policy holders. Calculate the median age, if policies are given only to persons having age 18 years onwards but less than 60 years.
| Age (in years) | Number of policy holders |
|---|---|
| Below 20 | 2 |
| Below 25 | 6 |
| Below 30 | 24 |
| Below 35 | 45 |
| Below 40 | 78 |
| Below 45 | 89 |
| Below 50 | 92 |
| Below 55 | 98 |
| Below 60 | 100 |
- Convert the cumulative ('below') data into classes: 15 – 20 (2), 20 – 25 (4), 25 – 30 (18), 30 – 35 (21), 35 – 40 (33), 40 – 45 (11), 45 – 50 (3), 50 – 55 (6), 55 – 60 (2).
- Cumulative frequency table:
Class Frequency Cumulative frequency 15 – 20 2 2 20 – 25 4 6 25 – 30 18 24 30 – 35 21 45 35 – 40 33 78 40 – 45 11 89 45 – 50 3 92 50 – 55 6 98 55 – 60 2 100 - \(n=100,\ \dfrac n2=50\). The cumulative frequency just greater than (or equal to) 50 is 78, so the median class is 35 – 40.
- \(l\) \(=35,\ cf\) \(=45,\ f\) \(=33,\ h\) \(=5\).
- Median \(=l+\left(\dfrac{\frac n2-cf}{f}\right)\times h\) \(=35+\dfrac{50-45}{33}\times5\) \(=35.76\)
The lengths of 40 leaves of a plant are measured correct to the nearest millimetre, and the data obtained is represented in the following table. Find the median length of the leaves.
| Length (in mm) | 118 – 126 | 127 – 135 | 136 – 144 | 145 – 153 | 154 – 162 | 163 – 171 | 172 – 180 |
|---|---|---|---|---|---|---|---|
| Number of leaves | 3 | 5 | 9 | 12 | 5 | 4 | 2 |
- Convert to continuous classes by subtracting 0.5 from lower limits and adding 0.5 to upper limits: 117.5 – 126.5, 126.5 – 135.5, …, 171.5 – 180.5.
- Cumulative frequency table:
Class Frequency Cumulative frequency 117.5 – 126.5 3 3 126.5 – 135.5 5 8 135.5 – 144.5 9 17 144.5 – 153.5 12 29 153.5 – 162.5 5 34 162.5 – 171.5 4 38 171.5 – 180.5 2 40 - \(n=40,\ \dfrac n2=20\). The cumulative frequency just greater than (or equal to) 20 is 29, so the median class is 144.5 – 153.5.
- \(l\) \(=144.5,\ cf\) \(=17,\ f\) \(=12,\ h\) \(=9\).
- Median \(=l+\left(\dfrac{\frac n2-cf}{f}\right)\times h\) \(=144.5+\dfrac{20-17}{12}\times9\) \(=146.75\)
The following table gives the distribution of the life time of 400 neon lamps. Find the median life time of a lamp.
| Life time (in hours) | 1500 – 2000 | 2000 – 2500 | 2500 – 3000 | 3000 – 3500 | 3500 – 4000 | 4000 – 4500 | 4500 – 5000 |
|---|---|---|---|---|---|---|---|
| Number of lamps | 14 | 56 | 60 | 86 | 74 | 62 | 48 |
- Cumulative frequency table:
Class Frequency Cumulative frequency 1500 – 2000 14 14 2000 – 2500 56 70 2500 – 3000 60 130 3000 – 3500 86 216 3500 – 4000 74 290 4000 – 4500 62 352 4500 – 5000 48 400 - \(n=400,\ \dfrac n2=200\). The cumulative frequency just greater than (or equal to) 200 is 216, so the median class is 3000 – 3500.
- \(l\) \(=3000,\ cf\) \(=130,\ f\) \(=86,\ h\) \(=500\).
- Median \(=l+\left(\dfrac{\frac n2-cf}{f}\right)\times h\) \(=3000+\dfrac{200-130}{86}\times500\) \(=3406.98\)
100 surnames were randomly picked up from a local telephone directory and the frequency distribution of the number of letters in the English alphabets in the surnames was obtained as follows. Determine the median number of letters in the surnames. Find the mean number of letters in the surnames? Also, find the modal size of the surnames.
| Number of letters | 1 – 4 | 4 – 7 | 7 – 10 | 10 – 13 | 13 – 16 | 16 – 19 |
|---|---|---|---|---|---|---|
| Number of surnames | 6 | 30 | 40 | 16 | 4 | 4 |
Median
- Cumulative frequency table:
Class 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=100,\ \dfrac n2=50\). The cumulative frequency just greater than (or equal to) 50 is 76, so the median class is 7 – 10.
- \(l\) \(=7,\ cf\) \(=36,\ f\) \(=40,\ h\) \(=3\).
- Median \(=l+\left(\dfrac{\frac n2-cf}{f}\right)\times h\) \(=7+\dfrac{50-36}{40}\times3\) \(=8.05\)
Mean
- Class mark \(x_i\) \(=\dfrac{\text{upper}+\text{lower limit}}{2}\). Table:
Number of letters \(f_i\) Class mark \(x_i\) \(f_ix_i\) 1 – 4 6 2.5 15 4 – 7 30 5.5 165 7 – 10 40 8.5 340 10 – 13 16 11.5 184 13 – 16 4 14.5 58 16 – 19 4 17.5 70 Total 100 832 - \(\bar x\) \(=\dfrac{\sum f_ix_i}{\sum f_i}\) \(=\dfrac{832}{100}\) \(=8.32\)
Mode
- Maximum frequency is 40, so the modal class is 7 – 10.
- \(l\) \(=7,\ h\) \(=3,\ f_1\) \(=40,\ f_0\) \(=30,\ f_2\) \(=16\).
- Mode \(=l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\) \(=7+\dfrac{10}{34}\times3\) \(=7.88\)
The distribution below gives the weights of 30 students of a class. Find the median weight of the students.
| Weight (in kg) | 40 – 45 | 45 – 50 | 50 – 55 | 55 – 60 | 60 – 65 | 65 – 70 | 70 – 75 |
|---|---|---|---|---|---|---|---|
| Number of students | 2 | 3 | 8 | 6 | 6 | 3 | 2 |
- Cumulative frequency table:
Class Frequency Cumulative frequency 40 – 45 2 2 45 – 50 3 5 50 – 55 8 13 55 – 60 6 19 60 – 65 6 25 65 – 70 3 28 70 – 75 2 30 - \(n=30,\ \dfrac n2=15\). The cumulative frequency just greater than (or equal to) 15 is 19, so the median class is 55 – 60.
- \(l\) \(=55,\ cf\) \(=13,\ f\) \(=6,\ h\) \(=5\).
- Median \(=l+\left(\dfrac{\frac n2-cf}{f}\right)\times h\) \(=55+\dfrac{15-13}{6}\times5\) \(=56.67\)
Summary (Book p. 200)
- Mean of grouped data: direct method \(\bar x\) \(=\frac{\sum f_ix_i}{\sum f_i}\); assumed mean method \(\bar x\) \(=a+\frac{\sum f_id_i}{\sum f_i}\); step-deviation method \(\bar x\) \(=a+h\frac{\sum f_iu_i}{\sum f_i}\), with the assumption that the frequency of a class is centred at its mid-point (class mark).
- Mode of grouped data: Mode \(=l+\left(\frac{f_1-f_0}{2f_1-f_0-f_2}\right)\times h\).
- The cumulative frequency of a class is the frequency obtained by adding the frequencies of all the classes preceding the given class.
- Median of grouped data: Median \(=l+\left(\frac{\frac n2-cf}{f}\right)\times h\).