StatisticsExploring One-Variable Data3 of 8
Exploring One-Variable Data · 3

Histograms, Stemplots, and Shape

A raw list of numbers hides how a group actually did, so we need a way to turn the list into a picture we can read at a glance.

1

Building a Stemplot

A stemplot (or stem-and-leaf plot) groups numbers by their leading digits so their final digits stack into rows whose lengths show where the data piles up. Suppose 1818 students get these test scores and we want to see how the class performed:

72,85,91,64,78,73,88,52,75,81,84,68,95,79,82,75,21,89\displaystyle \begin{aligned} &\val{72}, \val{85}, \val{91}, \val{64}, \val{78}, \val{73}, \val{88}, \val{52}, \val{75}, \\ &\val{81}, \val{84}, \val{68}, \val{95}, \val{79}, \val{82}, \val{75}, \val{21}, \val{89} \end{aligned}
Building a Stemplot
Test scores:\text{Test scores:}
72, 85, 91, 64, 78, 73, 88, 52, 75\htmlClass{lc-blue}{72,\ 85,\ 91,\ 64,\ 78,\ 73,\ 88,\ 52,\ 75}
81, 84, 68, 95, 79, 82, 75, 21, 89\htmlClass{lc-blue}{81,\ 84,\ 68,\ 95,\ 79,\ 82,\ 75,\ 21,\ 89}
How did this class do?\text{How did this class do?}
Text solution
Group by tens and keep empty stemsWrite the tens digits in order to the left of a vertical line and the ones digits to the right, keeping stems 33 and 44 blank so the gap between 21\val{21} and 52\val{52} stays visible.
21345264  87⏟stem2  3  5  5  8  9⏟leaves81  2  4  5  8  991  5\displaystyle \begin{array}{r|l} 2 & \val{1} \\ 3 & \\ 4 & \\ 5 & \val{2} \\ 6 & \val{4\ \ 8} \\ \underbrace{7}_{\text{stem}} & \underbrace{\val{2\ \ 3\ \ 5\ \ 5\ \ 8\ \ 9}}_{\text{leaves}} \\ 8 & \val{1\ \ 2\ \ 4\ \ 5\ \ 8\ \ 9} \\ 9 & \val{1\ \ 5} \end{array}
Sort the leaves and write a keyPut each row's digits in order from smallest to largest, repeat a digit whenever a score appears twice, and add a key to show the place value.
Key: 7∣2\displaystyle \text{Key: } 7 \mid \val{2} =72\displaystyle = \val{72}

Most of the class scored in the 7070s and 8080s, with a wide gap separating the lone 21\val{21} at the low end. Always leave an empty stem completely blank, because writing 3∣0\slip{3 \mid 0} means someone scored a 30\slip{30}.

2

Splitting Stems, Decimals, and Large Numbers

A regular stemplot works well when the numbers spread across several tens, but we need to choose the stems differently when all the numbers bunch into just two rows, include decimals, or span hundreds. Here are 1212 retake quiz scores bunched entirely into the 7070s and 8080s:

