AP Statistics · Unit 1 · Lesson 4

Boxplots, Comparing Distributions & z-Scores

箱线图、比较分布与 z 分数

Topic 1.8 Graphical Representations of Summary Statistics · Topic 1.9 Comparing Distributions

45 min core+ Bonus practiceCED 2026TPS 1.3 + 2.1
MG · AP Statistics→ next · O contents · N notes · F fullscreen
Unit 1 · Roadmap

Where we are in Unit 1 单元路线图

Exploring One-Variable Data and Collecting Data · 20–30% of the AP exam

11.1–1.4 Introducing Statistics & One Categorical VariableTPS 1.0 + 1.1
21.5 + 1.6 Graphs for One Quantitative VariableTPS 1.2
31.7 Summary StatisticsTPS 1.3
41.8 + 1.9 Boxplots, Comparing & z-ScoresTPS 1.3 + 2.1
51.10–1.12 Data Collection, Sampling & BiasTPS 4.1
61.13 Experimental DesignTPS 4.2 + 4.3
💡 Lesson 3: summary statistics — center, spread, outliers. Today: draw them (boxplots), compare groups, and measure relative position with z-scores. 把统计量画出来、比较、用 z 分数衡量相对位置。
Unit 1 · Lesson 4
Lesson 4 · Learning Objectives (CED)

By the end of today, you can… 学习目标

1.8.A · Skill 3.A

Boxplots ★★★★

Construct a boxplot from the five-number summary, marking outliers.

用五数概括画箱线图并标出离群值

1.8.B · Skill 4.A

Mean vs. median ★★★★

Describe shape using the relationship between the mean and the median.

用均值与中位数的关系描述形状

1.9.A–B · Skill 4.A

Compare ★★★★

Compare two or more distributions using graphs and summary statistics.

用图形和统计量比较分布

1.9.C · Skill 4.B

Justify ★★★★

Justify a claim using multiple graphical representations.

用多个图形论证结论

1.9.D · Skill 3.B

z-scores ★★★★

Calculate and interpret a z-score.

计算并解释 z 分数

1.9.E · Skill 4.C

Relative position ★★★★

Compare z-scores as measures of relative position.

用 z 分数比较相对位置

Unit 1 · Lesson 4
Lesson 4 · Agenda

Today's plan 课堂安排

3'
Warm-up: five numbers that tell the story
12' · 1.8.A
Five-number summary → boxplot (with outliers) · what boxplots hide
5' · 1.8.B
Mean vs. median → shape
10' · 1.9.A–C
Compare distributions · justify a claim
10' · 1.9.D–E
z-scores: Jenny’s two tests
3'
AP-style MCQ + exit ticket
Bonus
Cumulative relative frequency graph · transformation review
📝 Example 例题 — think first!✅ Answers 答案 — click 👁 under each question 点击显示🎮 Simulator 模拟器★★★★ basic → ★★★★ AP challenge

CED order: 1.8.A.1 → 1.8.A.2 → 1.8.B.1 → 1.9.A.1 → 1.9.B.1 → 1.9.C.1 → 1.9.D.1–2 → 1.9.E.1

Unit 1 · Lesson 4
Lesson 4 · Simulators

🎮 Simulators in this lesson 本节模拟器

Look for the navy 🎮 SIMULATOR banner. Click to jump there. 深蓝色横幅 = 模拟器,点击可直接跳转。

Unit 1 · Lesson 4
📝 Warm-up · 例题★★★★Warm-up

Five numbers that tell the story 五个数讲一个故事

Recall the travel times to work (minutes) for 20 New Yorkers (Lesson 3):

5 10 10 15 15 15 15 20 20 20 25 30 30 40 40 45 60 60 65 85
Q1What are the min, Q₁, median, Q₃, and max?
Min = 5, Q₁ = 15, median = 22.5, Q₃ = 42.5, max = 85.
Q2Is any value an outlier by the 1.5 × IQR rule?
IQR = 27.5; high fence = 42.5 + 41.25 = 83.75 → 85 is an outlier.
Q3What percent of the data lies between each pair of these five numbers?
About 25% in each of the four sections → today we draw this as a boxplot!
🔑 Sorted travel times, n = 20.
Unit 1 · Lesson 4
Topic
1.8

