Quartiles, box plots and outliers

Find quartiles and the interquartile range from ordered data, construct five-number summaries, identify outliers using fences, and interpret parallel box plots.

Worked examples

Finding quartiles and IQR

Straightforward

Problem

The number of hours of screen time recorded for 7 students, listed in order, are: 5,9,13,17,21,25,295, 9, 13, 17, 21, 25, 29. Find Q1Q_1, Q2Q_2, Q3Q_3 and the IQR.

Five-number summary and outlier test

Moderate

Problem

A dataset of 8 values, listed in order, is: 10,14,18,22,26,30,34,6010, 14, 18, 22, 26, 30, 34, 60. Construct the five-number summary and determine whether 60 is an outlier.

Interpreting parallel box plots and the effect of removing an outlier

Challenging

Problem

Two datasets are displayed as parallel box plots with the following five-number summaries.

Dataset A: min =20= 20, Q1=35Q_1 = 35, Q2=45Q_2 = 45, Q3=65Q_3 = 65, max =80= 80

Dataset B: min =30= 30, Q1=50Q_1 = 50, Q2=65Q_2 = 65, Q3=75Q_3 = 75, max =85= 85

(a) Compare the centre, spread and shape of the two distributions.

(b) Dataset B consists of 6 values with a mean of 62. The value 85 is removed as an outlier. Find the mean of the remaining 5 values.

Practise

Q1·Straightforward
The data values below are listed in order.
3,7,9,12,15,18,213, 7, 9, 12, 15, 18, 21

Find the median (Q2Q_2).
Q2·Straightforward
The data values below are listed in order.
5,8,11,14,17,20,235, 8, 11, 14, 17, 20, 23

Find the lower quartile (Q1Q_1).
Q3·Straightforward
The data values below are listed in order.
2,5,8,11,14,172, 5, 8, 11, 14, 17

Find the interquartile range (IQR).
Q4·Straightforward
The data values below are listed in order.
4,6,8,10,12,14,16,184, 6, 8, 10, 12, 14, 16, 18

Find the upper quartile (Q3Q_3).
Q5·Moderate
The data values below are listed in order.
12,15,18,21,24,27,3012, 15, 18, 21, 24, 27, 30

Find the interquartile range (IQR).
Q6·Moderate
A dataset has lower quartile Q1=14Q_1 = 14 and upper quartile Q3=26Q_3 = 26. Calculate the upper fence for identifying outliers using Q3+1.5×IQRQ_3 + 1.5 \times \text{IQR}.
Q7·Moderate
A dataset has Q1=8Q_1 = 8 and Q3=20Q_3 = 20. A student claims that the value 42 is an outlier. Is the student correct?
Q8·Moderate
A dataset has lower quartile Q1=35Q_1 = 35 and upper quartile Q3=55Q_3 = 55. Calculate the lower fence for identifying outliers using Q11.5×IQRQ_1 - 1.5 \times \text{IQR}.
Q9·Challenging
Two classes sit a mathematics test. Their results are summarised below.

Class A: Q1=45Q_1 = 45, Q2=60Q_2 = 60, Q3=75Q_3 = 75

Class B: Q1=50Q_1 = 50, Q2=68Q_2 = 68, Q3=80Q_3 = 80

Which class has the higher median score?
Q10·Challenging
Two datasets are summarised using five-number summaries.

Dataset P: min =10= 10, Q1=42Q_1 = 42, Q2=55Q_2 = 55, Q3=72Q_3 = 72, max =90= 90

Dataset Q: min =15= 15, Q1=50Q_1 = 50, Q2=62Q_2 = 62, Q3=74Q_3 = 74, max =88= 88

Which dataset has the greater interquartile range?
Q11·Challenging
A box plot has Q1=20Q_1 = 20, Q2=30Q_2 = 30, Q3=55Q_3 = 55. What does the position of the median suggest about the shape of the distribution?
Q12·Challenging
A dataset of 10 values has a mean of 1212. The value 4848 is identified as an outlier and removed. Find the mean of the remaining 9 values.