Question
Mathematics Question on Median of Grouped Data
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) | ** Number of consumers** |
---|---|
65 - 85 | 4 |
85 - 105 | 5 |
105 - 125 | 13 |
125 - 145 | 20 |
145 - 165 | 14 |
165 - 185 | 8 |
185 - 205 | 4 |
The cumulative frequencies with their respective class intervals are as follows.
Monthly consumption
(in units) | ** Number of consumers** | Cumulative frequency |
---|---|---|
60 - 85 | 4 | 4 |
85 - 105 | 5 | 4 + 5 = 9 |
105 - 125 | 13 | 9 + 13 = 22 |
125 - 145 | 20 | 22 + 20 = 42 |
145 - 165 | 14 | 42 + 14 = 56 |
165 - 185 | 8 | 56 + 8 = 64 |
185 - 205 | 4 | 64 + 4 = 68 |
Total(n) | 68 |
From the table, we obtain
n = 68
Cumulative frequency just greater 2n(i.e.,268=34) than is 42, belonging to class interval 125 - 145.
Median class = 125 - 145
Lower limit (l) of median class = 125
Frequency (f) of median class = 20
Cumulative frequency (cf) of median class = 22
Class size (h) = 20
Median = l+(f2n−cf×h)
Median = 125+(2034−22×20)
Median = 125 +12
Median = 137
To find the class mark (xi) for each interval, the following relation is used.
Class mark (xi) = 2Upper limit + Lower limit
Taking 11.5 as assumed mean (a), di, ui, and fiui are calculated according to step deviation method as follows.
Monthly consumption
(in units) | ** Number of consumers** | ** xi ** | di=xi−11.5 | ui=3di | fiui |
---|---|---|---|---|---|
60 - 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 |
From the table, it can be observed that
∑fi=68
∑fiui=7
Mean, x−=a+(∑fi∑fiui)×h
x− = 135+(687)×20
x− = 135 + 68140
Mean, x− = 137.058
The data in the given table can be written as
Monthly consumption
(in units) | ** Number of consumers** |
---|---|
65 - 85 | 4 |
85 - 105 | 5 |
105 - 125 | 13 |
125 - 145 | 20 |
145 - 165 | 14 |
165 - 185 | 8 |
185 - 205 | 4 |
From the table, it can be observed that the maximum class frequency is 20, belonging to class interval 125 − 145.
Therefore, Modal class = 125 − 145
Lower limit (l) of modal class = 125
Frequency (f1) of modal class = 40
Frequency (f0) of class preceding the modal class = 13
Frequency (f2) of class succeeding the modal class = 14
Class size (h) = 20
Mode = l + (2f1−f0−f2)f1−f0×h
Mode = 125+(2(20)−13−1420−13)×20
Mode =125+[137]×20
Mode = 125+(13140)
Mode = 135.76
Therefore, median, mode, mean of the given data is 137, 135.76, and 137.05 respectively. The three measures are approximately the same in this case.