Statistics & Probability (Common Core) • One-Variable Data

Compare Distributions: Shape, Center, Spread & Outliers

Learn to analyze and compare datasets by examining their shape, center, spread, and identifying outliers.

Statistics and probability illustration with a scatter plot, summation sign, and probability chart
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context and Motivation

The need to compare different groups of data arose naturally from human curiosity and practical necessity. Early astronomers in the 1600s noticed that their measurements of star positions varied, leading them to wonder which observations were more reliable. Similarly, farmers compared crop yields across different fields, and merchants analyzed sales patterns between regions. The formal mathematical tools for distribution comparison developed as scientists and mathematicians recognized patterns in how data behaves.

1662 • First Statistical Studies

John Graunt analyzed London's death records, comparing mortality patterns between different districts and identifying outlying causes of death.

1733 • Normal Distribution

Abraham de Moivre discovered the bell curve shape while studying gambling probabilities, providing a standard reference for comparing other data shapes.

1805 • Method of Least Squares

Adrien-Marie Legendre formalized how to find the center of data and measure spread, establishing mathematical foundations for comparison.

1908 • Student's t-test

William Gosset ("Student") created the first formal test for comparing the centers of two distributions, revolutionizing statistical inference.

1977 • Modern Visualization

John Tukey introduced box plots and exploratory data analysis, making distribution comparison accessible through visual methods.

These historical developments revealed a fundamental question that drives modern statistics: How can we systematically determine whether differences between groups are meaningful or just due to random variation? This question led to the four-pillar framework we use today for comparing distributions.

SECTION 2

Core Principles of Distribution Comparison

When comparing distributions, statisticians examine four fundamental characteristics that tell the complete story of how datasets differ. These characteristics work together to provide a comprehensive picture, much like how describing a person requires mentioning their height, build, personality, and any distinctive features.

1

Shape

The overall form of the data distribution. Is it symmetric like a bell curve, skewed to one side, or bimodal with two peaks? Shape reveals the underlying pattern of how values are distributed.
2

Center

The typical or central value around which the data clusters. Measured by mean, median, or mode depending on the distribution shape and presence of outliers.
3

Spread

How much the data varies or spreads out from the center. Quantified by range, standard deviation, or interquartile range to show data consistency.
4

Outliers

Unusual values that fall far from the main body of data. These can indicate measurement errors, rare events, or important exceptions that need special attention.
✦

KEY TAKEAWAY

Think of comparing distributions like comparing two different schools' test scores. You'd want to know: Are the score patterns similar (shape)? Which school performed better on average (center)? How consistent were the students within each school (spread)? Were there any students with surprisingly high or low scores (outliers)? All four pieces together tell you whether the schools are truly different or just appear different due to random variation.

SECTION 3

Visual Comparison Methods

Test ScoresFrequencyComparing Two Class DistributionsClass A: Normal ShapeMean = 78, Std Dev = 12Class B: Right SkewedMean = 82, Std Dev = 18OutlierOutlier7882507080859095
This distribution comparison reveals key differences: Class A shows a symmetric, normal distribution with lower variability, while Class B is right-skewed with higher variability. The centers differ by 4 points, but Class B's wider spread indicates more inconsistent performance. Red circles mark outliers in both distributions.

Visual comparison methods allow us to quickly identify patterns that numerical summaries might miss. Histograms and density plots show the complete shape of each distribution, making it easy to spot skewness, multiple peaks, or unusual gaps. Side-by-side box plots excel at comparing centers and spreads while clearly marking outliers. The key is choosing the right visualization for your comparison goals and ensuring both distributions use the same scale for accurate comparison.

SECTION 4

Mathematical Framework for Comparison

The mathematical foundation for comparing distributions relies on specific formulas and statistical measures that quantify each of the four key characteristics. These tools provide objective, numerical ways to describe differences between datasets.

MEASURES OF CENTER

xˉ=(Σxi)/nandMedian=Q2x̄ = (Σxi)/n and Median = Q₂

where x̄ is the sample mean, xi are individual data values, n is sample size, and Q₂ is the second quartile. Use mean for symmetric distributions and median for skewed distributions or when outliers are present.

MEASURES OF SPREAD

