### Double Box-and-Whisker Plots

**Double box-and-whisker plots** give you a quick visual comparison of 2 sets of data, as was also found with other double graph forms covered in previous sections . The difference with double box-and-whisker plots is that you are also able to quickly visually compare the means, the medians, the maximums (upper range), and the minimums (lower range) of the data.

The double box-and-whisker plots in the first 2 examples were drawn using a program called Autograph. You can also draw double box-and-whisker plots by hand using pencil and paper or by using your TI-84 calculator, as was done in the third example.

#### Drawing Box-and-Whisker Plots

1. Emma and Daniel are surveying the times it takes students to arrive at school from home. There are 2 main groups of commuters who were in the survey. There were those who drove their own cars to school, and there were those who took the school bus. Emma and Daniel collected the following data:

\begin{align*}&\text{Bus times (min)} \qquad 14 \quad 18 \quad 16 \quad 22 \quad 25 \quad 12 \quad 32 \quad 16 \quad 15 \quad 18\\
&\text{Car times (min)} \qquad 12 \quad 10 \quad 13 \quad 14 \quad 9 \quad \ \ 17 \quad 11 \quad 10 \quad 8 \quad \ 11\end{align*}

Draw a box-and-whisker plot for both sets of data on the same number line. Use the double box-and-whisker plots to compare the times it takes for students to arrive at school either by car or by bus.

When plotted, the box-and-whisker plots look like the following:

Using the medians, 50% of the cars arrive at school in 11 minutes or less, whereas 50% of the students arrive by bus in 17 minutes or less. The range for the car times is \begin{align*}17 - 8 = 9\end{align*}

2. A new drug study was conducted by a drug company in Medical Town. In the study, 15 people were chosen at random to take Vitamin X for 2 months and then have their cholesterol levels checked. In addition, 15 different people were randomly chosen to take Vitamin Y for 2 months and then have their cholesterol levels checked. All 30 people had cholesterol levels between 8 and 10 before taking one of the vitamins. The drug company wanted to see which of the 2 vitamins had the greatest impact on lowering people’s cholesterol. The following data was collected:

\begin{align*}& \text{Vitamin X} \qquad 7.2 \quad 7.5 \quad 5.2 \quad 6.5 \quad 7.7 \quad 10 \quad 6.4 \quad 7.6 \quad 7.7 \quad 7.8 \quad 8.1 \quad 8.3 \quad 7.2 \quad 7.1 \quad 6.5\\
& \text{Vitamin Y} \qquad 4.8 \quad 4.4 \quad 4.5 \quad 5.1 \quad 6.5 \quad \ 8 \quad 3.1 \ \quad 4.6 \quad 5.2 \quad 6.1 \quad 5.5 \quad 4.2 \quad 4.5 \quad 5.9 \quad 5.2\end{align*}

Draw a box-and-whisker plot for both sets of data on the same number line. Use the double box-and-whisker plots to compare the 2 vitamins and provide a conclusion for the drug company.

When plotted, the box-and-whisker plots look like the following:

Using the medians, 50% of the people in the study had cholesterol levels of 7.5 or lower after being on Vitamin X for 2 months. Also 50% of the people in the study had cholesterol levels of 5.1 or lower after being on Vitamin Y for 2 months. Knowing that the participants of the survey had cholesterol levels between 8 and 10 before beginning the study, it appears that Vitamin Y had a bigger impact on lowering the cholesterol levels. The range for the cholesterol levels for people taking Vitamin X was \begin{align*}10 - 5.2 = 4.8\end{align*}

#### Drawing a Double Box-and-Whisker Plot Using a Calculator

Draw the double box-and-whisker plots in Example B using the TI-84 calculator.

Follow the key sequence below to draw the double box-and-whisker plots:

After entering the data into L1 and L2, the next step is to graph the data by using STAT PLOT.

The resulting graph looks like the following:

You can then press \begin{align*}\boxed{\text{TRACE}}\end{align*}

**Points to Consider**

- How is comparing double graphs (i.e., double box-and-whisker plots) useful when doing statistics?

### Example

2 campus bookstores are having a price war on the prices of their first-year math books. James, a first-year math major, is going into each store to try to find the cheapest books he can find. He looks at 5 randomly chosen first-year books for first-year math courses in each store to determine where he should buy the 5 textbooks he needs for his courses this coming year. He collects the following data:

