Glossary
Median
Also written: middle value
Definition
The median is the middle value once the data is in order. With an even count it is the mean of the two middle values. Because it depends on position rather than size, an outlier barely moves it.
Finding it
Sort first. The median of is , and reading the middle of the unsorted list would give .
With an odd count there is one middle value:
With an even count, take the mean of the two middle values:
Why it resists outliers
The median cares only about position. A value ten times too large counts exactly as much as one slightly too large — both are simply “above the middle”.
| Data | Mean | Median |
|---|---|---|
Replacing with more than triples the mean and leaves the median where it was. That stability is why house prices, salaries and household incomes are reported as medians — a few very large values are normal in that data.
Where else it appears
The median is the middle line of a box plot, and it splits the data in half to produce the quartiles: is the median of the lower half and the median of the upper half.
Pair the median with the interquartile range when reporting spread. Both ignore the tails, so they describe the data consistently.
Lessons that use this term
- Mean, Median and Mode: The Three Averages
How to find the mean, median and mode of a data set, what each one measures, and how to choose between them when an outlier pulls the mean away from the middle.
- Box Plots: Reading the Five-Number Summary
How to build a box plot from the five-number summary, what the box and whiskers each show, how to spot skew from the median line, and how to compare two groups.
- Range, Interquartile Range and Mean Absolute Deviation
How to measure how spread out a data set is using range, interquartile range and mean absolute deviation, and why two sets with the same mean can be nothing alike.