Graphical Representations of Summary Statistics

概括统计量的图形表示
1.8.A.1 Five-number summary1.8.A.2 Boxplot (outliers marked)1.8.B.1 Mean vs. median & shape
Unit 1 · Lesson 4
1.8.A · Key ConceptsEK 1.8.A.1–2
Difficulty 难度 ★★★★

Five-Number Summary & Boxplot 五数概括与箱线图

Five-number summary五数概括
The five-number summary is the minimum, Q₁, median, Q₃, and maximum.
五数概括:最小值、Q₁、中位数、Q₃、最大值。
Boxplot箱线图
A boxplot is a graph of the five-number summary. The box shows the middle 50% of the data, with a line at the median and ends at the quartiles. Whiskers (each about 25% of the data) extend from Q₁ to the minimum and from Q₃ to the maximum. If there are outliers, the whiskers extend to the most extreme values that are not outliers, and outliers are marked with an asterisk (✱) or other symbol.
箱线图是五数概括的图形。箱子表示中间 50% 的数据,中间一条线是中位数,两端是四分位数。须(各约 25% 的数据)从 Q₁ 延伸到最小值、从 Q₃ 延伸到最大值。若有离群值,须只延伸到最极端的非离群值,离群值用 ✱ 等符号单独标出。
Unit 1 · Lesson 4
1.8.A · StepsEK 1.8.A.2 · TPS 1.3
Difficulty 难度 ★★★★

How to make a boxplot 如何画箱线图

① Five-number summary · min, Q₁, median, Q₃, max 求五数概括
② Outliers · use the 1.5 × IQR rule 用 1.5×IQR 判断离群值
③ Axis · draw, label (variable + units), and scale 画数轴、标名称、标刻度
④ Box · from Q₁ to Q₃, line at the median Q₁ 到 Q₃ 画箱,中位数画线
⑤ Whiskers · to the most extreme values that are not outliers 须延伸到最远的非离群值
⑥ Outliers · mark each separately with ✱ 离群值单独标出
⚠️ Common mistake: drawing the whisker all the way to an outlier. The whisker stops at the largest (or smallest) value that is not an outlier. 常见错误:须画到离群值。
⚠️ Boxplots do not show individual values, so they hide gaps, clusters, and peaks. A longer section does not mean more data — each section holds about 25%. 箱线图看不到间隙、簇和峰;更长的部分并不代表更多数据。
Unit 1 · Lesson 4
📝 Example 2 · 例题★★★★EK 1.8.A.2

Boxplot of travel times 画通勤时间的箱线图

Five-number summary of the 20 travel times: 5, 15, 22.5, 42.5, 85 (minutes).
Sorted data: 5 10 10 15 15 15 15 20 20 20 25 30 30 40 40 45 60 60 65 85

aIdentify any outliers.
Fences: 15 − 41.25 = −26.25 and 42.5 + 41.25 = 83.75 → 85 is an outlier.
bMake a boxplot. Where does the right whisker end?
Step 1. Draw and scale the axis “Travel time (minutes)”; draw the box from 15 to 42.5 with a line at 22.5.
Step 2. Left whisker to the min, 5. Right whisker to 65 — the largest value that is not an outlier.
Step 3. Mark 85 with ✱.
🔑 IQR = 42.5 − 15 = 27.5.
Unit 1 · Lesson 4 · Data: TPS 1.3
🎮Simulator 模拟器Dotplot ↔ boxplot点图与箱线图对照Try it! 动手试试
EK 1.8.A.2

Any data → dotplot and boxplot on the same scale. What can you see in the dotplot that the boxplot hides? 箱线图隐藏了什么?

Unit 1 · Lesson 4
📝 Example 3 · 例题★★★★EK 1.8.A.2