\begin{align*}& \text{Bookstore A prices} (\$) \qquad 95 \quad \ 75 \quad 110 \quad 100 \quad 80\\
& \text{Bookstore B prices} (\$) \qquad 120 \quad 60 \quad 89 \quad \ 84 \quad 100\end{align*}

#### Example 1

Draw a box-and-whisker plot for both sets of data on the same number line. Use the double box-and-whisker plots to compare the 2 bookstores' prices, and provide a conclusion for James as to where to buy his books for his first-year math courses.

The box-and-whisker plots are plotted and look like the following:

Using the medians, 50% of the books at Bookstore A are likely to be in the price range of $95 or less, whereas at Bookstore B, 50% of the books are likely to be around $89 or less. At first glance, you would probably recommend to James that he go to Bookstore B. Let’s look at the ranges for the 2 bookstores to see the spread of data. For Bookstore A, the range is \begin{align*}\$110 - \$75 = \$35\end{align*}

### Review

- International Baccalaureate has 2 levels of courses, which are standard level (SL) and higher level (HL). Students say that study times are the same for both the standard level exams and the higher level exams. The following data represents the results of a survey conducted to determine how many hours a random sample of students studied for their final exams at each level: \begin{align*}& \text{HL Exams} \qquad 15 \quad 16 \quad 16 \quad 17 \quad 19 \quad 10 \quad 5 \quad 6 \quad 5 \quad 5 \quad 8 \quad 10 \quad \ 8 \quad 12 \quad 17\\
& \text{SL Exams} \qquad \ 10 \quad 6 \quad \ 6 \quad \ \ 7 \quad \ 9 \ \quad 12 \quad \ 2 \quad 6 \quad 2 \quad 5 \quad 7 \quad 20 \quad 18 \quad 8 \quad \ 18\end{align*}
HL Exams1516161719105655810 81217SL Exams 106 6 7 9 12 2625720188 18 Draw a box-and-whisker plot for both sets of data on the same number line. Use the double box-and-whisker plots to determine the five-number summary for both sets of data. Compare the times students prepare for each level of exam. - Create the double box-and-whisker plots in question 1 using a TI calculator. Use the following WINDOW settings:
- Students in the AP math class at BCU High School took their SATs for university entrance. The following scores were obtained for the math and verbal sections: \begin{align*}& \text{Math} \qquad \ \ 529 \quad 533 \quad 544 \quad 562 \quad 513 \quad 519 \quad 560 \quad 575 \quad 568 \quad 537 \quad 561 \quad 522 \quad 563 \quad 571\\
& \text{Verbal} \qquad \ 499 \quad 509 \quad 524 \quad 530 \quad 550 \quad 499 \quad 545 \quad 560 \quad 579 \quad 524 \quad 478 \quad 487 \quad 482 \quad 570\end{align*}
Math 529533544562513519560575568537561522563571Verbal 499509524530550499545560579524478487482570 Draw a box-and-whisker plot for both sets of data on the same number line. Use the double box-and-whisker plots to determine the five-number summary for both sets of data. Compare the data for the 2 sections of the SAT using the five-number summary data. - Create the double box-and-whisker plots in question 3 using a TI calculator. Use the following WINDOW settings:

The following box-and-whisker plots were drawn to analyze the data collected in a survey of scores for the doubles performances in the figure skating competitions at 2 Winter Olympic games. The box-and-whisker plot on the top represents the scores obtained at the 2010 winter games in Whistler, BC. The box-and-whisker plot on the bottom represents the scores obtained at the 2006 winter games in Torino, Italy.

Here is what the double box-and-whisker plots look like when created with a TI-84 calculator:

Use the double box-and-whisker plots to answer the following questions:

- What is the five-number summary for the 2006 games?
- What is the five-number summary for the 2010 games?
- 50% of the judge’s scores were at least what for the 2006 games? 50% of the judge’s scores were at least what for the 2010 games?
- What was the range for the scores in the 2006 games? What was the range for the scores in the 2010 games?
- In which of the winter games would you say that the data is more equally spread out?
- In which of the winter games would you say that the scoring was more predictable and reliable?

### Review (Answers)

To view the Review answers, open this PDF file and look for section 8.5.