25.1 Quartiles, interquartile range and box plots — Learn
Prerequisites: order data, find a median, and calculate a range.
Objectives: find quartiles and the interquartile range, draw a box plot, and interpret these measures.
A quartile divides ordered data into four equal groups. The lower quartile is the median of the lower half. The upper quartile is the median of the upper half. The interquartile range (IQR) measures the spread of the middle half: .
Example 1. Find the median, quartiles and IQR for the chapter travel times.
There are 20 values, so the median is the mean of positions 10 and 11:
The lower half has positions 1 to 10, so .
The upper half has positions 11 to 20, so .
Example 2. Draw a box plot from the five-number summary .
Draw a number line using a consistent scale. Mark the minimum and maximum with whiskers, and draw a box from to . Mark the median inside the box.
Predict: predict how the box changes if the upper quartile moves from to while the other values stay fixed. Write your prediction down first.
Test: use the control to test your prediction.
Explain: which part represents the middle half of the data? Write your explanation before reading on.
Watch out. Do not calculate the IQR as . The upper quartile is larger, so subtract from ; check that the spread is positive.
Progress check
For the travel times, the middle half runs from 17.5 to 26.5 minutes. Does this match your first prediction of a narrow or wide interval? Give a reason.
You should now be able to
- find the median and quartiles of an ordered list;
- calculate and interpret the interquartile range;
- draw and read a box plot from a five-number summary.