Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 03 / 08Statistics and Probability

Measures of Central Tendency: Mean, Median and Mode

Arithmetic mean for raw, discrete and grouped data, the step-deviation shortcut, combined mean of groups, median and mode for grouped data by interpolation, their behaviour under change of origin and scale, and the relation between mean, median and mode for skewed data.

Figure 1
A measure of central tendency summarises a data set by a single representative value. Each of the three standard measures answers a different question. Arithmetic mean. For observations x1,…,xnx_{1}, \ldots, x_{n}: xˉ=1n∑xi\bar{x} = \frac{1}{n}\sum x_{i}. For a frequency distribution (values xix_{i} with frequencies fif_{i}, N=∑fiN = \sum f_{i}): xˉ=∑fixiN\bar{x} = \frac{\sum f_{i}x_{i}}{N}. For grouped (class-interval) data, xix_{i} is the class mark (midpoint). Step-deviation shortcut: with an assumed mean AA and class width hh, let ui=xi−Ahu_{i} = \frac{x_{i} - A}{h}; then xˉ=A+h∑fiuiN\bar{x} = A + h\frac{\sum f_{i}u_{i}}{N}. Key properties: ∑(xi−xˉ)=0\sum(x_{i} - \bar{x}) = 0 (deviations from the mean balance); ∑(xi−a)2\sum(x_{i} - a)^{2} is smallest when a=xˉa = \bar{x}. Combined mean of two groups: xˉ=n1xˉ1+n2xˉ2n1+n2\bar{x} = \frac{n_{1}\bar{x}_{1} + n_{2}\bar{x}_{2}}{n_{1} + n_{2}}. Median. The middle value when the data are arranged in order: the n+12\frac{n + 1}{2}th value for odd nn, and the average of the n2\frac{n}{2}th and (n2+1)(\frac{n}{2} + 1)th values for even nn. For grouped data, find the median class (the class where the cumulative frequency first reaches N2\frac{N}{2}) and interpolate linearly: Median=l+N2−Cf×h\text{Median} = l + \frac{\frac{N}{2} - C}{f} \times h, where ll is the lower boundary of the median class, CC the cumulative frequency before it, ff its frequency and hh its width. Property: ∑∣xi−a∣\sum|x_{i} - a| is smallest when aa is the median. Mode. The most frequent value. For grouped data, with modal class (highest frequency) f1f_{1}, preceding frequency f0f_{0} and following frequency f2f_{2}: Mode=l+f1−f02f1−f0−f2×h\text{Mode} = l + \frac{f_{1} - f_{0}}{2f_{1} - f_{0} - f_{2}} \times h. A distribution may have no mode or several. Change of origin and scale. If every observation is transformed by yi=axi+by_{i} = ax_{i} + b, then the mean, median and mode are all transformed the same way: yˉ=axˉ+b\bar{y} = a\bar{x} + b, and similarly for the median and mode. This is what justifies the step-deviation method. Choosing a measure. The mean uses every value and is the basis of further statistics, but is sensitive to extreme values. The median is robust to outliers and is preferred for skewed data such as incomes. The mode is the only one meaningful for categorical data. For a symmetric distribution all three coincide. For a right-skewed distribution (long tail to the right), the tail pulls the mean furthest: mode << median << mean, as in the figure. For moderately skewed distributions, the empirical relation is Mode≈3 Median−2 Mean\text{Mode} \approx 3\,\text{Median} - 2\,\text{Mean}. Other means for positive data: the geometric mean (∏xi)1/n(\prod x_{i})^{1/n} and harmonic mean n∑1/xi\frac{n}{\sum 1/x_{i}}, with AM≥GM≥HM\text{AM} \ge \text{GM} \ge \text{HM}. Key Takeaways: - xˉ=∑fixiN\bar{x} = \frac{\sum f_{i}x_{i}}{N}; step deviation xˉ=A+h∑fiuiN\bar{x} = A + h\frac{\sum f_{i}u_{i}}{N}. - ∑(xi−xˉ)=0\sum(x_{i} - \bar{x}) = 0; the mean minimises ∑(xi−a)2\sum(x_{i} - a)^{2}, the median minimises ∑∣xi−a∣\sum|x_{i} - a|. - Grouped median l+N/2−Cfhl + \frac{N/2 - C}{f}h; grouped mode l+f1−f02f1−f0−f2hl + \frac{f_{1} - f_{0}}{2f_{1} - f_{0} - f_{2}}h. - Combined mean n1xˉ1+n2xˉ2n1+n2\frac{n_{1}\bar{x}_{1} + n_{2}\bar{x}_{2}}{n_{1} + n_{2}}. - Under y=ax+by = ax + b all three measures transform the same way. - Mode ≈3\approx 3 Median −2- 2 Mean; right skew: mode << median << mean. - Pitfall: using class limits instead of class boundaries in the interpolation formulas for discontinuous classes like 1010-1919, 2020-2929. Brain-Teaser 1: The mean of 100100 observations is 5050. Later it is found that one observation 6060 was recorded as 9090. Find the correct mean. If also every observation is then doubled and increased by 55, what is the new mean? Solution: The recorded total is 50005000; the correct total is 5000−90+60=49705000 - 90 + 60 = 4970, so the correct mean is 49.749.7. After y=2x+5y = 2x + 5 the mean becomes 2(49.7)+5=104.42(49.7) + 5 = 104.4. Correcting totals rather than means avoids errors, and linear transformations pass straight through the mean. Brain-Teaser 2: Two sections of a class have 4040 and 6060 students with mean marks 7070 and 5555. Find the combined mean. Can the combined median be found from the two medians? Solution: Combined mean =40×70+60×55100=2800+3300100=61= \frac{40 \times 70 + 60 \times 55}{100} = \frac{2800 + 3300}{100} = 61. The combined median cannot in general be found from the separate medians: it depends on how the individual marks are spread, not just on the middle values. The mean combines linearly because it is built from totals; the median is a positional measure and does not. Brain-Teaser 3: For the data 2,3,3,5,7,10,x2, 3, 3, 5, 7, 10, x, the mean and median are equal. Find all possible xx. Solution: The mean is 30+x7\frac{30 + x}{7}. The median is the 44th value in order, which depends on xx. If x≤3x \le 3: median 33, so 30+x=2130 + x = 21, x=−9x = -9, which satisfies x≤3x \le 3. If 3<x<53 < x < 5: median xx, so 30+x=7x30 + x = 7x, x=5x = 5, not in the interval. If x≥5x \ge 5: median 55, so 30+x=3530 + x = 35, x=5x = 5, valid. So x=−9x = -9 or x=5x = 5. Casework on where the new value falls in the ordering is essential because the median is positional.