Comparing distributions: Analyzing two or more datasets to identify similarities and differences in their center, spread, and shape.
Center: The typical or middle value in a dataset (mean, median).
Spread: How much the data values vary (range, IQR, standard deviation).
- Calculate measures of center for both distributions
- Calculate measures of spread for both distributions
- Compare the centers and spreads numerically
- Assess the shapes of the distributions
- Draw conclusions based on the comparison
Mean = (75+80+82+85+88+90+92+95) ÷ 8 = 687 ÷ 8 = 85.875
Median = (85+88) ÷ 2 = 86.5
Range = 95 - 75 = 20
Q1 = (80+82) ÷ 2 = 81, Q3 = (90+92) ÷ 2 = 91
IQR = 91 - 81 = 10
Mean = (70+75+80+85+90+95+100+105) ÷ 8 = 710 ÷ 8 = 88.75
Median = (85+90) ÷ 2 = 87.5
Range = 105 - 70 = 35
Q1 = (75+80) ÷ 2 = 77.5, Q3 = (95+100) ÷ 2 = 97.5
IQR = 97.5 - 77.5 = 20
Class A: Mean = 85.875, Median = 86.5
Class B: Mean = 88.75, Median = 87.5
Class B has a higher center (both mean and median are higher)
Class A: Range = 20, IQR = 10
Class B: Range = 35, IQR = 20
Class B has more variability (both range and IQR are higher)
Class B has both a higher center and more variability than Class A.
Class B has a higher center (mean = 88.75 vs 85.875) and more variability (range = 35 vs 20, IQR = 20 vs 10) than Class A. Class B's scores are both higher and more spread out than Class A's scores.
• Center comparison: Compare means and medians
• Spread comparison: Compare ranges and IQRs
• Higher values: Indicate greater center or variability
Shape comparison: Analyzing the pattern of how data values are distributed across the range.
Outliers: Values that fall well outside the overall pattern of the data.
Mean = (50+55+60+65+70+75+80+85+90+95+100) ÷ 11 = 770 ÷ 11 = 70
Median = 75 (middle value)
Range = 100 - 50 = 50
Q1 = 60, Q3 = 90, IQR = 30
Shape: Approximately symmetric (mean ≈ median)
Mean = (45+50+55+60+65+70+75+80+85+90+200) ÷ 11 = 925 ÷ 11 = 84.09
Median = 70 (middle value)
Range = 200 - 45 = 155
Q1 = 55, Q3 = 85, IQR = 30
Shape: Right-skewed (mean > median)
Store 1: Lower = 60 - 1.5×30 = 15, Upper = 90 + 1.5×30 = 135
All values in [50, 100] are within [15, 135] → No outliers
Store 2: Lower = 55 - 1.5×30 = 10, Upper = 85 + 1.5×30 = 130
Value 200 > 130 → 200 is an outlier
Store 1: Symmetric, no outliers
Store 2: Right-skewed due to outlier, has one outlier
Store 1: Mean = 70, Median = 75, Range = 50
Store 2: Mean = 84.09, Median = 70, Range = 155
Store 2 has higher mean but lower median, much higher range
Store 1 has a symmetric distribution with no outliers, while Store 2 has a right-skewed distribution with an outlier at $200,000. Store 2's mean ($84,090) is higher than Store 1's mean ($70,000), but Store 1's median ($75,000) is higher than Store 2's median ($70,000). Store 2 has much more variability (range = $155,000 vs $50,000).
• Shape assessment: Mean vs median relationship indicates skewness
• Outlier detection: Values outside [Q1-1.5×IQR, Q3+1.5×IQR]
• Robust vs sensitive: Median more reliable than mean with outliers
Complete comparison: Analyzing all three aspects of distributions (shape, center, spread) to fully understand differences.
Mean = (15+20+25+30+35+40+45+50) ÷ 8 = 260 ÷ 8 = 32.5
Median = (30+35) ÷ 2 = 32.5
Range = 50 - 15 = 35
Q1 = (20+25) ÷ 2 = 22.5, Q3 = (40+45) ÷ 2 = 42.5
IQR = 42.5 - 22.5 = 20
Shape: Symmetric (mean ≈ median)
Mean = (10+15+20+25+30+35+40+45) ÷ 8 = 220 ÷ 8 = 27.5
Median = (25+30) ÷ 2 = 27.5
Range = 45 - 10 = 35
Q1 = (15+20) ÷ 2 = 17.5, Q3 = (35+40) ÷ 2 = 37.5
IQR = 37.5 - 17.5 = 20
Shape: Symmetric (mean ≈ median)
Both distributions are approximately symmetric
Both have similar spread patterns
City A: Mean = 32.5, Median = 32.5
City B: Mean = 27.5, Median = 27.5
City A has higher center by 5 minutes
City A: Range = 35, IQR = 20
City B: Range = 35, IQR = 20
Both cities have identical variability
Both cities have approximately symmetric distributions with identical variability (range = 35, IQR = 20). City A has a higher center (mean = 32.5 vs 27.5) but the same spread as City B. This suggests that commutes in City A are consistently about 5 minutes longer than in City B.
• Complete analysis: Compare shape, center, and spread
• Similarity assessment: Equal ranges and IQRs indicate similar spread
• Center difference: Consistent offset in symmetric distributions
Unimodal vs Bimodal
Higher vs Lower
More vs Less variable
Distribution comparison: The process of analyzing and contrasting two or more datasets to identify similarities and differences.
Statistical comparison: Using numerical measures to quantify differences between distributions.
- Calculate measures: Compute center and spread for each distribution
- Assess shapes: Determine if distributions are symmetric, skewed, etc.
- Identify outliers: Check for extreme values in each distribution
- Compare quantitatively: Calculate differences in measures
- Draw conclusions: Interpret the differences in context
• Center: Higher mean/median indicates higher typical values
• Spread: Larger range/IQR indicates more variability
• Shape: Similar shapes indicate similar distribution patterns
Performance comparison: Using statistical measures to evaluate and contrast business metrics.
Customer satisfaction: Measuring customer experience quality through quantitative ratings.
Mean = (7+7+8+8+8+9+9+9+10+10) ÷ 10 = 85 ÷ 10 = 8.5
Median = (8+9) ÷ 2 = 8.5
Range = 10 - 7 = 3
Q1 = 8, Q3 = 9, IQR = 1
Shape: Symmetric (mean ≈ median), concentrated in upper range
Mean = (4+5+6+7+8+8+9+9+10+10) ÷ 10 = 76 ÷ 10 = 7.6
Median = (8+8) ÷ 2 = 8
Range = 10 - 4 = 6
Q1 = 6, Q3 = 9, IQR = 3
Shape: Left-skewed (mean < median)
Store X: Mean = 8.5, Median = 8.5
Store Y: Mean = 7.6, Median = 8
Store X has higher center (both mean and median)
Store X: Range = 3, IQR = 1
Store Y: Range = 6, IQR = 3
Store Y has more variability (both range and IQR are higher)
Store X: Symmetric, concentrated in 7-10 range
Store Y: Left-skewed, covers full 4-10 range
Store X performs better with a higher center (mean = 8.5 vs 7.6) and less variability (IQR = 1 vs 3). Store X's ratings are more concentrated in the high range (7-10) with less spread, while Store Y has lower ratings on average and more inconsistent customer satisfaction.
• Performance metrics: Higher center indicates better performance
• Consistency: Lower variability indicates more consistent performance
• Business context: Consider both center and spread for complete evaluation
Temperature consistency: How little temperatures vary around the average value.
Climate comparison: Analyzing weather patterns using statistical measures.
Mean = (60+65+70+75+80+85+90+95+100+105) ÷ 10 = 825 ÷ 10 = 82.5
Median = (80+85) ÷ 2 = 82.5
Range = 105 - 60 = 45
Q1 = (70+75) ÷ 2 = 72.5, Q3 = (90+95) ÷ 2 = 92.5
IQR = 92.5 - 72.5 = 20
Shape: Symmetric (mean ≈ median)
Mean = (62+64+68+72+78+82+88+92+98+102) ÷ 10 = 798 ÷ 10 = 79.8
Median = (78+82) ÷ 2 = 80
Range = 102 - 62 = 40
Q1 = (68+72) ÷ 2 = 70, Q3 = (92+98) ÷ 2 = 95
IQR = 95 - 70 = 25
Shape: Symmetric (mean ≈ median)
City Alpha: Mean = 82.5, Median = 82.5
City Beta: Mean = 79.8, Median = 80
City Alpha has slightly higher temperatures on average
City Alpha: Range = 45, IQR = 20
City Beta: Range = 40, IQR = 25
City Alpha has smaller range but larger IQR
For consistency, we look at IQR (central 50% variability)
City Alpha: IQR = 20 (more consistent in middle 50%)
City Beta: IQR = 25 (less consistent in middle 50%)
City Alpha has more consistent temperatures
City Alpha has more consistent temperatures with a smaller IQR (20 vs 25), despite having a slightly larger range (45 vs 40). City Alpha also has a higher average temperature (82.5°F vs 79.8°F). The middle 50% of City Alpha's temperatures are more tightly clustered than City Beta's.
• Consistency measure: IQR represents central consistency
• Range vs IQR: Range shows total spread, IQR shows central spread
• Practical interpretation: Consider which measure is most relevant for consistency
Distribution comparison: The systematic analysis of two or more datasets to identify similarities and differences in their statistical characteristics.
Shape: The pattern of how data values are distributed across the range of possible values.
Center: The typical or middle value that represents the central tendency of the data.
Spread: How much the data values vary or are dispersed from the center.
- Calculate centers: Mean, median, mode for each distribution
- Calculate spreads: Range, IQR, standard deviation for each distribution
- Assess shapes: Symmetric, skewed, uniform, bimodal for each distribution
- Identify outliers: Check each distribution for extreme values
- Compare quantitatively: Calculate differences between measures
- Interpret contextually: Explain differences in practical terms
• Shape assessment: Mean vs Median relationship indicates skewness direction
• Center comparison: Higher values indicate greater typical values
• Spread comparison: Larger values indicate more variability
• Outlier impact: Consider robust measures when outliers present
Shape: Symmetric, skewed, uniform, bimodal
Center: Mean, median, mode
Spread: Range, IQR, standard deviation
Outliers: Values outside normal pattern
Context: Real-world interpretation
Analysis: Complete distribution comparison combines shape, center, and spread for comprehensive data understanding.
- Shape: Pattern of data distribution
- Center: Typical value in dataset
- Spread: Variability of data values
- Outliers: Extreme values affecting analysis
- Context: Practical interpretation of results