Median, mode and mean in one line each
- Median: the middle number after sorting.
- Mode: the number that shows up most often.
- Mean: the total divided by the count.
Take 3, 7, 7, 2, 9. Sorted it is 2, 3, 7, 7, 9. The median is 7, the mode is 7 and the mean is 28 ÷ 5 = 5.6.
Finding the median
Always sort first. That is the step that costs marks when it is skipped. With an odd count the median is the middle value. With an even count there are two middle values, so average them. For 2, 3, 7, 7 the middle two are 3 and 7, so the median is 5, a number that is not even in the list.
Finding the mode
Count how often each value appears. If two values tie for the top count, the data is bimodal and both are modes. More than two is multimodal. If every value appears equally often, there is no mode, and that is a perfectly fine answer.
The mode is the only one of the three that works for things you cannot add up, like the most common shoe size or favourite colour.
Which one should you quote?
For house prices or incomes, the median is usually the fair one, because a few very large values pull the mean up. For test marks that are spread evenly, the mean is fine. The range (largest minus smallest) gives a quick feel for the spread, but it only looks at the two extremes.