71,72,74,76,77,78,78,79,80,81,83,88\displaystyle \val{71}, \val{72}, \val{74}, \val{76}, \val{77}, \val{78}, \val{78}, \val{79}, \val{80}, \val{81}, \val{83}, \val{88}
Splitting Stems, Decimals, and Large Numbers
Retake scores:\text{Retake scores:}
71, 72, 74, 76, 77, 78\htmlClass{lc-blue}{71,\ 72,\ 74,\ 76,\ 77,\ 78}
78, 79, 80, 81, 83, 88\htmlClass{lc-blue}{78,\ 79,\ 80,\ 81,\ 83,\ 88}
77
88
12467889\htmlClass{lc-blue}{1\hspace{0.55em}2\hspace{0.55em}4\hspace{0.55em}6\hspace{0.55em}7\hspace{0.55em}8\hspace{0.55em}8\hspace{0.55em}9}
0138\htmlClass{lc-blue}{0\hspace{0.55em}1\hspace{0.55em}3\hspace{0.55em}8}
Key: 7∣1=71\text{Key: } 7 \mid \htmlClass{lc-blue}{1} = \htmlClass{lc-blue}{71}
Text solution
Split crowded stems into 0–40\text{–}4 and 5–95\text{–}9Give each stem two rows of five possible leaf digits so the bunched scores spread out over twice as many rows.
71  2  476  7  8  8  980  1  388Key: 7∣1=71\displaystyle \begin{gathered} \begin{array}{r|l} 7 & \val{1\ \ 2\ \ 4} \\ 7 & \val{6\ \ 7\ \ 8\ \ 8\ \ 9} \\ 8 & \val{0\ \ 1\ \ 3} \\ 8 & \val{8} \end{array} \\ \text{Key: } 7 \mid \val{1} = \val{71} \end{gathered}
Split decimals and close three-digit numbers right before the last digitBecause a leaf can only hold one digit, put all earlier digits in the stem and let the key show where the decimal point goes.
Newborn weights (2.8 to 4.0 kg): 3∣1=3.1 kgBowling (112 to 145): 13∣4=134\displaystyle \begin{aligned} &\text{Newborn weights (}\val{2.8}\text{ to }\val{4.0}\text{ kg): } \\ &\quad 3 \mid \val{1} = \val{3.1}\text{ kg} \\ &\text{Bowling (}\val{112}\text{ to }\val{145}\text{): } \\ &\quad 13 \mid \val{4} = \val{134} \end{aligned}
Drop the ones digit when large numbers spread across many stemsFor wide-ranging scores like 512,518,539,604,672,748\val{512}, \val{518}, \val{539}, \val{604}, \val{672}, \val{748}, use hundreds as stems and tens as leaves by either rounding or truncating (chopping off) the ones digit.
518→520→5∣2⏟rounded512→5∣1,  518→5∣1⏟truncatedKey: 5∣1=510\displaystyle \begin{gathered} \underbrace{\val{518} \to \val{520} \to 5 \mid \val{2}}_{\text{rounded}} \\ \underbrace{\val{51\slip{2}} \to 5 \mid \val{1},\ \ \val{51\slip{8}} \to 5 \mid \val{1}}_{\text{truncated}} \\ \text{Key: } 5 \mid \val{1} = \val{510} \end{gathered}

Splitting the retake stems shows the cluster in the high 7070s and low 8080s with 88\val{88} separated at the high end, and truncating the three-digit scores keeps the plot to three stems (5,6,75, 6, 7) instead of twenty-four mostly blank rows.

3

From Stemplots to Histograms

Once a dataset grows to hundreds or thousands of numbers, writing a separate leaf for every value takes too much space. A histogram divides a continuous number line into equal intervals called bins and uses the height of a solid bar to count how many values fall into each bin.

From Stemplots to Histograms
22
33
44
55
66
77
88
99
1\htmlClass{lc-blue}{1}
2\htmlClass{lc-blue}{2}
48\htmlClass{lc-blue}{4\hspace{0.55em}8}
235589\htmlClass{lc-blue}{2\hspace{0.55em}3\hspace{0.55em}5\hspace{0.55em}5\hspace{0.55em}8\hspace{0.55em}9}
124589\htmlClass{lc-blue}{1\hspace{0.55em}2\hspace{0.55em}4\hspace{0.55em}5\hspace{0.55em}8\hspace{0.55em}9}
15\htmlClass{lc-blue}{1\hspace{0.55em}5}
Key: 7∣2=72\text{Key: } 7 \mid \htmlClass{lc-blue}{2} = \htmlClass{lc-blue}{72}

Because the horizontal axis is a continuous number line, histogram bars touch, so a gap only appears when a bin has a count of 00. Any number that lands right on a border goes into the bin on the right:

60≤score<70⏟holds 60 up to, but not including, 7070≤score<80⏟an exact 70 goes to the right\displaystyle \begin{gathered} \underbrace{60 \le \val{\text{score}} < 70}_{\text{holds } 60 \text{ up to, but not including, } 70} \\ \underbrace{70 \le \val{\text{score}} < 80}_{\text{an exact } \val{70} \text{ goes to the right}} \end{gathered}