Reading a boxplot 读箱线图

The boxplot shows the number of pairs of shoes owned by 20 female students (Lesson 2).

aFind the median, IQR, and range.
Median = 26 pairs; IQR = 43.5 − 20.5 = 23 pairs; range = 57 − 13 = 44 pairs.
bAbout what percent of the students own more than 43.5 pairs?
43.5 is Q₃ → about 25% own more than 43.5 pairs.
cTrue or false: “More students own between 26 and 43.5 pairs than between 20.5 and 26 pairs, because that part of the box is longer.”
False. Each section holds about 25% (here 5 students each). The longer part means the values are more spread out, not more numerous.
🔑 Five-number summary: 13, 20.5, 26, 43.5, 57.
Unit 1 · Lesson 4 · Data: TPS 1.2
1.8.B · Key ConceptEK 1.8.B.1
Difficulty 难度 ★★★★

Mean, Median, and Shape 均值、中位数与形状

Key idea核心
If a distribution is relatively symmetric, the mean and median are relatively close. If it is skewed right, the mean is usually larger than the median. If it is skewed left, the mean is usually smaller than the median.
分布近似对称:均值与中位数接近。右偏:均值通常大于中位数。左偏:均值通常小于中位数。
Unit 1 · Lesson 4
📝 Example 4 · 例题★★★★EK 1.8.B.1

What shape? 是什么形状?

For each data set, predict the shape from the mean and median.

aSalaries of NBA players: mean $9.7 million, median $4.3 million.
Mean ≫ median → probably skewed right (a few huge salaries).
bScores on an easy quiz: mean 71, median 78.
Mean < median → probably skewed left (a few very low scores).
cHeights of adult women: mean 162.3 cm, median 162.1 cm.
Mean ≈ median → roughly symmetric.
🔑 Mean is pulled toward the long tail.
💡 “Usually” — this is a clue, not a proof. Always look at a graph if you can!
Unit 1 · Lesson 4
🎮Simulator 模拟器Skew it! Mean vs. median拖动偏度:均值与中位数Try it! 动手试试
EK 1.8.B.1

Drag to change the shape of the distribution (200 values). Watch the mean, the median, and the boxplot. 改变形状,观察均值、中位数与箱线图。

Mean
Median
Unit 1 · Lesson 4
Topic
1.9

Comparing Distributions of a Quantitative Variable

比较定量变量的分布
1.9.A Compare graphs1.9.B Compare summary statistics1.9.C Justify a claim1.9.D z-scores1.9.E Compare relative position
Unit 1 · Lesson 4
1.9.A–C · Key ConceptsEK 1.9.A.1 · 1.9.B.1 · 1.9.C.1
Difficulty 难度 ★★★★

Comparing Distributions 比较分布

Which graph?用什么图
Histograms, back-to-back stemplots, and dotplots can compare center, variability, shape, outliers, clusters, or gaps. Boxplots can compare center, variability, outliers, and skewness (or symmetry). Comparisons can include any numerical summaries (mean, SD, …).
直方图、背靠背茎叶图、点图可比较中心、变异、形状、离群值、簇和间隙;箱线图可比较中心、变异、离群值和偏态(或对称)。比较中可以使用任何数值概括(均值、标准差等)。
How to compare怎么比较
Address SOCS for each feature, use comparative language (“greater than”, “less than”, “about the same as”), give numbers, and write in context.
对每个特征(SOCS)都要用比较性语言,给出数字,并结合语境。
Unit 1 · Lesson 4
📝 Example 5 · 例题★★★★EK 1.9.A–B · Skill 4.A

Hybrid vs. gas cars 混动车 vs 燃油车

City gas mileage (mpg) for 15 hybrid cars and 20 gas cars. (Constructed data.)

