Worked examples · Sheet 3
Medians of odd-sized data sets
Theory used:Rank convention for the first and third quartilesReading the central positions
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Nine measurements take values , , , with counts , , , . Find the median and quartiles, using nearest ranks for and .
| Value | Frequency | Cumulative count |
|---|---|---|
The products for the quartiles are and , rounded up to and respectively. The median uses rank five. The first three observations end with value . The value takes positions four through seven, so it is both the median and third quartile. These two summaries can coincide because one value occupies several ranks.
Exercise 2
The values are . The maximum is corrected from to . Compare the medians before and after.
Sort the list again after the correction. The new takes a position before the old centre. There are still seven observations, so the fourth value is needed, but that position now contains . The median stays the same if the maximum is moved but that observation remains beyond the centre. Here it crosses the central positions, so the median falls.
Exercise 3
The seven values may repeat. For which values of is the median ?
With seven observations, look at the fourth position. Three of the six known values are at most . If exceeds , counting up to never reaches fourth place. If , four observations are at most and at most three are strictly smaller. So the fourth position is . Equality is allowed because two copies occupy two positions.