StatisticsExploring One-Variable Data7 of 8
Exploring One-Variable Data · 7

Boxplots and Outliers

When a single extreme value throws off the average, we can summarize a dataset by cutting the sorted list into four equal quarters and drawing a boxplot.

1

Quartiles and the Middle 50% Box

The box in a boxplot shows the middle 50%\share{50\%} of the data, which is what a typical value looks like once you leave out the lowest 25%\share{25\%} and the highest 25%\share{25\%}.

Suppose we time 1111 people waiting for a drink at a coffee shop, sorted from fastest to slowest in minutes:

2,  4,  5,  6,  7,  8,  9,  10,  11,  13,  25\displaystyle \val{2},\; \val{4},\; \val{5},\; \val{6},\; \val{7},\; \val{8},\; \val{9},\; \val{10},\; \val{11},\; \val{13},\; \val{25}

Because the 25\val{25}-minute wait on the right is unusually long, let's cut this sorted list into quarters to see where the middle half of wait times falls.

Quartiles and the Middle 50% Box
2\htmlClass{lc-blue}{2}
4\htmlClass{lc-blue}{4}
5\htmlClass{lc-blue}{5}
6\htmlClass{lc-blue}{6}
7\htmlClass{lc-blue}{7}
8\htmlClass{lc-blue}{8}
9\htmlClass{lc-blue}{9}
10\htmlClass{lc-blue}{10}
11\htmlClass{lc-blue}{11}
13\htmlClass{lc-blue}{13}
25\htmlClass{lc-blue}{25}
minutes\htmlClass{lc-mute}{\text{minutes}}
Q1,    Median,    Q3=  ?\htmlClass{lc-blue}{Q_1},\;\; \htmlClass{lc-blue}{\text{Median}},\;\; \htmlClass{lc-blue}{Q_3} = \;?
Text solution
Find the median in the centerWith 1111 sorted values, the sixth value splits the list into two equal halves of five numbers each:
2,  4,  5,  6,  7⏟lower half,  8⏟Median,  9,  10,  11,  13,  25⏟upper half\displaystyle \begin{aligned} &\underbrace{\val{2},\; \val{4},\; \val{5},\; \val{6},\; \val{7}}_{\text{lower half}},\; \underbrace{\stat{8}}_{\stat{\text{Median}}},\; \\[4pt] &\underbrace{\val{9},\; \val{10},\; \val{11},\; \val{13},\; \val{25}}_{\text{upper half}} \end{aligned}
Find the middle of each half (Q1\stat{Q_1} and Q3\stat{Q_3})The middle of the five lower wait times is the first quartile Q1\stat{Q_1}, and the middle of the five upper wait times is the third quartile Q3\stat{Q_3}:
2,  4,  5⏟Q1,  6,  7,  8⏟Median,  9,  10,  11⏟Q3,  13,  25\displaystyle \begin{aligned} &\val{2},\; \val{4},\; \underbrace{\stat{5}}_{\stat{Q_1}},\; \val{6},\; \val{7},\; \underbrace{\stat{8}}_{\stat{\text{Median}}},\; \\[4pt] &\val{9},\; \val{10},\; \underbrace{\stat{11}}_{\stat{Q_3}},\; \val{13},\; \val{25} \end{aligned}
Draw the box from Q1\stat{Q_1} to Q3\stat{Q_3}The box covers the middle 50%\share{50\%} of the data from Q1\stat{Q_1} to Q3\stat{Q_3}, with a vertical line inside at the median:
Middle 50% box: Q1=5 to Q3=11(Median=8)\displaystyle \begin{aligned} &\text{Middle } \share{50\%} \text{ box: } \\ &\stat{Q_1} = \stat{5} \text{ to } \stat{Q_3} = \stat{11} \\ &(\stat{\text{Median}} = \stat{8}) \end{aligned}

So if this morning was typical, about half of the customers at this coffee shop wait between 5\stat{5} and 11\stat{11} minutes.

Watch what happens to the four sections of the boxplot as Q3\stat{Q_3} moves along the number line.

Every section of the box holds the same 25% of the data; a wider section only means those values are spread further apart.
2

