Measures of Central Tendency
A measure of central tendency is a single number that describes the “middle” or “typical” value of a data set. The mean, median, and mode each describe the centre in a different way, and they don’t always agree. Knowing which one to use (and when a number is hiding something) is one of the most useful skills in statistics.
Key ideas
Section titled “Key ideas”The mean is the sum of the values divided by how many there are. Statisticians use different symbols for a population and a sample:
| Symbol | Meaning |
|---|---|
| (mu) | mean of a whole population |
| (x-bar) | mean of a sample |
| population size | |
| sample size | |
| the sum of all the data values |
The formula is the same; only the symbols change. The mean uses every value, which makes it sensitive to extreme values.
Median
Section titled “Median”The median is the middle value when the data are in order.
- If is odd, the median is the middle value: the one in position .
- If is even, the median is the mean of the two middle values.
The mode is the value that occurs most often. A data set can have one mode, more than one mode, or no mode (if every value occurs once). The mode is the only measure you can use for categorical data, like favourite colours.
Weighted mean
Section titled “Weighted mean”When some values count more than others, use a weighted mean. Multiply each value by its weight, add, and divide by the total weight:
If the weights are percentages that add to , just multiply each value by its weight as a decimal and add.
Mean of grouped data
Section titled “Mean of grouped data”When data are given in a frequency table with intervals, you don’t know the exact values. Estimate the mean by assuming every value in an interval sits at the interval’s midpoint :
where is the frequency of each interval. The median interval is the interval that contains the middle value.
Outliers and choosing a measure
Section titled “Outliers and choosing a measure”An outlier is a value far away from the rest of the data. Outliers pull the mean toward them, but they barely move the median. (A precise rule for spotting outliers is on the quartiles and percentiles page.)
| Measure | Best when… | Weakness |
|---|---|---|
| Mean | data are numerical and roughly symmetric, with no outliers | pulled by outliers |
| Median | data are skewed or have outliers (incomes, house prices) | ignores how far the other values are from the middle |
| Mode | data are categorical, or you want the most common value (shoe sizes to stock) | may not exist, or may not be near the centre |
The centre is only half the story. Two data sets can have the same mean but very different spreads. To measure spread, see standard deviation.
On the SAT
Section titled “On the SAT”In Desmos, type a list and use mean(...) and median(...), or name it first (L = [...], then mean(L)). For a frequency table, you don’t have to type every repeated value: multiply each value by its frequency and divide by the total count, e.g. values with frequencies give . Many SAT questions ask how the mean or median changes when a value is added or removed, or when there’s an outlier, and those are faster to reason out: an outlier pulls the mean toward it but barely moves the median. See using Desmos on the SAT.
Worked examples
Section titled “Worked examples”Example 1: Mean, median, and mode
Section titled “Example 1: Mean, median, and mode”A sample of students reported how many hours they slept last night:
- (a) Find the mean, median, and mode.
- (b) A ninth student reports hours. How does each measure change?
Solution. (a) The sum is , so
In order: . With (even), the median is the mean of the 4th and 5th values:
The value occurs three times, so the mode is h.
(b) Now and the sum is , so h. In order: . The median is the 5th value, h. The mode is still h.
The one low value dragged the mean down by about h, but the median only moved by h and the mode didn’t move at all.
Example 2: A weighted course mark
Section titled “Example 2: A weighted course mark”Mei’s final mark is calculated like this: tests are worth , assignments , and the final exam . Her averages are on tests, on assignments, and on the exam. Find her final mark.
Solution. The weights add to , so multiply each mark by its weight as a decimal:
Her final mark is . Notice that a simple mean of the three marks, , gives the wrong answer because it treats the three parts as equally important.
Example 3: Mean of grouped data
Section titled “Example 3: Mean of grouped data”A class of students recorded their commute times to school.
| Time (min) | Frequency | Midpoint | |
|---|---|---|---|
| to under | |||
| to under | |||
| to under | |||
| to under | |||
| to under | |||
| Total |
Estimate the mean commute time, and find the median interval.
Solution.
With values, the median is between the 15th and 16th values. The first interval holds the first values, and the second holds values to . So the median interval is to under minutes.
This is only an estimate of the mean, because we assumed every value is at the midpoint of its interval.
Example 4: Comparing two data sets
Section titled “Example 4: Comparing two data sets”Two players on a school basketball team scored these points in their last games:
- Aisha:
- Maya:
Compare their scoring using the mean and median. Who is the more reliable scorer?
Solution.
| Mean | Median | |
|---|---|---|
| Aisha | ||
| Maya |
Their means are almost the same, so the means alone suggest they’re equally good scorers. The medians tell a different story: in a typical game, Aisha scores about points but Maya scores about . Maya’s mean is pulled up by two big games ( and ).
Aisha is the more reliable scorer: her scores are close together, while Maya’s swing widely. When you compare data sets, compare both a measure of centre and a measure of spread.
Common mistakes
Section titled “Common mistakes”Finding the median without sorting first. The median is the middle of the ordered list. Always put the data in order before you look for the middle.
Taking the middle position as the median value. For , the median is the 5th value, not . The formula gives a position, not the answer.
Taking a simple mean when the parts have different weights. Course marks, GPA, and averages of groups of different sizes all need a weighted mean.
Using interval endpoints instead of midpoints for grouped data. Use the midpoint of each interval, and remember that the result is an estimate, not an exact mean.
Reporting the mean when there are outliers. One very large salary can make an “average” salary misleading. For skewed data or data with outliers, the median usually describes a typical value better.
Comparing data sets with only one number. Two sets with the same mean can be very different. Look at the median and the spread too.
Practice
Section titled “Practice”1. (Warm-up) Find the mean, median, and mode: .
Solution
In order: . The sum is , so the mean is . The median is the 4th value, . The mode is .
2. (Warm-up) Find the mean and median: .
Solution
The sum is , so the mean is .
In order: . The median is .
3. (Warm-up) Which measure of central tendency (mean, median, or mode) is best in each situation? Explain briefly.
- (a) A store decides which shoe size to order the most of.
- (b) A survey asks students for their favourite season.
- (c) A real estate agent describes a typical house price in a town with a few mansions.
Solution
(a) Mode: the store wants the size that sells most often.
(b) Mode: the data are categorical, so the mean and median don’t make sense.
(c) Median: the mansions are outliers that would pull the mean up.
4. (Core) In a course, term work is worth and the final exam is worth . Jordan’s term mark is . What mark does Jordan need on the exam to finish with at least ?
Solution
Let be the exam mark:
Jordan needs about on the exam.
5. (Core) Forty students recorded how long they spent on homework last night.
| Time (min) | to under | to under | to under | to under |
|---|---|---|---|---|
| Frequency |
- (a) Estimate the mean time.
- (b) Which interval contains the median?
Solution
(a) The midpoints are :
(b) The median is between the 20th and 21st values. The first two intervals hold values, and the third holds values to . The median interval is to under minutes.
6. (Core) A runner’s times (in seconds) for six m sprints are . In the last sprint, she tripped.
- (a) Find the mean and median of all six times.
- (b) Find the mean and median without the .
- (c) Which measure better describes her typical time? Why?
Solution
(a) Mean: s. Median: s.
(b) Mean: s. Median: s.
(c) The median. The outlier raised the mean by more than s, but changed the median by only s. A mean of s is slower than five of her six runs.
7. (Core) Two brands of batteries were tested in the same flashlight. Lifetimes in hours:
- Brand A:
- Brand B:
Find the mean and median for each brand. Which brand would you buy, and why?
Solution
Brand A: mean h, median h.
Brand B: mean h, median h.
Brand B lasts longer on average, but its lifetimes are much more spread out ( to h, compared with to h for A). If you want the longest life, choose B. If you need batteries you can count on (for example, for an emergency kit), A is more predictable. Either answer is fine with a good reason.
8. (Challenge) One class of students has a mean test mark of . Another class of students has a mean of . Find the mean mark of all students. Why isn’t it ?
Solution
Find each class’s total, then divide by the total number of students:
This is a weighted mean with the class sizes as weights. The answer isn’t because the second class has more students, so it pulls the combined mean toward .
9. (Challenge) Make up a set of five positive whole numbers with a mean of , a median of , and a mode of .
Solution
The median is , so the middle (3rd) value is . The mode is , so must appear at least twice, and it has to be below the median: the list starts . The mean is , so the sum is , and the last two values add to . They must both be greater than and different from each other (so stays the only mode).
One answer: . Check: mean , median , mode . ✓ (Other answers, such as , also work.)