s=√[(Σ(xi−xˉ)2)/(n−1)]andIQR=Q3−Q1s = √[(Σ(xi - x̄)²)/(n-1)] and IQR = Q₃ - Q₁

where s is the sample standard deviation and IQR is the interquartile range. Standard deviation measures average distance from the mean, while IQR shows the spread of the middle 50% of data and is resistant to outliers.

OUTLIER DETECTION

LowerFence=Q1−1.5×IQRUpperFence=Q3+1.5×IQRLower Fence = Q₁ - 1.5×IQR Upper Fence = Q₃ + 1.5×IQR

Values below the lower fence or above the upper fence are considered outliers. This 1.5×IQR rule identifies approximately the most extreme 0.7% of values in a normal distribution.

SHAPE MEASUREMENT

Skewness=[n/((n−1)(n−2))]×Σ[(xi−xˉ)/s]3Skewness = [n/((n-1)(n-2))] × Σ[(xi - x̄)/s]³

Skewness quantifies distribution asymmetry. Values near 0 indicate symmetry, positive values indicate right skew (tail extends right), and negative values indicate left skew (tail extends left).

SECTION 5

Types of Distribution Patterns

Common Distribution ShapesSymmetric (Normal)Mean = MedianRight SkewedMedianMeanLeft SkewedMeanMedianBimodalTwo distinct peaksUniformAll values equally likelyWith OutliersExtreme values presentKey Comparison Insights• Symmetric: Use mean and standard deviation for comparison• Skewed or with outliers: Use median and IQR for robust comparison• Bimodal: Examine each mode separately or identify subgroups
Different distribution shapes require different comparison strategies. Symmetric distributions work well with mean-based comparisons, while skewed distributions require median-based methods. Notice how skewness affects the relationship between mean and median, and how outliers can dramatically impact interpretation.

Understanding distribution shapes is crucial for selecting appropriate comparison methods. Symmetric distributions allow for straightforward mean and standard deviation comparisons since these measures accurately represent the data's center and spread. However, skewed distributions can be misleading when using means, as extreme values pull the mean away from where most data lies. In these cases, median and IQR provide more robust comparisons that aren't distorted by outliers or skewness.

Distribution TypeBest Center MeasureBest Spread MeasureKey Considerations
SymmetricMean (x̄)Standard Deviation (s)Mean equals median; standard methods work well
Right SkewedMedianInterquartile Range (IQR)Mean > median; few high outliers affect mean
Left SkewedMedianInterquartile Range (IQR)Mean < median; few low outliers affect mean
BimodalMode(s)Range within each modeMean and median misleading; analyze subgroups

Appropriate statistical measures for different distribution shapes

SECTION 6

Worked Example: Comparing Student Performance

Let's compare the final exam scores of two AP Statistics classes to determine which teaching method was more effective. We'll systematically examine shape, center, spread, and outliers to reach a comprehensive conclusion.

Comparing Teaching Method Effectiveness

  1. 1

    Step 1 — Organize the Data

    Traditional Method (Class A): 85, 82, 88, 91, 79, 86, 83, 89, 87, 84, 90, 81, 92, 85, 88, 86, 84, 87, 89, 90 Project-Based Method (Class B): 92, 88, 95, 87, 91, 89, 94, 85, 93, 90, 96, 88, 91, 87, 89, 92, 94, 90, 93, 88
    n = 20 for both classes
  2. 2

    Step 2 — Calculate Centers

    Class A: Sum = 1,725, Mean = 1,725 ÷ 20 = 86.25 Class A: Ordered data shows Median = (86 + 87) ÷ 2 = 86.5 Class B: Sum = 1,812, Mean = 1,812 ÷ 20 = 90.6 Class B: Ordered data shows Median = (90 + 91) ÷ 2 = 90.5
    Class B center ≈ 4.35 points higher
  3. 3

    Step 3 — Calculate Spread

    Class A: s² = Σ(xi - 86.25)² ÷ 19 ≈ 12.09, so s ≈ 3.48 Class A: Q₁ = 84, Q₃ = 89, IQR = 5 Class B: s² = Σ(xi - 90.6)² ÷ 19 ≈ 8.57, so s ≈ 2.93 Class B: Q₁ = 88, Q₃ = 93, IQR = 5
    Class B more consistent (lower std dev)
  4. 4

    Step 4 — Check for Outliers

    Class A: Lower fence = 84 - 1.5(5) = 76.5, Upper fence = 89 + 1.5(5) = 96.5 Class A outliers: None (all values between 79 and 92) Class B: Lower fence = 88 - 1.5(5) = 80.5, Upper fence = 93 + 1.5(5) = 100.5 Class B outliers: None (all values between 85 and 96)
    No outliers in either class
  5. 5

    Step 5 — Assess Shape

    Both classes show mean ≈ median, suggesting roughly symmetric distributions. Creating histograms or box plots would confirm this visual assessment and support using mean-based comparisons.
    Both approximately symmetric
  6. 6

    Step 6 — Draw Conclusions

    The project-based method (Class B) shows superior performance with a 4.35-point higher mean score and lower variability (s ≈ 2.93 vs 3.48). Both classes performed within normal ranges with no outlying students, suggesting consistent implementation of each teaching method.
    Project-based method more effective