Whiskers and the 1.5 IQR Outlier Rule

To show the bottom 25%\share{25\%} and top 25%\share{25\%} of the data, we draw lines called whiskers outward from the edges of the box to the lowest and highest values, unless a value sits so far from the box that we mark it as an outlier.

If we stretched the right whisker all the way from 11\stat{11} to the unusual 25\val{25}-minute wait, anyone reading the graph would think waits up to 25\val{25} minutes are normal. To decide how far past the box is too far, we measure using the width of the box itself.

Whiskers and the 1.5 IQR Outlier Rule
0\htmlClass{lc-mute}{0}
5\htmlClass{lc-blue}{5}
8\htmlClass{lc-blue}{8}
11\htmlClass{lc-blue}{11}
15\htmlClass{lc-mute}{15}
20\htmlClass{lc-mute}{20}
25\htmlClass{lc-mute}{25}
30\htmlClass{lc-mute}{30}
minutes\htmlClass{lc-mute}{\text{minutes}}
?\htmlClass{lc-pink}{?}

We go one and a half box widths (1.5 IQR\spread{1.5\text{ IQR}}) outward from the edges of the box to set the boundary fences for outliers:

IQR⏟box width=Q3−Q1Lower fence=Q1−1.5 IQRUpper fence=Q3+1.5 IQR\displaystyle \begin{aligned} \underbrace{\spread{\text{IQR}}}_{\text{box width}} &= \stat{Q_3} - \stat{Q_1} \\[4pt] \fence{\text{Lower fence}} &= \stat{Q_1} - \spread{1.5\text{ IQR}} \\[4pt] \fence{\text{Upper fence}} &= \stat{Q_3} + \spread{1.5\text{ IQR}} \end{aligned}
Text solution
Measure one and a half box widths (1.5 IQR\spread{1.5\text{ IQR}})Subtract Q1\stat{Q_1} from Q3\stat{Q_3} to find the width of the coffee-shop box, then multiply by 1.51.5 to get the distance to the fences:
IQR=11−5=61.5 IQR=1.5×6=9\displaystyle \begin{aligned} \spread{\text{IQR}} &= \stat{11} - \stat{5} = \spread{6} \\ \spread{1.5\text{ IQR}} &= 1.5 \times \spread{6} = \spread{9} \end{aligned}
Measure outward from the box edges to mark the fencesSubtract 9\spread{9} from the left box edge Q1=5\stat{Q_1} = \stat{5} and add 9\spread{9} to the right box edge Q3=11\stat{Q_3} = \stat{11}:
Lower fence=5−9=−4Upper fence=11+9=20\displaystyle \begin{aligned} \fence{\text{Lower fence}} &= \stat{5} - \spread{9} = \fence{-4} \\ \fence{\text{Upper fence}} &= \stat{11} + \spread{9} = \fence{20} \end{aligned}
Mark values past the fences as outliers and stop the whiskers at real data pointsChecking our sorted list (2,4,5,6,7,8,9,10,11,13,25\val{2}, \val{4}, \val{5}, \val{6}, \val{7}, \val{8}, \val{9}, \val{10}, \val{11}, \val{13}, \val{25}), only 25\val{25} falls past the upper fence at 20\fence{20}. That means the right whisker stops at 13\val{13}, the furthest actual wait time inside the fence:
Left whisker tip=2,Right whisker tip=13,Outlier=25\displaystyle \begin{aligned} \text{Left whisker tip} &= \val{2}, \\ \text{Right whisker tip} &= \val{13}, \\ \text{Outlier} &= \val{25} \end{aligned}

So 25\val{25} is plotted as a separate outlier asterisk, while the right whisker stretches from 11\stat{11} to 13\val{13} and stops there. Remember that the dashed fences are only temporary boundaries to check for outliers: never stop a whisker at a fence number like 20\fence{20} unless 20\val{20} is actually in your dataset.

