Mean, median, mode
Three ways to summarise the 'centre' of data.
Mean (arithmetic average):
Affected by EVERY value, including outliers.
Median. Sort the data; the middle value:
- If is ODD: the middle value (position ).
- If is EVEN: average the two middle values.
LESS affected by outliers — a good summary for skewed data.
Mode. The most frequently occurring value. There can be:
- ONE mode (unimodal).
- TWO modes (bimodal).
- NO mode (every value distinct).
The ONLY measure that works for purely categorical data.
Worked example. Dataset: .
- Mean: .
- Median: middle value of 7 sorted values is the 4th = .
- Mode: (appears twice).
- Notice: the mean is dragged up by the outlier 22. The median better represents 'typical'.
Range: max − min = .
- Mean: total / count.
- Median: middle (after sorting).
- Mode: most frequent.
- Mean affected by outliers; median is robust.