Each histogram bar has the same height as the stack of stemplot leaves for that interval.

Each histogram bar shows how many stemplot leaves are stacked inside that interval, and a score that lands on a boundary line goes into the bin on the right.
4

Choosing Bin Width and Relative Frequency

In our test score histogram, bins of width 10\dist{10} came straight from the stemplot's tens digits. When we build a histogram from scratch for 2020 student commute times (in minutes), we need to choose a bin width that shows the pattern clearly, and a vertical scale that lets us compare our small class against a huge school:

2,4,5,7,8,9,11,12,13,14,14,16,17,19,21,23,24,28,32,37\displaystyle \begin{aligned} &\val{2}, \val{4}, \val{5}, \val{7}, \val{8}, \val{9}, \val{11}, \val{12}, \val{13}, \val{14}, \\ &\val{14}, \val{16}, \val{17}, \val{19}, \val{21}, \val{23}, \val{24}, \val{28}, \val{32}, \val{37} \end{aligned}
Choosing Bin Width and Relative Frequency
commute times (minutes)\text{commute times (minutes)}
2, 4, 5, 7, 8, 9, 11, 12, 13, 14\htmlClass{lc-blue}{2,\ 4,\ 5,\ 7,\ 8,\ 9,\ 11,\ 12,\ 13,\ 14}
14, 16, 17, 19, 21, 23, 24, 28, 32, 37\htmlClass{lc-blue}{14,\ 16,\ 17,\ 19,\ 21,\ 23,\ 24,\ 28,\ 32,\ 37}
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
Divide the range into 55 to 1010 equal binsBecause the commute times run from 2\val{2} to 37\val{37} minutes (just under 40\dist{40}), counting by 5\dist{5}s gives 88 even bins across the axis.
40 minutes5 minutes per bin\displaystyle \frac{\dist{40}\text{ minutes}}{\dist{5}\text{ minutes per bin}} =8 bins\displaystyle = 8\text{ bins}
Count the values in each bin using the right-hand boundary ruleCount how many times fall into each 5\dist{5}-minute interval, putting the boundary value 5\val{5} into the 5≤t<105 \le \val{t} < 10 bin.
0≤t<5:count 2(2,4)5≤t<10:count 4(5,7,8,9)10≤t<15:count 5(11,12,13,14,14)\displaystyle \begin{aligned} 0 \le \val{t} < 5 &: \text{count } 2 \\ &\quad (\val{2, 4}) \\ 5 \le \val{t} < 10 &: \text{count } 4 \\ &\quad (\val{5, 7, 8, 9}) \\ 10 \le \val{t} < 15 &: \text{count } 5 \\ &\quad (\val{11, 12, 13, 14, 14}) \end{aligned}
Divide each count by the total to get relative frequencyTurn each bin's count into a percentage of all 2020 students so the vertical axis shows the percentage rather than the raw count.
Relative frequency⏟proportion or %=bin counttotal count=520=0.25=25%(for 10≤t<15)\displaystyle \begin{aligned} &\underbrace{\share{\text{Relative frequency}}}_{\text{proportion or }\%} \\ &\quad = \frac{\text{bin count}}{\text{total count}} \\ &\quad = \frac{5}{20} = \share{0.25} \\ &\quad = \share{25\%} \\ &\qquad (\text{for } 10 \le \val{t} < 15) \end{aligned}

Changing the vertical axis from frequency (count) to relative frequency (percent) keeps the relative heights of the bars exactly the same, while putting a class of 2020 and a school of 1,0001{,}000 on the same percentage scale.

The 2020 commute times never change, but 1\dist{1}-minute bins break them into short, scattered bars full of gaps and 20\dist{20}-minute bins lump them into just two wide blocks, while 5\dist{5}-minute bins let the overall shape stand out.

Changing the bin width regroups the exact same 20 commute times into noisy spikes, a clear overall shape, or two flat blocks.
5

Reading a Histogram and What It Loses