−5\htmlClass{lc-mute}{-5}
0\htmlClass{lc-mute}{0}
30\htmlClass{lc-mute}{30}
2\htmlClass{lc-blue}{2}
5\htmlClass{lc-blue}{5}
8\htmlClass{lc-blue}{8}
11\htmlClass{lc-blue}{11}
13\htmlClass{lc-blue}{13}
25\htmlClass{lc-blue}{25}
minutes\htmlClass{lc-mute}{\text{minutes}}
IQR=6\htmlClass{lc-pink}{\text{IQR} = 6}
fence\htmlClass{lc-pink}{\text{fence}}
−4\htmlClass{lc-pink}{-4}
fence\htmlClass{lc-pink}{\text{fence}}
20\htmlClass{lc-pink}{20}

Watch how the right whisker behaves as you drag the highest wait time past the upper fence at 20\fence{20}.

Drag the highest point past the fence to see it break off as an outlier, while the whisker snaps back to the next point inside and the box stays put.
3

Reading a Boxplot and Quarter Percentages

Often we are given a finished boxplot without the original list of numbers, and we want to read the five-number summary, the IQR\spread{\text{IQR}}, and the percentage of the group in a given range directly from the graph.

50\htmlClass{lc-mute}{50}
40\htmlClass{lc-blue}{40}
60\htmlClass{lc-blue}{60}
70\htmlClass{lc-blue}{70}
85\htmlClass{lc-blue}{85}
95\htmlClass{lc-blue}{95}
exam score\htmlClass{lc-mute}{\text{exam score}}
25%\htmlClass{lc-green}{25\%}
25%\htmlClass{lc-green}{25\%}
25%\htmlClass{lc-green}{25\%}
25%\htmlClass{lc-green}{25\%}

Even without knowing how many students are in this class, let's read the five-number summary and find the percent of students who scored above 60\stat{60}, below 85\stat{85}, and between 70\stat{70} and 95\stat{95}.

Reading a Boxplot and Quarter Percentages
n=  ?\htmlClass{lc-ink}{n = \;?}
10\htmlClass{lc-mute}{10}
20\htmlClass{lc-mute}{20}
30\htmlClass{lc-mute}{30}
40\htmlClass{lc-mute}{40}
50\htmlClass{lc-mute}{50}
60\htmlClass{lc-mute}{60}
70\htmlClass{lc-mute}{70}
80\htmlClass{lc-mute}{80}
90\htmlClass{lc-mute}{90}
100\htmlClass{lc-mute}{100}
exam score\htmlClass{lc-mute}{\text{exam score}}
Min,  Q1,  Median,  Q3,  Max=  ?\htmlClass{lc-blue}{\text{Min}},\; \htmlClass{lc-blue}{Q_1},\; \htmlClass{lc-blue}{\text{Median}},\; \htmlClass{lc-blue}{Q_3},\; \htmlClass{lc-blue}{\text{Max}} = \;?
IQR=  ?\htmlClass{lc-pink}{\text{IQR}} = \;?
Text solution
Read the five-number summary and IQR\spread{\text{IQR}} from the graphWith no outliers present, the whisker tips give the Minimum and Maximum, the box edges give Q1\stat{Q_1} and Q3\stat{Q_3}, and the box width gives the IQR\spread{\text{IQR}}:
Min=40,Q1=60,Median=70,Q3=85,Max=95IQR=85−60=25\displaystyle \begin{aligned} \stat{\text{Min}} &= \stat{40}, \\ \stat{Q_1} &= \stat{60}, \\ \stat{\text{Median}} &= \stat{70}, \\ \stat{Q_3} &= \stat{85}, \\ \stat{\text{Max}} &= \stat{95} \\[4pt] \spread{\text{IQR}} &= \stat{85} - \stat{60} = \spread{25} \end{aligned}
Add the 25%\share{25\%} quarters in each score rangeBecause the five summary values divide the class into four equal 25%\share{25\%} quarters (40–60\stat{40}\text{–}\stat{60}, 60–70\stat{60}\text{–}\stat{70}, 70–85\stat{70}\text{–}\stat{85}, and 85–95\stat{85}\text{–}\stat{95}), we count how many quarters sit inside each range:
Above 60:60–70⏟25%+70–85⏟25%+85–95⏟25%=75%Below 85:40–60⏟25%+60–70⏟25%+70–85⏟25%=75%Between 70 and 95:70–85⏟25%+85–95⏟25%=50%\displaystyle \begin{aligned} &\text{Above } \stat{60}\text{:} \\ &\quad \underbrace{\stat{60}\text{–}\stat{70}}_{\share{25\%}} + \underbrace{\stat{70}\text{–}\stat{85}}_{\share{25\%}} + \underbrace{\stat{85}\text{–}\stat{95}}_{\share{25\%}} = \share{75\%} \\[4pt] &\text{Below } \stat{85}\text{:} \\ &\quad \underbrace{\stat{40}\text{–}\stat{60}}_{\share{25\%}} + \underbrace{\stat{60}\text{–}\stat{70}}_{\share{25\%}} + \underbrace{\stat{70}\text{–}\stat{85}}_{\share{25\%}} = \share{75\%} \\[4pt] &\text{Between } \stat{70} \text{ and } \stat{95}\text{:} \\ &\quad \underbrace{\stat{70}\text{–}\stat{85}}_{\share{25\%}} + \underbrace{\stat{85}\text{–}\stat{95}}_{\share{25\%}} = \share{50\%} \end{aligned}

