Section 1
Why We Compare Distributions: A Brief History
Long before anyone had a graphing calculator, people wrestled with the question of how to summarize a messy pile of numbers. The earliest efforts focused on a single idea — finding the "middle" value — but over centuries, statisticians realized that the center alone tells an incomplete story. The shape and spread of data matter just as much, and ignoring extreme data points can distort conclusions in dangerous ways.
1669 • The Arithmetic Mean
1733 • The Bell Curve
1880s • Standard Deviation
1977 • The Box Plot & Robustness
Today • Contextual Comparison
The question that drives this lesson is straightforward yet powerful: when you look at two (or more) data sets side by side, what do their shapes, centers, and spreads actually mean — and how do extreme values change the picture?
Section 2
Core Principles & Definitions
Before diving into comparisons, you need a firm grip on four foundational ideas. Every data distribution can be described through its shape, center, spread, and any outliers it contains. Think of these as the four dimensions of a distribution's personality.
Shape
Center
Spread
Outliers
Key Takeaway
Section 3
Visualizing Shape, Center, and Spread
The most intuitive way to compare distributions is side by side. Below is a dot-plot style diagram showing two data sets — Class A and Class B — representing test scores for two sections of the same course. Study how the shape, center, and spread differ, and notice the outlier in Class B.
Notice how the outlier in Class B creates a visible gap between the mean and the median. In a symmetric distribution like Class A, the mean and median sit almost on top of each other. The moment you introduce a single extreme value, the mean shifts toward that outlier while the median barely budges. This is why, for skewed data, the median is typically the better measure of center, and the IQR is the more reliable measure of spread.
Section 4
Mathematical Framework
You're already familiar with computing the mean and standard deviation, but it's worth reviewing these formulas side by side with their "resistant" (robust) counterparts to see exactly why outliers hit some measures harder than others.
Mean (Non-Resistant)
Every value contributes equally. One extreme value shifts the sum — and thus the mean — significantly.
Median (Resistant)
Depends only on position in the ordered list, not magnitude. An outlier at the far end barely changes which value is "in the middle."
Standard Deviation (Non-Resistant)
Each data point's squared distance from the mean is summed. Outliers produce huge squared deviations, inflating s.
Interquartile Range (Resistant)
Captures the spread of only the middle 50% of data. Extreme values lie outside this window and don't affect the IQR.
The 1.5 × IQR Rule for Identifying Outliers
Once you've calculated Q₁ and Q₃, you can formally flag outliers. Any value below Q₁ − 1.5 × IQR or above Q₃ + 1.5 × IQR is considered a potential outlier. This rule strikes a balance between being too lenient (missing extreme values) and too strict (flagging ordinary data as extreme). It's the standard method used in box plots.
Key Takeaway
Section 5
How Shape, Center, and Spread Interact
The relationship between shape and the choice of summary statistics is one of the most practical concepts in statistics. The diagram below summarizes how different distribution shapes affect the relationship between the mean and median, and which measures of center and spread are most appropriate for each shape.
Interpreting Differences "In Context"
Computing numbers is only half the job. The Common Core standard asks you to interpret differences in context, which means you must connect the statistics back to the real-world situation. For example, saying "the median of Class B (83) is higher than the median of Class A (78)" is just arithmetic. Saying "a typical student in Class B scored about 5 points higher than a typical student in Class A, suggesting that Class B may have had better preparation or an easier exam section" is an interpretation in context.
Likewise, when you note that Class B has a much larger range but a comparable IQR to Class A, you should explain that the wide range is almost entirely driven by the single outlier at 52. Without that outlier, Class B's range would shrink considerably, and the two classes would have similar variability. The outlier warrants investigation — perhaps that student was absent for part of the material or experienced test anxiety.
Section 6
Worked Example
Two local restaurants tracked customer wait times (in minutes) over a Saturday evening. Compare the distributions and interpret the differences in context.
Restaurant A: 8, 10, 11, 12, 13, 14, 14, 15, 16, 18
Restaurant B: 5, 9, 10, 11, 12, 12, 13, 14, 15, 42
Restaurant Wait Times Comparison
- 1
Step 1 — Calculate the Centers
Restaurant A mean: (8+10+11+12+13+14+14+15+16+18) / 10 = 131 / 10 = 13.1 minRestaurant A median: Ordered already, n = 10, so median = (13 + 14) / 2 = 13.5 min. Restaurant B mean: (5+9+10+11+12+12+13+14+15+42) / 10 = 143 / 10 = 14.3 min. Restaurant B median: (12 + 12) / 2 = 12.0 min. Notice that Restaurant B's mean (14.3) is higher than Restaurant A's mean (13.1), but its median (12.0) is lower. That's a red flag suggesting an outlier is pulling the mean upward. - 2
Step 2 — Calculate the Spread
Restaurant A: Q₁ = 11, Q₃ = 15 → IQR = 4 min. Range = 18 − 8 = 10 min.Restaurant B: Q₁ = 10, Q₃ = 14 → IQR = 4 min. Range = 42 − 5 = 37 min. The IQRs are identical, but Restaurant B's range is nearly four times larger — driven entirely by the 42-minute wait. - 3
Step 3 — Check for Outliers (1.5 × IQR Rule)
Restaurant B: Lower fence = 10 − 1.5(4) = 4. Upper fence = 14 + 1.5(4) = 20.The value 42 is well above 20, so it is a clear outlier. No other values fall outside the fences. - 4
Step 4 — Describe the Shape
Restaurant A is roughly symmetric — values spread fairly evenly around the center. Restaurant B is strongly right-skewed due to the outlier at 42, which creates a long tail to the right. - 5
Step 5 — Interpret in Context
A typical customer at Restaurant A waited about 13–13.5 minutes, and wait times were fairly consistent (IQR of 4 min). A typical customer at Restaurant B actually waited less — about 12 minutes — and most customers experienced similar consistency (IQR also 4 min). However, one customer at Restaurant B waited 42 minutes, an extreme anomaly that might have resulted from a kitchen mishap or a large complicated order. If you relied only on the mean, you'd wrongly conclude Restaurant B has longer waits on average. The median and IQR tell a more accurate story: Restaurant B is actually slightly faster for the typical customer, with one major exception.
Section 7
Resistant vs. Non-Resistant Measures
One of the most important practical decisions in statistics is choosing the right summary statistics for your data. The table below puts the key measures side by side so you can see how each responds to outliers.
| Measure | Type | Resistant to Outliers? | Best Used When… |
|---|---|---|---|
| Mean | Center | No — pulled toward extremes | Distribution is symmetric with no outliers |
| Median | Center | Yes — position-based | Distribution is skewed or outliers are present |
| Standard Deviation | Spread | No — inflated by squared distances | Distribution is symmetric with no outliers |
| IQR | Spread | Yes — uses only Q₁ and Q₃ | Distribution is skewed or outliers are present |
| Range | Spread | No — uses only min and max | Quick glance; not a reliable standalone measure |
Key Takeaway
Section 8
Connection to Advanced Methods
The skills you're building here — comparing distributions and thinking critically about outliers — are the foundation for more sophisticated statistical methods you'll encounter in AP Statistics and beyond. Here's how these concepts scale up.
| This Lesson | Advanced Extension |
|---|---|
| Describing shape as "symmetric" or "skewed" | Measuring skewness numerically with the skewness coefficient; fitting named distributions (normal, exponential, log-normal) |
| Using the 1.5 × IQR rule for outliers | Z-scores (|z| > 2 or 3 flags outliers); Grubbs' test and other formal outlier tests |
| Choosing median + IQR for skewed data | Robust statistics: trimmed means, Winsorized means, median absolute deviation (MAD) |
| Comparing two data sets descriptively | Inferential tests: two-sample t-tests, Mann-Whitney U test, permutation tests — asking whether observed differences are statistically significant |
| Interpreting differences "in context" | Causal reasoning, confounding variables, experimental design — asking why the differences exist |
In AP Statistics, you'll formalize the question "Is this difference real or just due to chance?" using hypothesis tests and confidence intervals. But even those advanced methods rely on checking the shape of your sampling distribution and being aware of how outliers can violate the assumptions of your test. The descriptive skills from this lesson aren't left behind — they're embedded in every inference you'll ever make.
Section 9
Practice Problems
Question 1: Problem 1 — Conceptual
Show answer
Question 2: Problem 2 — Basic Calculation
Show answer
Question 3: Problem 3 — Intermediate
Show answer
Question 4: Problem 4 — Applied / Multi-Step
22, 25, 27, 28, 30, 31, 32, 34, 35, 38 Route 2: 15, 26, 28, 29, 30, 31, 32, 33, 35, 72 (a) Compute the mean, median, IQR, and standard deviation for each route. (b) Identify any outliers in either route. (c) The planner wants to advertise the route with more reliable commute times. Which route should she promote, and what statistics should she cite? Explain in context.Show answer
Question 5: Problem 5 — Critical Thinking / Synthesis
Show answer
10, 10, 10, 11, 15, 16, 17. Q₁ = 10, Q₃ = 16, IQR = 6. Upper fence = 25, lower fence = 1. No outliers. Median = 11, Mean = 89/7 ≈ 12.7. The mean and median differ by about 1.7 because the distribution is right-skewed — the three higher values (15, 16, 17) spread out more than the three lower values (10, 10, 10) which are bunched up. This skewness exists without any single data point being extreme enough to be flagged as an outlier. The key insight: skewness — not just outliers — causes the mean and median to diverge.Lesson Summary
Putting It All Together
Summary
Every data distribution has a story to tell, and that story unfolds through three key characteristics: shape (symmetric, left-skewed, or right-skewed), center (mean or median), and spread (standard deviation, IQR, or range). When comparing two data sets, you should describe all three — and always connect your observations back to the real-world context. Saying "the IQR is larger" isn't enough; you need to explain what that means for the people, processes, or phenomena the data represent.
Outliers — extreme data points identified by the 1.5 × IQR rule — deserve special attention because they disproportionately inflate the mean and the standard deviation while leaving the median and IQR largely untouched. For symmetric distributions with no outliers, the mean and standard deviation give an accurate portrait. For skewed distributions or data containing outliers, the median and IQR provide a more honest summary. The critical skill is recognizing which situation you're in and choosing — and interpreting — your statistics accordingly. Data doesn't speak for itself; your job is to translate its shape, center, and spread into a meaningful, contextual narrative.