Once the commute times are grouped into bars, we can find counts and percentages across several bins, and see what exact values the histogram gives up when it replaces individual leaves with solid bars.

Reading a Histogram and What It Loses
commute times (minutes)\text{commute times (minutes)}
2, 4, 5, 7, 8, 9, 11, 12, 13, 14\htmlClass{lc-blue}{2,\ 4,\ 5,\ 7,\ 8,\ 9,\ 11,\ 12,\ 13,\ 14}
14, 16, 17, 19, 21, 23, 24, 28, 32, 37\htmlClass{lc-blue}{14,\ 16,\ 17,\ 19,\ 21,\ 23,\ 24,\ 28,\ 32,\ 37}
0\htmlClass{lc-mute}{0}
5\htmlClass{lc-mute}{5}
10\htmlClass{lc-mute}{10}
15\htmlClass{lc-mute}{15}
20\htmlClass{lc-mute}{20}
25\htmlClass{lc-mute}{25}
30\htmlClass{lc-mute}{30}
35\htmlClass{lc-mute}{35}
40\htmlClass{lc-mute}{40}
minutes\text{minutes}
count\text{count}
0\htmlClass{lc-mute}{0}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
%\htmlClass{lc-green}{\%}
0%\htmlClass{lc-green}{0\%}
5%\htmlClass{lc-green}{5\%}
10%\htmlClass{lc-green}{10\%}
15%\htmlClass{lc-green}{15\%}
20%\htmlClass{lc-green}{20\%}
25%\htmlClass{lc-green}{25\%}
Text solution
Add the bars to the left of the cutoff for "less than"Every bar to the left of 15\val{15} minutes holds times strictly under 1515, so their counts add up to the number of students under 1515 minutes.
Less than 15 min (t<15):2+4+5=11 students\displaystyle \begin{gathered} \text{Less than } \val{15}\text{ min } (\val{t} < \val{15}): \\ 2 + 4 + 5 = \share{11}\text{ students} \end{gathered}
Include the cutoff bar itself for "or more"Because an exact 20\val{20} goes into the 20≤t<2520 \le \val{t} < 25 bar, adding the bars from 20\val{20} to the right gives the percentage of students at 2020 minutes or more.
20 min or more (t≥20):15%+5%+5%+5%=30%(3+1+1+120=620)\displaystyle \begin{gathered} \val{20}\text{ min or more } (\val{t} \ge \val{20}): \\ \begin{aligned} 15\% + 5\% + 5\% + 5\% &= \share{30\%} \\ \Bigg(\frac{3 + 1 + 1 + 1}{20} &= \frac{6}{20}\Bigg) \end{aligned} \end{gathered}
Narrow down the maximum to the highest non-empty binA count of 11 in the 35≤t<4035 \le \val{t} < 40 bar shows that the longest commute landed in that interval, though we can no longer see the exact minute once the individual values are grouped into a bar.
35\displaystyle 35 ≤tmax⁡<40 minutes\displaystyle \le \val{t_{\max}} < 40\text{ minutes}
6

Describing Shape: Peaks, Skew, and Outliers

If you trace a smooth curve over the tops of the bars, you get the shape of the distribution: where it peaks, whether it is symmetric or stretches into a tail on one side, and whether any points sit out by themselves.