SECTION 7

Comparison Methods and Their Limitations

Different comparison methods have distinct strengths and limitations that make them more or less appropriate depending on your data characteristics and research questions. Understanding these trade-offs helps you choose the most reliable approach for your specific situation.

Comparison MethodBest Used WhenLimitations
Mean & Standard DeviationSymmetric distributions, no outliers, equal sample sizesHeavily influenced by outliers and skewness; can be misleading
Median & IQRSkewed distributions, outliers present, robust comparison neededLess efficient for symmetric data; doesn't use all information
Side-by-Side BoxplotsQuick visual comparison, identifying outliers, many groupsHides bimodality; limited shape information; requires ordering
Overlaid HistogramsComparing shapes, revealing bimodality, visual pattern detectionCan be cluttered with multiple groups; bin choice affects appearance
Quantile-Quantile PlotsDetailed distribution comparison, checking normality assumptionsRequires statistical training to interpret; not intuitive for beginners
⚖

CHOOSING THE RIGHT METHOD

Think of distribution comparison like choosing the right tool for a job. A hammer works great for nails but terrible for screws. Similarly, mean and standard deviation are perfect for symmetric, well-behaved data, but using them on skewed data with outliers is like trying to measure a curved road with a straight ruler — you'll get the wrong answer. Always match your comparison method to your data's characteristics, not to what's easiest to calculate.

SECTION 8

Connection to Hypothesis Testing

The descriptive comparison methods you've learned serve as the foundation for inferential statistics, where we use sample data to make conclusions about entire populations. Advanced hypothesis testing builds directly on these concepts to determine whether observed differences are statistically significant or could reasonably be due to random variation.

Descriptive MethodAdvanced TestWhat It Determines
Compare means of symmetric distributionsTwo-sample t-testWhether the difference in sample means reflects a true population difference
Compare medians of skewed distributionsMann-Whitney U testWhether one group tends to have higher values than another
Compare spread (variability)F-test or Levene's testWhether the populations have equal variances
Compare entire distribution shapesKolmogorov-Smirnov testWhether two samples come from the same distribution

How descriptive comparison methods connect to inferential tests

These advanced methods answer the crucial question: "Could the observed difference reasonably be explained by random sampling variation, or does it represent a real difference between populations?" In AP Statistics and beyond, you'll learn to calculate p-values and confidence intervals that quantify the strength of evidence for population differences, building on the descriptive foundation you've mastered here.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain why comparing only the means of two distributions might lead to incorrect conclusions about which group performed better. Give a specific example scenario.
Show answer
Comparing only means ignores the complete picture of distribution differences, particularly spread and outliers. For example, consider two classes with identical means of 80: Class A has scores tightly clustered from 78-82, while Class B has scores ranging from 60-100. Although their means are identical, Class A shows consistent understanding while Class B has huge variability. Additionally, if Class B's mean of 80 includes several students who scored 100 and several who scored 60, the mean doesn't represent most students' performance. Shape and spread are equally important for meaningful comparison.

Question 2: BASIC CALCULATION