So 75%\share{75\%} of the class scored above 60\stat{60}, 75%\share{75\%} scored below 85\stat{85}, and 50%\share{50\%} scored between 70\stat{70} and 95\stat{95}. Watch out when a boxplot has an outlier asterisk: an outlier is still a real person in the dataset, so if an asterisk sat at 15\val{15}, the true Minimum would be 15\val{15} rather than the whisker tip at 40\stat{40}.

4

Distribution Shape and What a Boxplot Hides

Because tightly packed values create short sections and spread-out values create long sections, comparing the two sides of a boxplot shows whether a distribution is skewed or symmetric. However, summarizing the data with just five numbers also hides what happens inside each quarter.

Skewed right\htmlClass{lc-ink}{\text{Skewed right}}
Skewed left\htmlClass{lc-ink}{\text{Skewed left}}
Symmetric\htmlClass{lc-ink}{\text{Symmetric}}

Let's see how skewness shows up in the box and whiskers, and why a completely symmetric boxplot of restaurant ages with five-number summary values at 10,15,35,55,\stat{10}, \stat{15}, \stat{35}, \stat{55}, and 60\stat{60} cannot tell us whether people are actually gathered near 35\stat{35}.

Distribution Shape and What a Boxplot Hides
0\htmlClass{lc-mute}{0}
10\htmlClass{lc-mute}{10}
20\htmlClass{lc-mute}{20}
30\htmlClass{lc-mute}{30}
40\htmlClass{lc-mute}{40}
Text solution
Compare the left and right sides for skewnessCheck which side of the median is packed into a short space and which side stretches out into a long box section, long whisker, or outliers:
Skewed right:short left side, long right boxsection and right whiskerSkewed left:long left box section and leftwhisker, short right sideSymmetric:median centered in the boxwith roughly equal whiskers\displaystyle \begin{aligned} &\text{Skewed right}\text{:} \\ &\quad \text{short left side, long right box} \\ &\quad \text{section and right whisker} \\[6pt] &\text{Skewed left}\text{:} \\ &\quad \text{long left box section and left} \\ &\quad \text{whisker, short right side} \\[6pt] &\text{Symmetric}\text{:} \\ &\quad \text{median centered in the box} \\ &\quad \text{with roughly equal whiskers} \end{aligned}
Check the five-number summary for the two age groupsWhen half the diners are kids aged 10–20\val{10}\text{–}\val{20} and the other half are grandparents aged 50–60\val{50}\text{–}\val{60}, the five summary numbers still fall symmetrically around 35\stat{35}:
Min=10,Q1=15⏟middle of 10–20 kids,Median=35⏟empty gap,Q3=55⏟middle of 50–60 grandparents,Max=60\displaystyle \begin{aligned} &\stat{\text{Min}} = \stat{10}, \\[4pt] &\underbrace{\stat{Q_1} = \stat{15}}_{\text{middle of } \val{10}\text{–}\val{20} \text{ kids}}, \\[4pt] &\underbrace{\stat{\text{Median}} = \stat{35}}_{\text{empty gap}}, \\[4pt] &\underbrace{\stat{Q_3} = \stat{55}}_{\text{middle of } \val{50}\text{–}\val{60} \text{ grandparents}}, \\[4pt] &\stat{\text{Max}} = \stat{60} \end{aligned}