Describing Shape: Peaks, Skew, and Outliers
0\htmlClass{lc-mute}{0}
5\htmlClass{lc-mute}{5}
10\htmlClass{lc-mute}{10}
15\htmlClass{lc-mute}{15}
20\htmlClass{lc-mute}{20}
25\htmlClass{lc-mute}{25}
30\htmlClass{lc-mute}{30}
35\htmlClass{lc-mute}{35}
40\htmlClass{lc-mute}{40}
minutes\text{minutes}
count\text{count}
0\htmlClass{lc-mute}{0}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
Unimodal
(one main peak)
Bimodal
(two peaks, usually two
groups mixed together)
Uniform
(flat, roughly equal heights)
Symmetric
(mirror image across
center line)
right tail stretches
toward high numbers
Skewed Right
left tail stretches
toward low numbers
gap
outlier
Skewed Left
Text solution
Read the main peaks and the direction of the tailThe 1818 test scores rise to a single main peak in the 7070s and 8080s, with a tail stretching toward lower numbers on the left, and 1414 of the 1818 students scored 70\val{70} or above.
Unimodal, skewed left:1418≈78% scored 70 or higher\displaystyle \text{Unimodal, }\dist{\text{skewed left}}\text{:} \quad \frac{14}{18} \approx \share{78\%} \text{ scored } \val{70}\text{ or higher}
Spot gaps and isolated outliersThe empty 3030s and 4040s bins create a wide gap before the lone score at 21\val{21}, marking 21\val{21} as an outlier to check as either a typing mistake (91→21\slip{91} \to \slip{21}) or a student who missed class.
Gap: 30≤score<50 (count 0)Outlier: 21\displaystyle \begin{aligned} &\text{Gap: } \dist{30} \le \val{\text{score}} < \dist{50} \text{ (count } 0\text{)} \\ &\text{Outlier: } \val{21} \end{aligned}

Starting from a symmetric mound, pulling edge values toward higher numbers stretches a right tail while leaving the tall peak on the left, pulling them toward lower numbers stretches a left tail, and pulling a single value past empty bins separates it into an outlier.

Skew follows the direction of the stretched-out tail rather than the tall peak, and a point pulled far enough away to leave empty bins becomes an outlier.

Key concepts

Choosing and adjusting a stemplot or histogram

When you have a small list and want to keep every exact value, build a stemplot with single-digit leaves, blank rows for empty stems (3∣ 3 \mid \ {}), and a key (7∣2=727 \mid \val{2} = \val{72}). If the data already spreads across five to ten stems, leave it alone; only split stems into 0–40\text{–}4 and 5–95\text{–}9 when the numbers bunch into two or three rows (71\val{71} to 88\val{88}), and only truncate or round the last digit (518→5∣1\val{51\slip{8}} \to 5 \mid \val{1} with Key: 5∣1=510\text{Key: } 5 \mid \val{1} = \val{510}) when wide-ranging numbers would create dozens of blank stems. When the dataset is large, or you only need counts across intervals, use a histogram with 55 to 1010 bins of a clean width (2,5,10,20,…\dist{2}, \dist{5}, \dist{10}, \dist{20}, \dots) and put any boundary value into the bin on the right (70\val{70} lands in 70≤score<8070 \le \val{\text{score}} < 80), remembering that you can no longer see the exact values inside a bar (35≤tmax⁡<4035 \le \val{t_{\max}} < 40).

Frequency versus relative frequency

Keep raw frequency (count) when looking at a single group, and convert to relative frequency only when you need percentages or want a fair comparison between two groups of different sizes (such as 2020 students versus 1,0001{,}000 students):

Relative frequency\displaystyle \share{\text{Relative frequency}} =bin counttotal count(520=25%)\displaystyle = \frac{\text{bin count}}{\text{total count}} \quad \left(\frac{5}{20} = \share{25\%}\right)

Describing shape

Check the overall curve for peaks (unimodal for one main peak, bimodal for two peaks, often from two distinct groups like lunch and dinner orders mixed together, uniform when every bar is roughly the same height), symmetry and skew (symmetric mirror image versus skewed right when the long tail stretches toward high numbers like incomes or commutes, or skewed left when the long tail stretches toward low numbers like easy-exam scores), and outliers sitting past a wide gap (which point to either a data-entry error like 91→21\slip{91} \to \slip{21} or an unusual individual case).

7

Practice

1

Twelve students scored the following points on a biology quiz: 43, 71, 64, 75, 82, 75, 68, 86, 79, 64, 72, 80. Build a stemplot with a key, and explain why stem 5 must be included with no leaf instead of being skipped or written as 5 | 0.

List every tens digit from 44 to 88 first, then sort the ones digits in each row and ask what quiz score 5∣05 \mid 0 would represent.