nMeanSDMinQ₁MedQ₃Max
Hybrid1550.57.74046495473
Gas2024.74.51721.52427.535
Compare the distributions of city gas mileage for the two types of cars.
Step 1. Shape: hybrid mileage is roughly symmetric apart from one high value; gas mileage is slightly skewed right (mean 24.7 > median 24).
Step 2. Outliers: the hybrid with 73 mpg is an outlier (> 66); gas cars have no outliers.
Step 3. Center: hybrids typically get much higher mileage (median 49 mpg) than gas cars (median 24 mpg).
Step 4. Variability: hybrid mileage varies more (IQR 8 vs. 6 mpg; range 33 vs. 18 mpg).
🔑 Hybrid fences: 46 − 12 = 34, 54 + 12 = 66. Gas fences: 12.5, 36.5.
💡 Every sentence compares the two groups, with numbers and context.
Unit 1 · Lesson 4
🎮Simulator 模拟器Compare two groups比较两组Try it! 动手试试
EK 1.9.A–B

Group A is fixed. Change group B, then read the automatic comparison. 调整 B 组,阅读自动生成的比较语句。

Unit 1 · Lesson 4
📝 Example 6 · 例题★★★★EK 1.9.C.1 · Skill 4.B

Sleep and reaction time 睡眠与反应时间

Reaction times (milliseconds) of 24 students: 12 who slept less than 6 hours and 12 who slept at least 8 hours.

aClaim 1: “Every student who slept at least 8 hours was faster than every student who slept less than 6 hours.” Supported?
Claim 1: not supported. The slowest 8-hour sleeper (330 ms) was slower than the fastest short sleeper (262 ms) — the distributions overlap.
bClaim 2: “About 75% of the students who slept at least 8 hours were faster than the median of the short-sleep group.” Supported?
Step 1. Short-sleep median ≈ 303 ms. Q₃ for the 8-hour group is about 280 ms < 303.
Step 2. So at least 75% of the 8-hour sleepers were faster than 303 ms → Claim 2 is supported (in fact 11 of 12).
🔑 Faster = smaller reaction time.
Unit 1 · Lesson 4
1.9.D · Key ConceptEK 1.9.D.1–2
Difficulty 难度 ★★★★

Standardized Scores (z-Scores) 标准分数(z 分数)

z-scorez 分数
A standardized score (z-score) measures how many standard deviations a data value falls above or below the mean. Positive z → above the mean; negative z → below the mean.
标准分数(z 分数)表示一个数据比均值高(或低)多少个标准差。z 为正→高于均值;z 为负→低于均值。
Unknown μ, σ未知参数时
When the population mean and standard deviation are unknown, the sample mean x̄ and standard deviation s may be used.
总体均值和标准差未知时,可以用样本均值 x̄ 与样本标准差 s。
z=\frac{x-\mu}{\sigma}\qquad\text{or}\qquad z=\frac{x-\bar{x}}{s}
  or  
Unit 1 · Lesson 4
Behind the Formula · 公式背后的逻辑
3 min · derivation optional

Why Subtract the Mean and Divide by SD? z 分数的单位

Center: subtract the mean to measure signed distance from the center.

Rescale: divide by the standard deviation to express that distance in SD units. The original units cancel.

A score of 86 in a distribution with mean 70 and SD 8:

先看离均值多远,再问相当于几个标准差。z = 2 表示高于均值 2 个标准差。

A z-score describes relative position for any distribution with positive SD. Converting it to a percentile requires information about the distribution’s shape.

Unit 1 · Derivation optional / 推导不作 AP 必背要求
📝 Example 7 · 例题★★★★EK 1.9.D.2

Jenny’s statistics test Jenny 的统计考试

Here are the scores of all 25 students in Mr. Pryor’s statistics class on their first test. Jenny scored 86.

79 81 80 77 73 83 74 93 78 80 75 67 73 77 83 86 90 79 85 83 89 84 82 77 72

The class mean is 80 and the standard deviation is 6.07.