So the boxplot looks completely symmetric with a median of 35\stat{35}, even though the histogram has two peaks (bimodal) and nobody in the room is in their 30s30\text{s}.

In the interactive below, watch the boxplot and the histogram as the data points in the two middle quarters move outward from the median toward Q1\stat{Q_1} and Q3\stat{Q_3} without passing any of the five summary numbers.

As long as each quarter of the data stays inside its bounds, the two middle quarters can split from one peak at 35 into two separate clusters without changing the boxplot at all.

Key concepts

A boxplot divides a sorted dataset into four equal 25%\share{25\%} quarters using the five-number summary (Min,Q1,Median,Q3,Max\stat{\text{Min}}, \stat{Q_1}, \stat{\text{Median}}, \stat{Q_3}, \stat{\text{Max}}). The middle 50%\share{50\%} of the data sits inside the box from Q1\stat{Q_1} to Q3\stat{Q_3}, whose width is the interquartile range, IQR=Q3−Q1\spread{\text{IQR}} = \stat{Q_3} - \stat{Q_1} (for our coffee wait times, IQR=11−5=6\spread{\text{IQR}} = \stat{11} - \stat{5} = \spread{6}). To check whether extreme points belong to the whiskers or stand alone as outliers, go 1.5 IQR\spread{1.5\text{ IQR}} outward from both edges of the box:

Lower fence=Q1−1.5 IQR,Upper fence=Q3+1.5 IQR\displaystyle \begin{aligned} \fence{\text{Lower fence}} &= \stat{Q_1} - \spread{1.5\text{ IQR}}, \\ \fence{\text{Upper fence}} &= \stat{Q_3} + \spread{1.5\text{ IQR}} \end{aligned}

Any data value outside the fences (5−9=−4\stat{5} - \spread{9} = \fence{-4} and 11+9=20\stat{11} + \spread{9} = \fence{20}) is marked as an outlier asterisk (25\val{25}), while each whisker stops at the furthest real data point inside the fence (13\val{13} on the right, never at the fence 20\fence{20} itself). When no points pass a fence (as on the left down to 2\val{2}, or on the exam boxplot from 40\stat{40} to 95\stat{95}), there are no outliers, and the whisker simply stops at the Minimum or Maximum.

When reading a boxplot, every section holds 25%\share{25\%} of the group regardless of how wide it looks: on the exam boxplot, the narrow section (60–70\stat{60}\text{–}\stat{70}) means that quarter is tightly packed, while the wide whisker (40–60\stat{40}\text{–}\stat{60}) means that quarter is spread out. When the box section and the whisker on one side of the median both stretch out much further than the ones on the other side, the distribution is skewed toward that longer side. However, do not rely on a boxplot alone when you need to check for gaps, clusters, or multiple peaks. A room of kids (10–20\val{10}\text{–}\val{20}) and grandparents (50–60\val{50}\text{–}\val{60}) has two peaks and an empty gap around 35\stat{35}, but its symmetric boxplot (10,15,35,55,60\stat{10}, \stat{15}, \stat{35}, \stat{55}, \stat{60}) shows neither the peaks nor the gap, so use a histogram or stemplot whenever you need to see how the data points are arranged inside the quarters.

5

Practice

1

A bakery tracks the number of sourdough loaves sold over 11 mornings, sorted from least to greatest: 12, 14, 15, 17, 18, 20, 22, 23, 26, 28, 30. Find the median, Q1\stat{Q_1}, Q3\stat{Q_3}, and the IQR\spread{\text{IQR}}, and explain what the box from Q1\stat{Q_1} to Q3\stat{Q_3} tells you about the bakery's morning sales.

