Ctrl+k

Construct and interpret box plots

A box plot represents a data set on a labelled, scaled axis using its five-number summary: minimum, lower quartile, median, upper quartile, and maximum. Interpreting it involves comparing centre and spread, distinguishing the range from the interquartile range (the spread of the middle half), and describing possible skewness or outliers when a stated convention identifies them; unequal segment lengths represent unequal numerical intervals, not unequal numbers of observations, and individual data values cannot generally be recovered.

Detailed Explanation: Construct and interpret box plots

A box plot shows a data set using five values:

  • Minimum
  • Lower quartile, Q1Q_1
  • Median
  • Upper quartile, Q3Q_3
  • Maximum

The box shows the middle 50%50\% of the data, and the lines extending from the box are called whiskers.

Worked example

Construct and interpret a box plot for:

5, 7, 8, 9, 10, 12, 14, 205,\ 7,\ 8,\ 9,\ 10,\ 12,\ 14,\ 20

The data is already in order.

1. Find the median

There are 88 values, so the median is the average of the middle two values:

Median=9+102=9.5\text{Median}=\frac{9+10}{2}=9.5

2. Find the lower quartile

The lower half is:

5, 7, 8, 95,\ 7,\ 8,\ 9

Its median is:

Q1=7+82=7.5Q_1=\frac{7+8}{2}=7.5

3. Find the upper quartile

The upper half is:

10, 12, 14, 2010,\ 12,\ 14,\ 20

Its median is:

Q3=12+142=13Q_3=\frac{12+14}{2}=13

4. Record the five-number summary

5. Draw the box plot

Draw a labelled, evenly scaled number line. Mark 55, 7.57.5, 9.59.5, 1313, and 2020.

  • Draw a box from 7.57.5 to 1313.
  • Draw a line inside the box at 9.59.5 for the median.
  • Draw whiskers from 7.57.5 to 55 and from 1313 to $20.

The box plot should have this general structure:

5—[ 7.5∣9.5  13 ]—205\quad\text{---}\quad [\ 7.5\quad|\quad 9.5\quad\ \ 13\ ]\quad\text{---}\quad20

The positions must be placed according to the scale. For example, the distance from 1313 to 2020 should be longer than the distance from 55 to 7.57.5 because 77 is greater than 2.52.5.

Interpret the box plot

The range is the distance from the minimum to the maximum:

Range=20−5=15\text{Range}=20-5=15

The interquartile range is the spread of the middle half of the data:

IQR=Q3−Q1=13−7.5=5.5\text{IQR}=Q_3-Q_1=13-7.5=5.5

The median is 9.59.5, so a typical centre of the data is about 9.59.5. The middle half of the values lies from 7.57.5 to 1313.

The right whisker, from 1313 to 2020, is longer than the left whisker, from 55 to 7.57.5. This suggests the data may be skewed to the right. However, the box plot does not show the individual data values, so the original list cannot generally be recovered from it.

Do not call 2020 an outlier unless a particular outlier rule has been given. Using the common 1.5×IQR1.5\times\text{IQR} rule, the upper fence is

Q3+1.5(IQR)=13+1.5(5.5)=21.25,Q_3+1.5(\text{IQR})=13+1.5(5.5)=21.25,

so 2020 would not be identified as an outlier by that rule.

Learn by doing: Construct and interpret box plots

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Statistics - Quartiles - Data Set (With Outliers) to Box Plot


    ?