aFind and interpret Jenny’s z-score.
Step 1. z = (86 − 80) ÷ 6.07 ≈ 0.99.
Step 2. Jenny’s score is about 1 standard deviation above the mean score of the class.
bWhat is Jenny’s percentile?
22 of the 25 scores are ≤ 86 → 22/25 = 88% → Jenny is at the 88th percentile.
🔑 x = 86, μ = 80, σ = 6.07 (the whole class is the population).
Unit 1 · Lesson 4 · Data: TPS 2.1
📝 Example 8 · 例题★★★★EK 1.9.E.1 · Skill 4.C

Stats or chemistry? 统计还是化学考得更好?

The next day, Jenny earned 82 on Mr. Goldstone’s chemistry test. At first she was disappointed. Then Mr. Goldstone said the distribution of scores was fairly symmetric with a mean of 76 and a standard deviation of 4.

On which test did Jenny perform better relative to her class? Justify your answer.
Step 1. Statistics: z = (86 − 80) ÷ 6.07 ≈ 0.99.
Step 2. Chemistry: z = (82 − 76) ÷ 4 = 1.5.
Step 3. 1.5 > 0.99 → Jenny did better relative to the class on the chemistry test: 1.5 SDs above the mean vs. about 1 SD above.
🔑 Compare z-scores — relative position.
💡 A raw score of 82 can be “better” than 86 — z-scores put different scales on the same footing.
Unit 1 · Lesson 4 · TPS 2.1
📝 Example 9 · 例题★★★★EK 1.9.D.2

Working backward 反推原始分数

On a test with mean 72 and standard deviation 8:

aMarco’s z-score is −1.5. What was his score?
x = 72 + (−1.5)(8) = 72 − 12 = 60.
bLin scored 92. What is her z-score? Is her score unusual by the 2-SD rule?
Step 1. z = (92 − 72) ÷ 8 = 2.5.
Step 2. |z| = 2.5 > 2 → Lin’s score is more than 2 SDs above the mean → an outlier by the 2-SD rule.
🔑 x = μ + z·σ.
💡 The 2-SD outlier rule from Lesson 3 is the same as |z| > 2.
Unit 1 · Lesson 4
🎮Simulator 模拟器z-score face-offz 分数对决Try it! 动手试试
EK 1.9.D–E
z_{A}
z_{B}
Unit 1 · Lesson 4
📝 AP Practice 10 · AP 选择题★★★★EK 1.8.A.2

What does a boxplot show?

Which of the following can not be determined from a boxplot of a data set?
  • (A) The median
  • (B) The interquartile range
  • (C) The mean
  • (D) Whether there are outliers (1.5 × IQR rule)
  • (E) The range

Median, IQR, range, and outliers all come from the five-number summary.

The mean uses every value → cannot be found from a boxplot → (C).

Unit 1 · Lesson 4
📝 AP Practice 11 · AP 选择题★★★★EK 1.9.A.1

Parallel boxplots

The boxplots summarize quiz scores in two classes. Which statement must be true?
  • (A) Class A has the higher median.
  • (B) Class A has the larger IQR.
  • (C) Class B has the larger range.
  • (D) More students in B than in A scored above 72.
  • (E) Class A has a high outlier.

Medians 70 vs. 72 → (A) false. IQR: A = 16, B = 10 → (B) true.

Range 45 vs. 33 → (C) false. Boxplots don’t show counts → (D) can’t tell. A’s fence = 78 + 24 = 102 → (E) false.

Unit 1 · Lesson 4
📝 AP Practice 12 · AP 选择题★★★★EK 1.9.D.2

Interpret a z-score

Ahmed’s z-score for his height among students in his school is −1.2. Which is the best interpretation?
  • (A) Ahmed is 1.2 inches shorter than the mean height.
  • (B) Ahmed’s height is 1.2 standard deviations below the mean height.
  • (C) Ahmed is shorter than 12% of the students.
  • (D) Ahmed’s height is 1.2 standard deviations above the mean height.
  • (E) Ahmed’s height is unusual (an outlier).

Negative z → below the mean; 1.2 is measured in standard deviations, not inches → (B).