With 1111 sorted values, find the single middle value first, then look at the five values to its left and the five values to its right.

The 6th value in the sorted list is the median, splitting the remaining values into a lower half of five numbers and an upper half of five numbers:
12,  14,  15,  17,  18⏟lower five,  20⏟Median,  22,  23,  26,  28,  30⏟upper five\displaystyle \begin{aligned} &\underbrace{\val{12},\; \val{14},\; \stat{\mathbf{15}},\; \val{17},\; \val{18}}_{\text{lower five}},\; \underbrace{\stat{\mathbf{20}}}_{\stat{\text{Median}}},\; \\[4pt] &\underbrace{\val{22},\; \val{23},\; \stat{\mathbf{26}},\; \val{28},\; \val{30}}_{\text{upper five}} \end{aligned}
(Watch out: do not include the median 20\stat{20} in the lower and upper halves, which would give six numbers per half and the wrong quartiles Q1=16\stat{Q_1} = \miss{16} and Q3=24.5\stat{Q_3} = \miss{24.5}; and when finding the IQR\spread{\text{IQR}}, subtract Q3−Q1\stat{Q_3} - \stat{Q_1} rather than the full range 30−12=18\stat{30} - \stat{12} = \miss{18}.)
Median=20,Q1=15,Q3=26,IQR=26−15=11 loaves\displaystyle \begin{aligned} \stat{\text{Median}} &= \stat{20}, \\ \stat{Q_1} &= \stat{15}, \\ \stat{Q_3} &= \stat{26}, \\ \spread{\text{IQR}} &= \stat{26} - \stat{15} = \spread{11} \text{ loaves} \end{aligned}
The box from 15\stat{15} to 26\stat{26} shows the middle 50%\share{50\%} of mornings, meaning that on half of the days the bakery sells between 15\stat{15} and 26\stat{26} loaves.
2

A boxplot of exam scores for a class of 120 students has an outlier asterisk at 20, a left whisker tip at 50, a box from 65 to 85 with a median line at 75, and a right whisker tip at 95. Find the five-number summary and the IQR\spread{\text{IQR}}, then find what percent of the class scored below 85 and how many students scored between 65 and 95.

Remember that an outlier asterisk is still a real student in the class, then count how many 25%\share{25\%} sections fall in each score range.

Reading the five-number summary and the box width from the graph:
Minimum=20,Q1=65,Median=75,Q3=85,Maximum=95\displaystyle \begin{aligned} \stat{\text{Minimum}} &= \stat{20}, \\ \stat{Q_1} &= \stat{65}, \\ \stat{\text{Median}} &= \stat{75}, \\ \stat{Q_3} &= \stat{85}, \\ \stat{\text{Maximum}} &= \stat{95} \end{aligned}
(Be careful not to write Minimum=50\stat{\text{Minimum}} = \miss{50} from the left whisker tip. The outlier at 20\stat{20} is still the lowest real score in the dataset.)
IQR\displaystyle \spread{\text{IQR}} =85−65\displaystyle = \stat{85} - \stat{65} =20\displaystyle = \spread{20}
Three of the four 25%\share{25\%} quarters lie below Q3=85\stat{Q_3} = \stat{85}, so 75%\share{75\%} of the class scored below 85\stat{85}. Three quarters (75%\share{75\%} of the class) lie between 65\stat{65} and 95\stat{95}, which is 0.75×120=90 students\share{0.75} \times 120 = \share{90}\text{ students}.
3

Here are 11 sorted delivery times, in minutes: 2, 17, 20, 22, 24, 26, 28, 29, 30, 42, 50. Use the 1.5 IQR rule to find the lower and upper fences, identify any outliers, and state the exact values where the left and right whiskers of the boxplot stop.

Find Q1\stat{Q_1}, Q3\stat{Q_3}, and 1.5 IQR\spread{1.5\text{ IQR}} to find the fences, then check the actual list of delivery times to see which values sit just inside those fences.

