Outliers and boxplots

About this lesson

Statistics (AP-aligned) › Exploring one-variable data

To save a PDF, choose “Save as PDF” in the print dialog.

Outliers and boxplots

Exploring one-variable data.

Warm-up

Three quick questions from earlier lessons.

Discover

Q1=20Q_1 = 20, Q3=30Q_3 = 30, so IQR =10= 10. Is a value of 48 unusually large?

  1. Yes, it is above 30+1.5×10=4530 + 1.5 \times 10 = 45
  2. No: only values above twice Q3Q_3, 60, are outliers

Key idea

A rule of thumb for outliers, and a picture of the five-number summary.

1.5 × IQR rule: a value is an outlier if it is below Q1−1.5 IQRQ_1 - 1.5\,\text{IQR} or above Q3+1.5 IQRQ_3 + 1.5\,\text{IQR}. A boxplot draws the box from Q1Q_1 to Q3Q_3, a line at the median, whiskers to the most extreme non-outliers, and outliers as separate points.

Worked example

Q1=14Q_1 = 14, Q3=26Q_3 = 26. The fences.

IQR =12= 12
26 − 14.
Fences 14−18=−414 - 18 = -4 and 26+18=4426 + 18 = 44
1.5 × 12 = 18.
Outliers: below −4-4 or above 4444
Any value beyond them.

Your turn, guided

Your turn: Q1=40Q_1 = 40, Q3=50Q_3 = 50. The lower fence.

2525
40 − 15.

Practice ★

  1. A data set has Q1=24Q_1 = 24 and Q3=32Q_3 = 32. Above which value is a data point an outlier by the 1.5×IQR1.5 \times \text{IQR} rule?
  2. A data set has Q1=36Q_1 = 36 and Q3=66Q_3 = 66. Above which value is a data point an outlier by the 1.5×IQR1.5 \times \text{IQR} rule?
  3. A data set has Q1=19Q_1 = 19 and Q3=57Q_3 = 57. Above which value is a data point an outlier by the 1.5×IQR1.5 \times \text{IQR} rule?

Watch out!

Practice ★★

  1. Q1=34Q_1 = 34 and Q3=44Q_3 = 44. Below which value is a data point an outlier?
  2. Q1=40Q_1 = 40 and Q3=48Q_3 = 48. Below which value is a data point an outlier?
  1. A boxplot of 81 values shows which summary?
    1. The five-number summary (min, Q1, median, Q3, max), with outliers plotted separately
    2. The mean and the standard deviation
    3. How many values fall in each interval

Exit ticket

Three questions to check you have got it.

  1. A data set has Q1=24Q_1 = 24 and Q3=32Q_3 = 32. Above which value is a data point an outlier by the 1.5×IQR1.5 \times \text{IQR} rule?
  2. A data set has Q1=36Q_1 = 36 and Q3=66Q_3 = 66. Above which value is a data point an outlier by the 1.5×IQR1.5 \times \text{IQR} rule?
  3. A data set has Q1=19Q_1 = 19 and Q3=57Q_3 = 57. Above which value is a data point an outlier by the 1.5×IQR1.5 \times \text{IQR} rule?

Summary card

Outliers and boxplots

  • Fences: Q1−1.5 IQRQ_1 - 1.5\,\text{IQR} and Q3+1.5 IQRQ_3 + 1.5\,\text{IQR}.
  • Boxplot: five-number summary plus outliers.

Watch out: 1.5 × IQR, not 1 × IQR.

CC BY-SA 4.0