Statistics and Mechanics Year 1, chapter 3 (Representations of data), section 3.2
The five-number summary
The minimum, , median, and maximum. A box plot (box-and-whisker diagram) shows them:
- A box from to , with a line at the median.
- Whiskers from the box to the smallest and largest values that are not outliers.
- Outliers marked with a cross () beyond the whiskers.
It is drawn to scale along a number line.
Worked example 1
Data have minimum , , median , and maximum (no outliers). The box runs from to with a line at , and whiskers reach and .
If were also in the data, it would be an outlier (limit ), marked with a cross, and the upper whisker would stop at .
Skewness
- Symmetrical: the median is in the middle of the box, and the whiskers are about equal.
- Positive skew: the median is closer to , and the upper whisker is longer.
- Negative skew: the median is closer to , and the lower whisker is longer.
In the example, the median is , closer to (distance 3) than to (distance 4.5), so there is slight positive skew.
Comparing two box plots
Compare a measure of location (the medians) and a measure of spread (the IQRs or ranges), in context.
Worked example 2
Class A has median and IQR ; class B has median and IQR . Class A had higher marks on average and was more consistent.
Common mistake: drawing the whiskers to the outliers. The whiskers stop at the last value that is not an outlier, and outliers get a cross. Also, draw the plot to scale on a labelled axis.
Exam tip: when comparing, always use context (for example "the median time for class A is shorter"). Comment on both the location and the spread, and mention skew if the plot shows it.
Check yourself
What does the line inside the box show?
The median.
What does a longer upper whisker suggest?
Positive skew.
How are outliers shown on a box plot?
With a cross.