Lesson 7Box Plots and Interquartile Range

Learning Goal

Let’s explore how box plots can help us summarize distributions.

Learning Targets

  • I can use IQR to describe the spread of data.

  • I know what information a box plot shows and how it is constructed.

Lesson Terms

  • box plot
  • interquartile range (IQR)
  • median
  • quartile
  • range

Warm Up: Notice and Wonder: Two Parties

Problem 1

Here are two dot plots including the mean marked with a triangle. Each shows the ages of partygoers at a party.

Two dot plots for “age in years,” labeled “data set A” and “data set B”. On each dot plot, the numbers 5 through 45, in increments of 5, are indicated. There is a red triangle indicated at 15 on “data set A” and at 20 on “data set B”.  The data for “data set A” are as follows: 8 years, 12 dots. 10 years, 3 dots. 12 years, 1 dot. 15 years, red triangle. 36 years, 1 dot. 42 years, 1 dot. 44 years, 2 dots.  The data for “data set B” are as follows: 7 years, 1 dot. 8 years, 1 dot. 9 years, 1 dot. 10 years, 2 dots. 15 years, 1 dot. 16 years, 1 dot. 20 years, 2 dots and 1 red triangle. 22 years, 1 dot. 23 years, 1 dot. 24 years, 1 dot. 28 years, 1 dot. 30 years, 1 dot. 33 years, 1 dot. 35 years, 1 dot. 38 years, 1 dot. 42 years, 1 dot.

What do you notice and wonder about the distributions in the two dot plots?

Activity 1: The Five-Number Summary

Problem 1

Given are the ages of the people at one party, listed from least to greatest.

  1. Find the median of the data set and label it “50th percentile.” This splits the data into an upper half and a lower half.

    • 7 8 9 10 10 11 12 15 16 20 20 22 23 24 28 30 33 35 38 42

  2. Find the middle value of the lower half of the data, without including the median. Label this value “25th percentile.”

  3. Find the middle value of the upper half of the data, without including the median. Label this value “75th percentile.”

  4. You have split the data set into four pieces. Each of the three values that split the data is called a quartile.

    • We call the 25th percentile the first quartile. Write “Q1” next to that number.

    • The median can be called the second quartile. Write “Q2” next to that number.

    • We call the 75th percentile the third quartile. Write “Q3” next to that number.

  5. Label the lowest value in the set “minimum” and the greatest value “maximum.”

Problem 2

The values you have identified make up the five-number summary for the data set. Record them here.

Minimum: years  

Q1: years  

Q2: years  

Q3: years  

Maximum: years

Problem 3

The median of this data set is 20. This tells us that half of the people at the party were 20 years old or younger, and the other half were 20 or older. What do each of these other values tell us about the ages of the people at the party?

  1. the third quartile

  2. the minimum

  3. the maximum

Are you ready for more?

Problem 1

There was another party where 21 people attended. Here is the five-number summary of their ages.

minimum:   5       Q1:   6       Q2:   27       Q3:   32       maximum:   60  

  1. Do you think this party had more children or fewer children than the earlier one? Explain your reasoning.

  2. Were there more children or adults at this party? Explain your reasoning.

Activity 2: Human Box Plot

Problem 1

Your teacher will give you the data on the lengths of names of students in your class. Write the five-number summary by finding the data set’s minimum, Q1, Q2, Q3, and the maximum.

Pause for additional instructions from your teacher.

Activity 3: Studying Blinks

Twenty people participated in a study about blinking. The number of times each person blinked while watching a video for one minute was recorded. The data values are shown here, in order from smallest to largest.

  • 3

  • 6

  • 8

  • 11

  • 11

  • 13

  • 14

  • 14

  • 14

  • 14

  • 16

  • 18

  • 20

  • 20

  • 20

  • 22

  • 24

  • 32

  • 36

  • 51

Problem 1

  1. Use the grid and axis to make a dot plot of this data set.

    A blank grid for “number of blinks” with the numbers 0 through 55, in increments of 5 indicated along the horizontal axis. Between each number indicated there are 4 evenly spaced vertical gridlines. There are 13 horizontal gridlines.
  2. Find the median (Q2) and mark its location on the dot plot.

  3. Find the first quartile (Q1) and the third quartile (Q3). Mark their locations on the dot plot.

  4. What are the minimum and maximum values?

Problem 2

