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 18 students get these test scores and we want to see how the class performed:
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 3 and 4 blank so the gap between 21 and 52 stays visible.
23456stem7891248leaves23558912458915
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=72
Most of the class scored in the 70s and 80s, with a wide gap separating the lone 21 at the low end. Always leave an empty stem completely blank, because writing 3∣0 means someone scored a 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 12 retake quiz scores bunched entirely into the 70s and 80s:
71,72,74,76,77,78,78,79,80,81,83,88
Splitting Stems, Decimals, and Large Numbers
Text solution
Split crowded stems into 0–4 and 5–9Give each stem two rows of five possible leaf digits so the bunched scores spread out over twice as many rows.
7788124678890138Key: 7∣1=71
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
Drop the ones digit when large numbers spread across many stemsFor wide-ranging scores like 512,518,539,604,672,748, use hundreds as stems and tens as leaves by either rounding or truncating (chopping off) the ones digit.
Splitting the retake stems shows the cluster in the high 70s and low 80s with 88 separated at the high end, and truncating the three-digit scores keeps the plot to three stems (5,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
Because the horizontal axis is a continuous number line, histogram bars touch, so a gap only appears when a bin has a count of 0. Any number that lands right on a border goes into the bin on the right:
holds 60 up to, but not including, 7060≤score<70an exact 70 goes to the right70≤score<80
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 came straight from the stemplot's tens digits. When we build a histogram from scratch for 20 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:
Divide the range into 5 to 10 equal binsBecause the commute times run from 2 to 37 minutes (just under 40), counting by 5s gives 8 even bins across the axis.
5 minutes per bin40 minutes=8 bins
Count the values in each bin using the right-hand boundary ruleCount how many times fall into each 5-minute interval, putting the boundary value 5 into the 5≤t<10 bin.
Divide each count by the total to get relative frequencyTurn each bin's count into a percentage of all 20 students so the vertical axis shows the percentage rather than the raw count.
proportion or %Relative frequency=total countbin count=205=0.25=25%(for 10≤t<15)
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 20 and a school of 1,000 on the same percentage scale.
The 20 commute times never change, but 1-minute bins break them into short, scattered bars full of gaps and 20-minute bins lump them into just two wide blocks, while 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
Text solution
Add the bars to the left of the cutoff for "less than"Every bar to the left of 15 minutes holds times strictly under 15, so their counts add up to the number of students under 15 minutes.
Less than 15 min (t<15):2+4+5=11 students
Include the cutoff bar itself for "or more"Because an exact 20 goes into the 20≤t<25 bar, adding the bars from 20 to the right gives the percentage of students at 20 minutes or more.
20 min or more (t≥20):15%+5%+5%+5%(203+1+1+1=30%=206)
Narrow down the maximum to the highest non-empty binA count of 1 in the 35≤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≤tmax<40 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
Text solution
Read the main peaks and the direction of the tailThe 18 test scores rise to a single main peak in the 70s and 80s, with a tail stretching toward lower numbers on the left, and 14 of the 18 students scored 70 or above.
Unimodal, skewed left:1814≈78% scored 70 or higher
Spot gaps and isolated outliersThe empty 30s and 40s bins create a wide gap before the lone score at 21, marking 21 as an outlier to check as either a typing mistake (91→21) or a student who missed class.
Gap: 30≤score<50 (count 0)Outlier: 21
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∣), and a key (7∣2=72). If the data already spreads across five to ten stems, leave it alone; only split stems into 0–4 and 5–9 when the numbers bunch into two or three rows (71 to 88), and only truncate or round the last digit (518→5∣1 with Key: 5∣1=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 5 to 10 bins of a clean width (2,5,10,20,…) and put any boundary value into the bin on the right (70 lands in 70≤score<80), remembering that you can no longer see the exact values inside a bar (35≤tmax<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 20 students versus 1,000 students):
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 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 4 to 8 first, then sort the ones digits in each row and ask what quiz score 5∣0 would represent.
45678344812559026Key: 7∣1=71
(Watch out: don't drop the duplicate leaves on 64 and 75, which would shrink the class to 10 students, and don't skip stem 5 or write 5∣0.) Stem 5 must be included so the graph shows the real gap between 43 and 64, and it must be left blank because writing 5∣0 would mean a student scored a 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 11 and 12 two rows each. Where does the first row stop so each half gets five possible leaf digits?
111112121346779028Key: 11∣1=11.1 seconds
(Watch out: split the leaves into 0–4 on the first row and 5–9 on the second rather than 0–5 and 6–9, and include the decimal in the key so 11∣1 isn't read as 111 seconds.) Splitting the stems shows that most sprinters clustered in the high 11s and low 12s (11.6 to 12.2 seconds), with the 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 5 or higher.
45671180339Key: 4∣1=410 (truncated to the tens place)
If rounded to the tens place instead, 419 would become 4∣2,486 would become 4∣9,638 would become 6∣4, and 795 would round to 800, creating a new stem 8∣0 and leaving stem 7 empty (watch out: never write 795→800 as a two-digit leaf 7∣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.
Watch out: don't put the boundary values 10 and 20 in the bin on the left, which gives the wrong counts 10,10,3,2 and percentages 40%,40%,12%,8%.
Set up the four bins as 0≤t<10,10≤t<20,20≤t<30, and 30≤t<40. Which bins do the boundary wait times 10 and 20 go into?
(Watch out: don't put the boundary values 10 and 20 in the bin on the left, which gives the wrong counts 10,10,3,2 and percentages 40%,40%,12%,8%.) Putting boundary values in the bin on the right, 0≤t<10 has 9 customers (259=36%); 10≤t<20 has 10 customers (2510=40%); 20≤t<30 has 4 customers (254=16%); 30≤t<40 has 2 customers (252=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?
Watch out: don't include the 10–15 bin, which holds 10 mm up to, but not including, 15 mm and would give 34 days.
(a) Add the bins strictly to the left of 10 mm, then divide the sum of the bins from 15 mm upward by all 40 days. (b) Check what the 20–25 bar tells you and what it leaves out. (c) Ask what happens to a bar of height 18 when plotted on the same count scale as 1,000 days.
(a) 18+10=28 days had less than 10 mm of rain (watch out: don't include the 10–15 bin, which holds 10 mm up to, but not including, 15 mm and would give 34 days); 4+2=6 out of 40 days, or 15%(not the raw count 6%), had 15 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 mm and less than 25 mm(watch out: don't report the upper bin edge 25 mm as the exact maximum).
(c) Relative frequency (percent), because raw counts would squash the 40-day graph flat next to the 1,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–10 minutes. (b) Contrast a typing mistake with a real reason a test ends after 5 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 to 25 minutes and a low outlier in the 5–10 minute bin.
(b) Error: someone meant to type a time like 50 minutes and accidentally typed 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).