Sample medians
The median is the central ordered observation, or the average of the two central observations under the even-size convention used here.
On this page 7 sections
01A median is a middle value of ordered data#
A median is a middle value of ordered data. Sort from smallest to largest, keeping repeated observations. With an odd count, select the single middle observation.
With an even count, this lesson averages the two middle observations. In , those are and , giving .
Sample: 9, 2, 5. Median? If even, average the middle two.
Show answer and explanation
Sorted: 2, 5, 9. Median 5.
02A position tells you which observation to read#
A position tells you which observation to read. It is not itself the median. In , the middle position is second; the median is .
Counts preserve repeated observations. If occurs three times and once, the ordered list is . The middle two are both , so the median is .
Exact counts: 2 occurs 2 times; 8 occurs 4 times. Median? Average the middle two if even.
Show answer and explanation
Central values 8 and 8; median 8.
03Only the central positions matter#
Only the central positions matter. Averaging the smallest and largest values gives the midpoint of the range, which can differ from the median.
Sample: 1, 3, 4, 10. “Average extremes: 5.5.” Median? Average the middle two.
Show answer and explanation
(3+4)/2=3.5.
Sort all observations and locate the center. For an even count, average the two middle values.
- Locate the central observation or pair.
Sources & further reading
- [1]