Measures of Central Tendency
What You'll Learn
- 1Compute the arithmetic mean with both the direct and the assumed-mean shortcut
- 2Find the median of ordered data of odd and even length without a counting slip
- 3Identify unimodal, bimodal and uniform frequency patterns in a data set
- 4Apply the empirical relationship among mean, median and mode and judge its reliability
A single number that stands for a whole collection of measurements is the first reduction any statistical analysis performs, and the choice of which number to use matters more than the arithmetic. The mean pulls every value into its calculation, the median ignores magnitudes in favour of position, and the mode reads only the frequency table. This lesson builds each measure from its definition, shows where each one is misleading, and works five numericals in the pattern CBSE sets.
The Arithmetic Mean
Two properties make the mean useful. It uses every observation, so no information is discarded, and the sum of the deviations from the mean is exactly zero, which makes it the balancing point of the data. The same property is its weakness: a single extreme value drags the total, and therefore the mean, in its direction. Move every observation by a constant and the mean moves by that constant; multiply every observation by a constant and the mean is multiplied by the same constant.
The Assumed Mean Shortcut
When the observations cluster around a comfortable number , the arithmetic can be shortened dramatically. Write each observation as ; then
The deviations are small, often positive and negative in balance, so their total is quick to find. For the data take ; the deviations are summing to zero, and the mean is immediately . The shortcut is not a different formula, just a rearrangement of the same one, and it is the standard method for grouped data in the next lesson.
The weighted mean matters when observations do not carry equal importance. A student whose theory paper is marked out of and practical out of has an overall percentage that is times the theory score plus times the practical score, not an average of the two percentages. Whenever a frequency table is given, the frequencies are the weights, which is why the grouped-data formula reduces to the weighted form.
The Median
Because position, not magnitude, decides the answer, the median is unaffected by how extreme the largest and smallest values are. Its rule depends on the parity of :
The most common error here is reaching for the middle position before sorting. For the unsorted data the third term is , which is not the median; after sorting the third term is , which is. Sorting is a mandatory first step and should be written out in the answer.
The Mode
The mode is simply the most frequent observation, and it is the only measure that works on data with no numerical order at all. A data set may have one mode, several modes, or none: is unimodal with mode ; is bimodal with modes and ; and has no mode because every value appears once. In grouped data the modal class is the interval with the highest frequency, and its position within that interval is interpolated using the neighbouring frequencies.
The Empirical Relationship
For a moderately skewed distribution the three measures drift apart in a predictable order and satisfy a useful approximation:
Rearranged, the formula also gives , which is the form used when the mode is unknown. In a roughly symmetric distribution the three quantities coincide, and the formula returns that common value exactly. The relationship is an approximation, not an identity, and it loses reliability when the skew is severe.
| Measure | What it uses | Sensitive to outliers? | Best used when |
|---|---|---|---|
| Mean | Every value and its magnitude | Yes, strongly | Data is symmetric and free of extremes |
| Median | Only the middle position | No | Data is skewed or contains outliers |
| Mode | Only the frequencies | No | A typical, frequently occurring item is wanted |
| Weighted mean | Values plus their importance | Yes | Items have unequal importance or frequencies |
Five Worked Numericals
Choosing the Right Measure in an Exam
Questions usually signal the intended measure. When the data are given raw and symmetric, compute the mean, and it is worth writing the assumed-mean step if the numbers are large. When the word "middle" or "position" appears, or when the data contain an obvious outlier such as one very large salary among modest ones, the median is intended. When the question supplies a frequency table and asks for the most popular item, the mode follows directly. Another standard question gives two of the three measures and asks for the third through the empirical relation, which is a one-line substitution worth two marks. Marks are lost most often by forgetting to sort before finding the median, by dividing the total by the number of distinct values rather than the number of observations, and by treating the empirical relation as exact rather than approximate.
Computing the Three Measures in Python
from statistics import mean, median, mode, multimode
data = [5, 8, 12, 15, 20]
print("mean :", mean(data))
print("median :", median(data))
scores = [12, 8, 15, 6, 10, 14]
print("sorted :", sorted(scores))
print("median :", median(scores))
marks = [2, 3, 5, 3, 7, 3, 8]
print("mode :", mode(marks))
print("modes :", multimode([1, 2, 2, 4, 4, 6]))
# assumed mean shortcut
A = 12
deviations = [x - A for x in data]
print("assumed mean result:", A + sum(deviations) / len(deviations))
from statistics import mean, median
clean = [20, 21, 22, 23, 24, 25, 26]
dirty = clean + [400]
print("without outlier mean =", round(mean(clean), 3),
" median =", median(clean))
print("with outlier mean =", round(mean(dirty), 3),
" median =", median(dirty))
# empirical relation check on a symmetric set
sym = [4, 5, 6, 7, 8, 9, 10]
m, d = mean(sym), median(sym)
print("symmetric data: mean =", m, "median =", d,
"empirical mode =", 3 * d - 2 * m)
Practice Set
- Find the mean of using the assumed mean method with .
- Find the median of .
- Find the modes of .
- If the mean is and the median is , estimate the mode.
- Explain why the median is preferred over the mean for household income data containing one very large value.
Common Mistakes
Finding the middle position before sorting the data
Fix: Always arrange the observations in ascending order first; the median is a positional measure and depends entirely on order.
Dividing by the number of distinct values
Fix: The mean divides by the total count of observations, including repeated ones, not by the count of different values.
Treating the empirical relation as an identity
Fix: Mode equals three times median minus two times mean only for moderately skewed distributions; state it as an estimate.
Key Takeaways
- The mean balances the data: the sum of deviations from it is always zero, which also makes it outlier-sensitive
- The median needs sorted data and depends only on position, so extreme values cannot move it
- The mode reads frequencies alone and may be single, multiple or absent depending on the data
- For moderate skew the three measures satisfy mode approximately three times median minus two times mean