| 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 |
Show solutionHide solution
Let us first complete the frequency table with class marks and cumulative frequencies.
| Class (units) | Frequency \(f_i\) | Class mark \(x_i\) | \(f_i x_i\) | Cumulative frequency |
|---|---|---|---|---|
| 65–85 | 4 | 75 | 300 | 4 |
| 85–105 | 5 | 95 | 475 | 9 |
| 105–125 | 13 | 115 | 1495 | 22 |
| 125–145 | 20 | 135 | 2700 | 42 |
| 145–165 | 14 | 155 | 2170 | 56 |
| 165–185 | 8 | 175 | 1400 | 64 |
| 185–205 | 4 | 195 | 780 | 68 |
| Total | \(n=68\) | \(9320\) |
Mean
\[\bar x=\frac{\sum f_i x_i}{\sum f_i}=\frac{9320}{68}\approx 137.06\ \text{units}.\]
Median
Here \(n=68\), so \(\frac n2=34\). The cumulative frequency first reaches or exceeds \(34\) in the class \(125-145\), so this is the median class.
For the median class: lower limit \(l=125\), class size \(h=20\), cumulative frequency of the preceding class \(cf=22\), frequency \(f=20\).
\[\text{Median}=l+\frac{\frac n2-cf}{f}\times h=125+\frac{34-22}{20}\times 20=125+12=137\ \text{units}.\]
Mode
The highest frequency is \(20\), so the modal class is \(125-145\). Thus \(l=125\), \(h=20\), \(f_1=20\), frequency of the preceding class \(f_0=13\), and frequency of the succeeding class \(f_2=14\).
\[\text{Mode}=l+\frac{f_1-f_0}{2f_1-f_0-f_2}\times h=125+\frac{20-13}{40-13-14}\times 20.\]
\[=125+\frac{7}{13}\times 20=125+\frac{140}{13}\approx 125+10.77=135.77\ \text{units}.\]
Comparison
The three measures are close to one another: mean \(\approx 137.06\), median \(=137\), and mode \(\approx 135.77\). They are approximately equal, which is typical of a fairly symmetric distribution. In order, mode \(<\) median \(<\) mean, but the differences are small.