In short
To compare groups, put their displays on the same scale and compare shape, center, variability and unusual features using comparative words (greater than, less than, similar to). To compare individual values from different distributions, use z-scores: , the number of standard deviations a value is above or below the mean.
What you need to know
- Compare distributions using parallel displays on a common scale.
- Write comparisons of shape, center, variability and unusual features in context.
- Calculate a z-score with population parameters and interpret it.
- Use z-scores to compare relative positions in different distributions.
Comparing two groups
A company recorded the commute times of 15 workers who travel by bus and 15 who drive. The parallel boxplots below share one scale, which is essential: different scales make a fair visual comparison impossible.
| Group | Min | Q1 | Median | Q3 | Max | IQR |
|---|---|---|---|---|---|---|
| Bus | 18 | 27 | 32 | 38 | 58 | 11 |
| Car | 12 | 17 | 21 | 26 | 35 | 9 |
A complete comparison: "Center: the median commute for bus riders (32 minutes) is greater than for drivers (21 minutes). Variability: bus commutes are slightly more variable (IQR 11 minutes versus 9 minutes; range 40 versus 23). Shape: both are roughly symmetric, each with a slightly longer upper whisker. Unusual features: one bus rider's 58-minute commute is an outlier; there are no outliers among drivers."
z-scores and relative position
Is a mark of 82 on a physics test (mean 70, standard deviation 8) better than 74 on a chemistry test (mean 65, standard deviation 5)? Raw marks can't be compared, but their positions within each distribution can.
The chemistry mark is 1.8 standard deviations above its mean, the physics mark 1.5. Relative to the other students, the chemistry performance is better. A negative z-score means the value is below the mean; z = 0 means it equals the mean.
Key terms
- Parallel (side-by-side) boxplots
- Boxplots of several groups drawn on one common scale.
- Comparative language
- Words that state how groups differ: greater than, less than, more variable, similar to.
- z-score
- z = (x − μ)/σ, the number of standard deviations a value lies above or below the mean.
- Relative position
- Where a value stands within its own distribution, described by a z-score or percentile.
Common mistakes
Describing each group separately without comparing.
Write one comparative sentence for each feature.
Comparing displays drawn on different scales.
Use one common scale for every group.
Comparing raw values from different distributions.
Compare z-scores or percentiles, which measure relative position.
How this topic is tested
- Compare all four features: shape, center, variability and unusual features, in context.
- Quote the statistics you compare (medians, IQRs) with units.
- For z-scores, show the substitution and interpret the sign and size in words.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 4 · Interpret Results
Which sentence makes a correct comparison of center?
Question 2 · SP 3 · Analyze Data
A value has z-score −0.5 in a distribution with mean 40 and standard deviation 6. What is the value?
Question 3 · SP 4 · Interpret Results
Anya's 100 m time is 12.4 s (mean 13.0 s, SD 0.4 s). Ben's long jump is 5.9 m (mean 5.5 m, SD 0.2 m). Relative to their events, who did better?
Question 4 · SP 4 · Interpret Results
Parallel boxplots show Group A with IQR 6 and Group B with IQR 15. Which statement is correct?
Question 5 · SP 3 · Analyze Data
What does z = 0 mean?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Practices 3 and 4 (short) · 4 points
Two varieties of tomato plant were grown. Heights after 8 weeks (cm): Variety P: minimum 42, Q1 50, median 55, Q3 59, maximum 66. Variety Q: minimum 38, Q1 44, median 47, Q3 51, maximum 80, where 80 is an outlier and the next largest is 56.
- (a) Compare the distributions of height for the two varieties.
- (b) Identify which variety a gardener wanting taller plants should choose, and justify your answer.
Scoring guide: one point for each of the following
Part (a)
- Center: the median height of Variety P (55 cm) is greater than that of Variety Q (47 cm).
- Variability: Variety P is more variable in its middle half (IQR 9 cm versus 7 cm).
- Unusual features: Variety Q has a high outlier at 80 cm; Variety P has none, all in context.
Part (b)
- Variety P, because its median and quartiles are all higher, so its plants are typically taller; the single tall Q plant is unusual.
Connected topics
Frequently asked questions
Do I need the same sample sizes to compare groups?
No. Boxplots and summary statistics compare well even with different sizes. For categorical data, use proportions.
Is a z-score the same as a percentile?
No, but they are linked: for a normal distribution, each z-score corresponds to a percentile (topic 2.11).
Why do these z-scores use μ and σ?
This topic uses population parameters. The same calculation with x̄ and s describes position within a sample.