Two stores track daily customer counts. Store A: 45, 52, 48, 51, 49, 47, 53. Store B: 38, 41, 62, 40, 39, 43, 37. Calculate the mean, median, and range for each store, then identify which measure best represents each store's typical performance.
Show answer
Store A: Mean = 345÷7 = 49.3, Median = 49, Range = 53-45 = 8. Store B: Mean = 300÷7 = 42.9, Median = 40, Range = 62-37 = 25. For Store A, mean and median are nearly equal (49.3 vs 49) with low range, indicating symmetric distribution, so either measure works well. For Store B, the outlier value 62 pulls the mean higher than the median, and the large range shows high variability. The median (40) better represents Store B's typical performance since it's not affected by the outlying high day.

Question 3: INTERMEDIATE

A researcher compares reaction times (in milliseconds) for two groups: Group 1: 245, 250, 248, 252, 260, 247, 249, 251, 246, 253. Group 2: 235, 290, 240, 238, 242, 241, 239, 243, 237, 245. Calculate appropriate measures of center and spread, identify any outliers, and determine which group has more consistent performance.
Show answer
Group 1: Mean = 250.1, Median = 249.5, s = 4.04. Q₁ = 247, Q₃ = 252, IQR = 5. Outlier fences: 247-7.5 = 239.5 and 252+7.5 = 259.5. The value 260 is not an outlier. Group 2: Mean = 245, Median = 240.5, s = 16.67. Q₁ = 238.5, Q₃ = 243, IQR = 4.5. Outlier fences: 238.5-6.75 = 231.75 and 243+6.75 = 249.75. The value 290 exceeds the upper fence, making it an outlier. Group 1 has more consistent performance with much lower standard deviation (4.04 vs 16.67) and no outliers, indicating more reliable reaction times.

Question 4: APPLIED

A pharmaceutical company tests two pain medications by measuring hours of relief. Drug A shows symmetric distribution with mean = 6.2 hours, s = 1.1. Drug B shows right-skewed distribution with median = 7.0 hours, IQR = 2.5, and mean = 7.8 hours. Which drug should be recommended and why? Consider both typical performance and consistency.
Show answer
This comparison requires careful consideration of both effectiveness and reliability. Drug A provides consistent performance (low s = 1.1) with symmetric distribution, meaning most patients get close to 6.2 hours of relief. Drug B's right skew indicates some patients get very long relief (pulling mean to 7.8), but the median of 7.0 shows the typical patient gets 7 hours. The large IQR = 2.5 suggests more variable performance. Drug B appears more effective for the typical patient (median 7.0 vs mean 6.2 for A), but Drug A is more predictable. The recommendation depends on priorities: choose Drug B for higher typical effectiveness despite variability, or Drug A for consistent, reliable performance. Most patients would likely prefer Drug B's higher typical relief despite the unpredictability.

Question 5: CRITICAL THINKING

A school district claims their new math curriculum improved student performance by comparing this year's mean test score (78.5) to last year's (75.2). Critique this conclusion and explain what additional information you would need to make a valid comparison. Design a better analysis approach.
Show answer
The district's conclusion is premature and potentially invalid for several reasons: (1) No information about variability—the spread could have increased dramatically; (2) No outlier analysis—a few very high scores could inflate the mean while most students performed worse; (3) No shape analysis—the distribution could be heavily skewed; (4) No sample size comparison—different numbers of students could affect reliability; (5) No consideration of external factors like different demographics or test versions. A better analysis would include: box plots comparing both years to show complete distributions; measures of spread (IQR and standard deviation); outlier identification; histogram overlay to compare shapes; analysis of score ranges and percentiles; statistical significance testing; and control for confounding variables like student population changes. Only after examining all four characteristics (shape, center, spread, outliers) plus appropriate inferential tests can the district validly claim curriculum improvement.

SUMMARY

Distribution Comparison Summary

Summary

Comparing distributions requires systematic examination of four key characteristics: shape (symmetric, skewed, bimodal), center (mean or median), spread (standard deviation or IQR), and outliers. The choice of specific measures depends on distribution shape: use mean and standard deviation for symmetric data, but median and IQR for skewed distributions or data with outliers.

Visual methods like side-by-side box plots and overlaid histograms reveal patterns that numerical summaries alone might miss. Remember that comparing only centers without considering shape and spread can lead to misleading conclusions. These descriptive comparison techniques form the foundation for inferential hypothesis tests that determine whether observed differences represent real population differences or just random sampling variation.

Varsity Tutors • Statistics & Probability • Compare Distributions: Shape, Center, Spread & Outliers