Mean, median, quartiles: who finds what, how
Three location indicators, three ways to summarize a data set. Don't mix them up; know when to use each.
The three indicators
Mean
Sensitive to extreme values (an outlier pulls it).
Median
The value that splits the ordered data into two equal halves.
- If is odd: middle value.
- If is even: mean of the two middle values.
Robust: barely affected by outliers.
Quartiles and
- = value splitting the lower quarter (25% below)
- = value splitting the upper quarter (75% below)
- Interquartile range: (spread, ignoring extremes)
Step-by-step method
Step 1: sort the data.
Step 2: count .
Step 3: apply positions.
- Median:
- odd → rank
- even → mean of ranks and
- : rank
- : rank
Example
Data: 3, 7, 8, 12, 5, 6, 9, 15, 10.
Sorted: 3, 5, 6, 7, 8, 9, 10, 12, 15 (n = 9).
- Mean: 75/9 ≈ 8.33
- Median: rank 5 → 8
- : rank 3 → 6
- : rank 7 → 10
- IQR: 10 − 6 = 4
Mean vs median: which to pick?
- Mean: for symmetric data without outliers.
- Median: for skewed data or with extreme values (salaries, house prices).
Classic example: 10 employees where 9 earn 100,000. Mean = 2000 (representative).
Common mistakes
- Forgetting to sort before finding the median.
- Mixing up value and rank: if the value at rank 3 is 6, the median is NOT 3.
- Using the mean when there are outliers.
Data: 2, 4, 7, 9, 12. The median is:
Mini-quiz
Question 1 / 3Data: 1, 3, 5, 7, 9. Mean?