A box plot can be used to represent the five-number summary graphically. Let’s draw a box plot for the number-of-blinks data. On the grid, above the dot plot:

  1. Draw a box that extends from the first quartile (Q1) to the third quartile (Q3). Label the quartiles.

  2. At the median (Q2), draw a vertical line from the top of the box to the bottom of the box. Label the median.

  3. From the left side of the box (Q1), draw a horizontal line (a whisker) that extends to the minimum of the data set. On the right side of the box (Q3), draw a similar line that extends to the maximum of the data set.

Problem 3

You have now created a box plot to represent the number of blinks data. What fraction of the data values are represented by each of these elements of the box plot?

  1. The left whisker

  2. The box

  3. The right whisker

Are you ready for more?

Problem 1

Suppose there were some errors in the data set: the smallest value should have been 6 instead of 3, and the largest value should have been 41 instead of 51. Determine if any part of the five-number summary would change. If you think so, describe how it would change. If not, explain how you know.

Lesson Summary

Earlier we learned that the mean is a measure of the center of a distribution and the MAD is a measure of the variability (or spread) that goes with the mean. There is also a measure of spread that goes with the median. It is called the interquartile range (IQR).

Finding the IQR involves splitting a data set into fourths. Each of the three values that splits the data into fourths is called a quartile.

  • The median, or second quartile (Q2), splits the data into two halves.

  • The first quartile (Q1) is the middle value of the lower half of the data.

  • The third quartile (Q3) is the middle value of the upper half of the data. 

For example, here is a data set with 11 values.

Q1

Q2

Q3

  • The median is 33.

  • The first quartile is 20. It is the median of the numbers less than 33. 

  • The third quartile 40. It is the median of the numbers greater than 33.

The difference between the maximum and minimum values of a data set is the range. The difference between Q3 and Q1 is the interquartile range (IQR). Because the distance between Q1 and Q3 includes the middle two-fourths of the distribution, the values between those two quartiles are sometimes called the middle half of the data.

The bigger the IQR, the more spread out the middle half of the data values are. The smaller the IQR, the closer together the middle half of the data values are. This is why we can use the IQR as a measure of spread.

A five-number summary can be used to summarize a distribution. It includes the minimum, first quartile, median, third quartile, and maximum of the data set. For the previous example, the five-number summary is 12, 20, 33, 40, and 49. These numbers are marked with diamonds on the dot plot.

A dot plot. The numbers 10 through 50, in increments of 5, are indicated. There are diamonds indicated at 12, 20, 33, 40 and 49. The data are as follows: 12, 1 dot; 19, 1 dot; 20, 1 dot; 21, 1 dot; 22, 1 dot; 33, 1 dot; 34, 1 dot; 35, 1 dot; 40, 1 dot; 49, 2 dots.

Different data sets can have the same five-number summary. For instance, here is another data set with the same minimum, maximum, and quartiles as the previous example.

A dot plot. The numbers 10 through 50, in increments of 5, are indicated. There are diamonds indicated at 12, 20, 33, 40, and 49. The data are as follows: 12, 1 dot; 14, 1 dot; 16, 1 dot; 18, 1 dot; 20, 1 dot; 24, 1 dot; 26, 1 dot; 28, 1 dot; 31, 1 dot; 33, 2 dots; 36, 1 dot; 38, 1 dot; 39, 1 dot; 40, 1 dot; 44, 1 dot; 46, 1 dot; 48, 1 dot; 49, 1 dot.

A box plot represents the five-number summary of a data set.

It shows the first quartile (Q1) and the third quartile (Q3) as the left and right sides of a rectangle or a box. The median (Q2) is shown as a vertical segment inside the box. On the left side, a horizontal line segment—a “whisker”—extends from Q1 to the minimum value. On the right, a whisker extends from Q3 to the maximum value.

The rectangle in the middle represents the middle half of the data. Its width is the IQR. The whiskers represent the bottom quarter and top quarter of the data set.

The box plots for these data sets are shown above the corresponding dot plots.

Two dot plots - pug weights in kilograms and beagle weights in kilogram with box plots above them.

We can tell from the box plots that, in general, the pugs in the group are lighter than the beagles: the median weight of pugs is 7 kilograms and the median weight of beagles is 10 kilograms. Because the two box plots are on the same scale and the rectangles have similar widths, we can also tell that the IQRs for the two breeds are very similar. This suggests that the variability in the beagle weights is very similar to the variability in the pug weights.