43564  4  871  2  5  5  980  2  6Key: 7∣1=71\displaystyle \begin{gathered} \begin{array}{r|l} 4 & \val{3} \\ 5 & \\ 6 & \val{4\ \ 4\ \ 8} \\ 7 & \val{1\ \ 2\ \ 5\ \ 5\ \ 9} \\ 8 & \val{0\ \ 2\ \ 6} \end{array} \\ \text{Key: } 7 \mid \val{1} = \val{71} \end{gathered}
(Watch out: don't drop the duplicate leaves on 64\val{64} and 75\val{75}, which would shrink the class to 10\slip{10} students, and don't skip stem 55 or write 5∣0\slip{5 \mid 0}.) Stem 55 must be included so the graph shows the real gap between 43\val{43} and 64\val{64}, and it must be left blank because writing 5∣0\slip{5 \mid 0} would mean a student scored a 50\slip{50}.
2

Ten sprinters run the 100-meter dash in the following times (in seconds): 11.1, 11.3, 11.4, 11.6, 11.7, 11.7, 11.9, 12.0, 12.2, 12.8. Build a split-stem plot with a key, and state what pattern becomes visible that a regular two-row stemplot would hide.

Split each time at the decimal point, then give stems 1111 and 1212 two rows each. Where does the first row stop so each half gets five possible leaf digits?

