A raw list of numbers is hard to read at a glance, so we display the data to see its distribution and choose useful measures of center and spread.
1
Dot Plots and Histograms
To see how a list of numbers is distributed, we place the values along a number line and turn "how often values show up" into height.
Let's start with a list of 15 scores on a 10-point pop quiz, and then see what changes when we plot 100-point final exam scores.
Dot Plots and Histograms
When data lands on just a few values with plenty of repeats, a dot plot stacks a dot above each number for every time it appears:
15 quiz scores out of 107,8,6,7,9,7,5,8,7,6,8,9,7,4,10⟶stack repeats at each scorefrom 4 to 10
When values rarely repeat, their dots do not stack, though their spacing still shows concentrations and gaps. A histogram makes counts across ranges easier to compare by grouping the number line into equal intervals and drawing one bar whose height counts how many values fall inside:
4 scores in the 70s71,73,74,78,5 scores in the 80s81,82,84,85,88,2 scores in the 90s92,96⟶bars of height 4,5, and 2
Because a histogram sits on a continuous number line, neighboring bars touch; a space between bars only appears when an interval has a count of 0.
2
The Shape of a Distribution
Once the data is stacked into a dot plot or histogram, tracing a smooth curve over the tops of the stacks shows the overall shape of the distribution.
The Shape of a Distribution
Symmetric: The left and right sides roughly mirror each other around the center (including a flat uniform shape where every bar is roughly the same height).
Skewed right or skewed left: Most of the data bunches into a peak on one side while a few unusual values stretch a long tail to the right or to the left.
Peaks, gaps, and outliers: A distribution with one main peak is unimodal, while two distinct peaks (bimodal) can suggest that two different groups were mixed together. Isolated values far from the rest of the pattern are outliers.
3
Choosing Measures of Center and Spread
We have two pairs of summary statistics, Mean and Standard Deviation and Median and IQR, because the shape helps us choose which pair better describes the typical values and their spread.
Let's see what happens to the median and the mean when the highest value in the symmetric list 1,2,3,4,5 moves out to 50.
Choosing Measures of Center and Spread
Text solution
Symmetric list (1,2,3,4,5)Both the middle position and the seesaw balance point sit at 3.
MedianMean=3,=51+2+3+4+5=3
Skewed list (1,2,3,4,50)Moving the top value to 50 leaves the middle (3rd) value untouched, but pulls the balance point far to the right into the tail.
MedianMean=3,=51+2+3+4+50=560=12
So the median stays at 3 where four of the five values cluster, while the mean jumps to 12 (higher than four of the five values) and the standard deviation increases.
Moving an extreme value farther from the other values can shift the mean and increase standard deviation. The median and IQR are less sensitive to extreme values. In this example, the median stays at 3.
Moving one extreme value can shift the mean and increase standard deviation. In this example, the median and IQR stay unchanged.
Symmetric (no outliers)⟶Mean and Standard DeviationSkewed or has outliers⟶Median and IQR
4
Building and Reading Box Plots
When we describe a distribution using the median and quartiles, a box plot shows the five-number summary (Minimum,Q1,Median,Q3,Maximum) on a number line. Its four sections represent roughly quarters of the ordered data. Repeated values at quartile boundaries can prevent us from reading exact interval counts from the plot.
Let's build a box plot from 12 ordered exam scores, read percentages for this dataset, and compare section widths for clues about shape.
Building and Reading Box Plots
Text solution
Cut the ordered list of 12 in half for the medianSplit the list between the 6th and 7th scores (69 and 71).
Count 25% sections for percentages and compare widths for shapeEach of the four sections holds 3 students (25%), so the three sections above Q1=66 hold 25%+25%+25%=75% of the class, and the stretched right sections (70 to 80 and 80 to 100) show that the distribution is skewed right.
For these 12 scores, each section contains 3 students. A narrower section contains the same count in a smaller interval, so the scores are more concentrated there. The box plot alone does not determine histogram peaks, gaps, or individual values.
Each section holds 3 of these 12 scores, so changing a section's width only changes how spread out its 3 scores are.
5
Comparing Two Distributions
To compare two groups (which group has higher typical values and which group is more consistent), we compare their centers and spreads on the same scale using a single pair of statistics that works for both shapes.
Now let's compare Period 1's exam scores (Min=62,Q1=66,Median=70,Q3=80,Max=100) with Period 2's exam scores (Min=70,Q1=78,Median=82,Q3=86,Max=94).
Comparing Two Distributions
Text solution
Check the displays to choose the statisticsPeriod 2's matching whiskers and box halves are consistent with symmetry, while Period 1's longer right sections suggest right skew. The box plots give us the median and IQR for both classes.
Period 1:Suggests right skew,Period 2:Consistent with symmetry⟶Use Median and IQRfor both
Compare centers for typical performanceCompare the two medians on the exam.
Compare spreads for consistencyCompare the box widths (and overall ranges) of the two classes.
Period 2 IQRPeriod 1 IQR=86−78=8,=80−66=14
So a typical student in Period 2 scored 12 points higher than a typical student in Period 1 (even though Period 1 had the single highest score of 100), and Period 2 was more consistent because its middle 50% of scores fell within an 8-point spread instead of 14.
Key concepts
Picking a display
Use a dot plot when values land on a few spots with repeats (quiz scores 4 to 10). Switch to a histogram when values spread across a wide range with almost no repeats (71,73,74,78 become a 70–80 bar of height 4), giving up exact individual scores so you can see the overall shape.
Reading shape and choosing Center & Spread
Follow the longer tail to name the skew. Mean and Standard Deviation are a useful pair for symmetric data without outliers. Median and IQR are less sensitive to extreme values and are useful for skewed data or data with outliers. Changing 1,2,3,4,5 to 1,2,3,4,50 raises the mean from 3 to 12, while the median stays at 3.
Reading a box plot
The five-number summary (Min,Q1,Median,Q3,Max) marks four sections representing roughly quarters of the ordered data. Spread is measured by IQR=Q3−Q1 and Range=Max−Min. For the 12 exam scores, each section contains exactly 3 students. Comparing section widths gives clues about concentration and skew, but does not reveal every peak or gap.
Comparing two groups
Compare the same measures for both groups. Mean and Standard Deviation are useful when both distributions are symmetric without outliers. Median and IQR are useful when either distribution is skewed or has outliers, and can be read directly from box plots. A higher center (Median 82>70) means a higher typical value, and a smaller spread (IQR 8<14) means greater consistency.
6
Practice
1
A teacher records the time (in seconds) it takes 25 students to finish a puzzle. The times range from 41 to 98 seconds with almost no repeats, so she groups them into a histogram with 10-second intervals: 40–50 has height 2, 50–60 has height 5, 60–70 has height 9, 70–80 has height 6, 80–90 has height 2, and 90–100 has height 1. Each interval includes its lower endpoint and excludes its upper endpoint. (a) Why is a histogram better than a dot plot for displaying these times? (b) How many students took 70 seconds or more, and can you tell from the histogram how many students took exactly 75 seconds?
Be careful not to stop at just the 70–80 bar and answer 6, or include the 60–70 bar to get 18.
For (a), think about what happens to the height of a dot plot when numbers rarely repeat. For (b), check which intervals cover all times from 70 seconds up to 100 seconds.
(a) Because the times rarely repeat, few dots would stack. Their spacing would still show concentrations and gaps, but grouping the times into histogram intervals makes the counts across time ranges easier to compare. (b) Add the heights of every bar from 70 seconds upward (70–80,80–90, and 90–100). Be careful not to stop at just the 70–80 bar and answer 6, or include the 60–70 bar to get 18:
6+2+1=9 students took 70 seconds or more.
You cannot tell how many took exactly 75 seconds, because a histogram gives up exact individual numbers to show the overall shape.
2
Name the shape you would expect for each distribution and explain why: (a) The scores on an easy quiz where almost everyone scored in the 80s and 90s, and only a few students scored in the 30s and 40s. (b) The heights of everyone in a first-grade classroom during Parent Night (both the 6-year-old students and their adult parents).
For (a), note where the main cluster sits and which way the few low scores stretch the tail. For (b), think about how many separate clusters of heights are in the room.
(a) Skewed left, because while the tall peak is on the right in the 80s and 90s (don't name the skew after the peak and call it skewed right), the few low scores in the 30s and 40s stretch a long tail to the left. (b) Bimodal (two peaks), because two different groups are mixed together: one peak clustered around typical first-grader heights and a second peak clustered around typical adult heights.
3
Seven coworkers compare their daily commute times (in minutes): 10, 12, 15, 15, 18, 20, and 85. (a) Find the mean and the median of these times. Why is the mean higher than six of the seven coworkers' commutes? (b) Which pair of measures, Mean and Standard Deviation, or Median and IQR, should be used to describe the center and spread of this data?
For (a), find the 4th value in the ordered list of 7 coworkers, then divide the sum of all 7 commutes by 7. For (b), check which pair is less sensitive to the 85-minute commute.
(a) Counting both 15s in the ordered list (don't drop the repeat and divide by 6), the median is 15 minutes (the 4th value in order), and the mean is 175÷7=25 minutes. The outlier at 85 minutes pulls the mean (the balance point) far to the right into the tail, while the median only counts position and isn't pulled. (b) Median and IQR (keep this pair together rather than mixing Median with Standard Deviation), because the data is skewed right by the 85-minute outlier, which pulls both the mean and the standard deviation.
4
Find the five-number summary (Minimum, Q1, Median, Q3, Maximum), the range, and the IQR for this ordered list of 10 daily high temperatures (°F): 54, 58, 60, 63, 65, 67, 71, 74, 80, 88.
Split the 10 temperatures into the bottom 5 and top 5 first; the median sits halfway between the 5th and 6th temperatures, and Q1 and Q3 are the middle values of each group of 5.
Minimum=54
Median=265+67=66 (halfway between the 5th and 6th numbers, 65 and 67)
Q1=60 (middle of the full bottom five: 54,58,60,63,65; keep 65 in the bottom half rather than dropping it to get 59)
Q3=74 (middle of the full top five: 67,71,74,80,88; keep 67 in the top half rather than dropping it to get 77)
Maximum=88
Range=88−54=34∘F, and IQR=74−60=14∘F (be careful not to swap Range and IQR).
5
A box plot shows the weights (in pounds) of 40 dogs at an animal shelter: Minimum = 12, Q1 = 18, Median = 42, Q3 = 48, and Maximum = 52. No dog weighs exactly 18, 42, or 48 pounds. (a) What percent of the dogs weigh between 18 and 52 pounds? (b) Which group contains more dogs: the wide section from 18 to 42 pounds, or the narrow section from 42 to 48 pounds? How many dogs are in each? (c) Does this box plot suggest symmetry, left skew, or right skew?
Since there are 40 dogs and none weigh exactly the quartile values, each section contains 10 dogs. Count the sections first, then compare their widths for a clue about skew.
(a) 75%, because 18 (Q1) to 52 (Maximum) covers three of the four 25% sections (both halves of the box plus the right whisker). (b) Both sections contain the exact same number of dogs: 25% of 40, which is 10 dogs each (don't get tricked by the wider 24-pound span from 18 to 42 into thinking it holds more dogs than the 6-pound span from 42 to 48). (c) The box plot suggests left skew, because the left half of the box (18 to 42) is much wider than the right half (42 to 48). The sections to the left of the median span 30 pounds altogether, compared with 10 pounds to the right. This does not determine the location or height of a histogram peak.
6
Two delivery companies track delivery times (in minutes) using box plots on the same scale:
Company A: Minimum = 15, Q1 = 20, Median = 24, Q3 = 36, Maximum = 60.
Company B: Minimum = 22, Q1 = 28, Median = 32, Q3 = 36, Maximum = 42.
(a) State which shape each box plot suggests and which pair of statistics you would use to compare the two companies. (b) Company B argues that it is faster because Company A had the single slowest delivery of 60 minutes. Compare the two companies' typical delivery times and consistency using the statistics you chose in part (a).
For (a), compare the left and right section widths of each box plot. For (b), keep in mind that a smaller delivery time means a faster delivery, and compare Q3−Q1 for consistency.
(a) Company A's plot suggests right skew because its right box half from 24 to 36 and right whisker from 36 to 60 are much longer than its left sections. Company B's plot is consistent with symmetry because its whiskers both have length 6 and its box halves both have length 4. Compare both using Median and IQR, which we can read directly from the box plots. (b) Company A has the faster typical delivery. Its median delivery time is 24 minutes compared to Company B's median of 32 minutes, a difference of 8 minutes, despite Company A's maximum of 60 minutes. However, Company B is more consistent: using Q3−Q1 for the IQR (rather than Max−Min), Company B has an IQR of 36−28=8 minutes (and range 20), whereas Company A has a larger IQR of 36−20=16 minutes (and range 45).