From the 1111 sorted times, the 6th value is Median=26\stat{\text{Median}} = \stat{26}, the middle of the lower five is Q1=20\stat{Q_1} = \stat{20}, and the middle of the upper five is Q3=30\stat{Q_3} = \stat{30}:
IQR=30−20=10,1.5 IQR=1.5×10=15\displaystyle \begin{aligned} \spread{\text{IQR}} &= \stat{30} - \stat{20} = \spread{10}, \\ \spread{1.5\text{ IQR}} &= 1.5 \times \spread{10} = \spread{15} \end{aligned}
Go 15\spread{15} outward from the box edges Q1=20\stat{Q_1} = \stat{20} and Q3=30\stat{Q_3} = \stat{30} (not from the median 26\stat{26}, which would give wrong fences of 11\miss{11} and 41\miss{41}):
Lower fence=20−15=5,Upper fence=30+15=45\displaystyle \begin{aligned} \fence{\text{Lower fence}} &= \stat{20} - \spread{15} = \fence{5}, \\ \fence{\text{Upper fence}} &= \stat{30} + \spread{15} = \fence{45} \end{aligned}
Both 2\val{2} (below 5\fence{5}) and 50\val{50} (above 45\fence{45}) fall outside the fences, so 2\val{2} and 50\val{50} are outliers. Do not stop the whiskers at the fences 5\fence{5} and 45\fence{45}. The whiskers stop at the furthest actual data points inside the fences: the left whisker stops at 17\val{17} and the right whisker stops at 42\val{42}.
4

A boxplot of employee commute times has no outliers and shows Minimum = 8, Q1\stat{Q_1} = 10, Median = 13, Q3\stat{Q_3} = 25, and Maximum = 45 minutes. A coworker looks at the graph and says, "Four times as many employees commute between 13 and 25 minutes as between 10 and 13 minutes, because the right half of the box is four times as wide." Explain why the coworker is wrong and state the shape of the distribution.

Think about how the four sections of a boxplot are made, and compare how far the bottom half of commutes (8\stat{8} to 13\stat{13}) stretches versus the top half (13\stat{13} to 45\stat{45}).

Every section of a boxplot contains the exact same share of the group, 25%\share{25\%} of the employees, so both intervals hold the exact same number of people. (A common mistake is reading box width like a histogram bar and thinking a 12\spread{12}-minute width holds four times as many people as a 3\spread{3}-minute width.) Instead, the narrow section from 10\stat{10} to 13\stat{13} minutes means that quarter of employees have very similar commutes packed within a 3\spread{3}-minute range, while the quarter from 13\stat{13} to 25\stat{25} minutes is spread out over 12\spread{12} minutes. Because the left whisker (8\stat{8} to 10\stat{10}) and left half of the box (10\stat{10} to 13\stat{13}) are short while the right half of the box (13\stat{13} to 25\stat{25}) and right whisker (25\stat{25} to 45\stat{45}) stretch out much further, the distribution is skewed right.
5

A boxplot of package weights on a delivery truck is completely symmetric, with Minimum = 5, Q1\stat{Q_1} = 10, Median = 25, Q3\stat{Q_3} = 40, and Maximum = 45 pounds. Can you conclude that most packages on the truck weigh close to 25 pounds? Explain why or why not, and give an example of how the weights could be distributed if almost no packages weigh near 25 pounds.

Consider what happens to the five-number summary if the packages are split into two separate groups: light packages near Q1=10\stat{Q_1} = \stat{10} and heavy boxes near Q3=40\stat{Q_3} = \stat{40}.

No. (Do not assume a symmetric boxplot guarantees the weights are piled in the center around 25\stat{25} pounds.) A boxplot summarizes the data using only five numbers and hides gaps or clusters inside the quarters. For example, if half the packages are small boxes grouped between 5\val{5} and 15\val{15} pounds (with Q1=10\stat{Q_1} = \stat{10}) and the other half are heavy boxes grouped between 35\val{35} and 45\val{45} pounds (with Q3=40\stat{Q_3} = \stat{40}), the median still falls right in the empty middle at 25\stat{25} pounds. This produces the exact same symmetric boxplot even though the distribution has two peaks (bimodal) with a wide gap around 25\stat{25} pounds.