111  3  4116  7  7  9120  2128Key: 11∣1=11.1 seconds\displaystyle \begin{gathered} \begin{array}{r|l} 11 & \val{1\ \ 3\ \ 4} \\ 11 & \val{6\ \ 7\ \ 7\ \ 9} \\ 12 & \val{0\ \ 2} \\ 12 & \val{8} \end{array} \\ \text{Key: } 11 \mid \val{1} = \val{11.1}\text{ seconds} \end{gathered}
(Watch out: split the leaves into 0–40\text{–}4 on the first row and 5–95\text{–}9 on the second rather than 0–5\slip{0\text{–}5} and 6–9\slip{6\text{–}9}, and include the decimal in the key so 11∣111 \mid \val{1} isn't read as 111\slip{111} seconds.) Splitting the stems shows that most sprinters clustered in the high 1111s and low 1212s (11.6\val{11.6} to 12.2\val{12.2} seconds), with the 12.8\val{12.8}-second run separated at the slow end.
3

Seven concert halls have seating capacities of 412, 419, 486, 504, 631, 638, and 795. Using hundreds as stems and tens as leaves, build a truncated stemplot with a key, then state which values would change if you rounded to the tens place instead.

For the truncated plot, chop off the ones digit without rounding; to check what rounding changes, look for capacities whose ones digit is 55 or higher.

41  1  85063  379Key: 4∣1=410 (truncated to the tens place)\displaystyle \begin{gathered} \begin{array}{r|l} 4 & \val{1\ \ 1\ \ 8} \\ 5 & \val{0} \\ 6 & \val{3\ \ 3} \\ 7 & \val{9} \end{array} \\ \text{Key: } 4 \mid \val{1} = \val{410}\text{ (truncated to the tens place)} \end{gathered}
If rounded to the tens place instead, 419\val{419} would become 4∣24 \mid \val{2}, 486\val{486} would become 4∣94 \mid \val{9}, 638\val{638} would become 6∣46 \mid \val{4}, and 795\val{795} would round to 800\val{800}, creating a new stem 8∣08 \mid \val{0} and leaving stem 77 empty (watch out: never write 795→800\val{795} \to \val{800} as a two-digit leaf 7∣10\slip{7 \mid 10}).
4

Twenty-five customers wait the following numbers of minutes in a pharmacy line: 1, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 12, 13, 14, 15, 16, 17, 19, 20, 22, 24, 27, 31, 34. Using a bin width of 10 starting at 0, give the frequency (count) and relative frequency (percentage) for each bin.

Set up the four bins as 0≤t<100 \le \val{t} < 10, 10≤t<2010 \le \val{t} < 20, 20≤t<3020 \le \val{t} < 30, and 30≤t<4030 \le \val{t} < 40. Which bins do the boundary wait times 10\val{10} and 20\val{20} go into?

(Watch out: don't put the boundary values 1010 and 2020 in the bin on the left, which gives the wrong counts 10,10,3,2\slip{10, 10, 3, 2} and percentages 40%,40%,12%,8%\slip{40\%, 40\%, 12\%, 8\%}.) Putting boundary values in the bin on the right, 0≤t<100 \le \val{t} < 10 has 99 customers (925=36%\tfrac{9}{25} = \share{36\%}); 10≤t<2010 \le \val{t} < 20 has 1010 customers (1025=40%\tfrac{10}{25} = \share{40\%}); 20≤t<3020 \le \val{t} < 30 has 44 customers (425=16%\tfrac{4}{25} = \share{16\%}); 30≤t<4030 \le \val{t} < 40 has 22 customers (225=8%\tfrac{2}{25} = \share{8\%}).
5

A histogram of 40 daily rainfall amounts (in millimeters) has five bins: 0–5 (18 days), 5–10 (10 days), 10–15 (6 days), 15–20 (4 days), and 20–25 (2 days). (a) How many days had less than 10 mm of rain, and what percent of days had 15 mm or more? (b) From the histogram alone, what can you say about the exact rainfall on the wettest day? (c) To compare this 40-day distribution against a 1,000-day climate record, should the vertical axis show frequency or relative frequency, and why?

(a) Add the bins strictly to the left of 10 mm\val{10}\text{ mm}, then divide the sum of the bins from 15 mm\val{15}\text{ mm} upward by all 4040 days. (b) Check what the 20–2520\text{–}25 bar tells you and what it leaves out. (c) Ask what happens to a bar of height 1818 when plotted on the same count scale as 1,0001{,}000 days.

(a) 18+10=2818 + 10 = \share{28} days had less than 10 mm\val{10}\text{ mm} of rain (watch out: don't include the 10–1510\text{–}15 bin, which holds 10 mm10\text{ mm} up to, but not including, 15 mm15\text{ mm} and would give 34\slip{34} days); 4+2=64 + 2 = \share{6} out of 4040 days, or 15%\share{15\%} (not the raw count 6%\slip{6\%}), had 15 mm\val{15}\text{ mm} or more.
(b) You cannot know the exact maximum because a histogram doesn't keep individual values; you only know the wettest day was at least 20 mm20\text{ mm} and less than 25 mm25\text{ mm} (watch out: don't report the upper bin edge 25 mm25\text{ mm} as the exact maximum).
(c) Relative frequency (percent), because raw counts would squash the 4040-day graph flat next to the 1,0001{,}000-day graph, while percentages put different group sizes on the same scale.
6

A histogram of exam completion times (in minutes) has one main cluster between 45 and 58 minutes, a gradual tail stretching down to 25 minutes, empty bins from 10 to 25 minutes, and one bar of height 1 in the 5–10 minute bin. (a) A student calls this graph skewed right because the tall peak is on the right. Correct the mistake and describe the full shape. (b) Give two realistic explanations, one an error and one a real reason, for the student in the 5–10 minute bin. (c) A second exam's histogram has two tall peaks, one at 15–25 minutes and another at 45–55 minutes, with a deep dip in the 30s. What is this shape called, and what does it tell you about the class?

(a) Name skew for the stretched-out tail rather than the peak, and include the empty bins and the isolated bar at 5–105\text{–}10 minutes. (b) Contrast a typing mistake with a real reason a test ends after 55 minutes. (c) Remember what two separate peaks tell you about the groups inside the data.

(a) Skew is named for the tail, not the peak (looking at the tall peak instead of the tail is the mistake behind calling it "skewed right"). Because the long tail stretches to the left toward lower numbers, the distribution is unimodal and skewed left, with a gap from 10\dist{10} to 25\dist{25} minutes and a low outlier in the 5–105\text{–}10 minute bin.
(b) Error: someone meant to type a time like 50\slip{50} minutes and accidentally typed 5\slip{5}. Real reason: one student had to leave or gave up just minutes after the exam started.
(c) It is bimodal, which tells you that two different groups are mixed together in the data (such as a group that finished quickly or skipped problems and a group that worked through the whole test).