|−1.2| < 2 → not an outlier by the 2-SD rule.

Unit 1 · Lesson 4
Bonus
📝 Example 13 · 例题★★★★TPS 2.1 · EK 1.7.A.6

Cumulative relative frequency graph 累积相对频率图(Bonus)

Ages of the first 44 U.S. presidents when inaugurated:

Age40–4445–4950–5455–5960–6465–69
Frequency27131273
Cumulative %4.520.550.077.393.2100
aBarack Obama was 47 when inaugurated. Use the graph to estimate his percentile. Was he unusually young?
Step 1. From 47 go up to the graph, then left: about 11% → about the 11th percentile.
Step 2. Only about 11% of presidents were his age or younger → fairly young, but not extremely unusual.
bEstimate and interpret the 65th percentile.
From 65% go across, then down: about 58 years. About 65% of presidents were 58 or younger when inaugurated.
🔑 Read up from the age, or across from the percent.
Unit 1 · Lesson 4 · TPS 2.1 (not on the 2026 CED — enrichment)
Bonus
📝 AP Practice 14 · AP 选择题★★★★EK 1.7.C.1 · TPS 2.1

Transformation review

Australian students guessed the width of their classroom (meters): mean 16.02, SD 7.14. The teacher defines error = guess − 13, then converts the errors to feet (× 3.28). What are the mean and SD of the errors in feet?
  • (A) Mean 9.91 ft, SD 7.14 ft
  • (B) Mean 52.55 ft, SD 23.42 ft
  • (C) Mean 9.91 ft, SD 23.42 ft
  • (D) Mean 3.02 ft, SD 23.42 ft
  • (E) Mean 9.91 ft, SD 10.40 ft

Mean: (16.02 − 13) × 3.28 = 3.02 × 3.28 ≈ 9.91 ft.

SD: subtracting doesn’t change spread; × 3.28 → 7.14 × 3.28 ≈ 23.42 ft → (C).

Unit 1 · Lesson 4 · Data: TPS 2.1
Wrap-up · Summary

Key vocabulary 本课词汇

English中文Remember… / 记住Level
Five-number summary五数概括min, Q₁, median, Q₃, max★★★★
Boxplot · whisker箱线图 · 须Box = middle 50%; whiskers to most extreme non-outliers★★★★
Outlier (✱) on a boxplot箱线图上的离群值Marked separately with a symbol★★★★
Mean vs. median均值 vs 中位数Mean > median → usually skewed right★★★★
Comparative language比较性语言“greater than / less than / about the same as” + context★★★★
Standardized score (z-score)标准分数z = (x − μ)/σ · SDs above/below the mean★★★★
Relative position相对位置Compare z-scores across different distributions★★★★
Percentile百分位数% of values ≤ the value★★★★
Unit 1 · Lesson 4
📝 Exit ticket · 例题★★★★1.8–1.9

Exit ticket 🎟️ 离堂小测

Hours of exercise last week for 11 students:

0 2 3 4 5 6 7 8 9 10 22
1Find the five-number summary, check for outliers, and sketch a boxplot.
Five-number summary: 0, 3, 6, 9, 22. IQR = 6; high fence = 9 + 9 = 18 → 22 is an outlier; the right whisker ends at 10.
2Ana scored 680 on the SAT Math (mean 520, SD 115). Ben scored 28 on the ACT Math (mean 20.7, SD 5.5). Who did better relative to other test-takers?
z_{Ana} = (680 − 520)/115 ≈ 1.39; z_{Ben} = (28 − 20.7)/5.5 ≈ 1.33 → Ana did slightly better relative to other test-takers.
🔑 n = 11 → median is the 6th value; leave it out of the halves.
Unit 1 · Lesson 4
Next time · Lesson 5

Collecting Data: Studies, Sampling & Bias

数据收集:研究、抽样与偏差 · Topics 1.10–1.12

Investigative questions, observational studies vs. experiments, SRS, stratified, cluster, systematic samples, and sources of bias.

MG · AP Statistics
课件目录