9.4 Five-Number Summaries, Box Plots, & Bivariate Scatter Plots
Key Takeaways
The Five-Number Summary consists of the Minimum, First Quartile (Q1 / 25th percentile), Median (Q2 / 50th percentile), Third Quartile (Q3 / 75th percentile), and Maximum.
The Interquartile Range (IQR = Q3 - Q1) measures the spread of the middle 50% of data, and values beyond the fences Q1 - 1.5(IQR) or Q3 + 1.5(IQR) are flagged as statistical outliers.
Every box plot divides data into four quartiles containing exactly 25% of observations each, regardless of the visual length of the boxes or whiskers.
Scatter plots evaluate bivariate relationships (x explanatory, y response); lines of best fit model linear trends (y = mx + b), but correlation never proves direct causation.
9.4 Five-Number Summaries, Box Plots, & Bivariate Scatter Plots
Advanced data analysis on TABE 13&14 Mathematics Levels D and A expands beyond single-variable summaries into multi-quartile distributions and two-variable relationships. This section covers the Five-Number Summary, Box-and-Whisker Plots, Interquartile Range (IQR) outlier calculations, and Bivariate Scatter Plots with lines of best fit.
The Five-Number Summary
A Five-Number Summary provides a comprehensive snapshot of a dataset's center, spread, and quartile distribution:
- Minimum (): The lowest data value.
- First Quartile (): The percentile; the median of the lower half of the data (marks the lower boundary).
- Second Quartile / Median (): The percentile; the physical center of the entire dataset.
- Third Quartile (): The percentile; the median of the upper half of the data (marks the upper boundary).
- Maximum (): The highest data value.
Step-by-Step Algorithm for Finding Quartiles
- Sort data in ascending order.
- Find the overall Median ().
- Split the data into a Lower Half (all values below ) and an Upper Half (all values above ).
- Rule for Odd : Exclude the median value itself when forming lower and upper halves.
- Rule for Even : The dataset splits evenly between the two middle numbers.
- is the median of the lower half; is the median of the upper half.
Worked Example: Finding the Five-Number Summary
Consider test scores for students: .
- Median () at position score
- Lower Half ( values below ):
- Upper Half ( values above ):
- Five-Number Summary: .
Interquartile Range (IQR) & The Outlier Rule
The Interquartile Range (IQR) measures the spread of the middle of the data, spanning from the first quartile to the third quartile:
Identifying Outliers Using the Rule
To formally test whether an extreme value is a statistical outlier, compute the lower and upper "fences":
- Any observation less than the Lower Fence is an outlier.
- Any observation greater than the Upper Fence is an outlier.
Worked Example: Using the previous test score dataset where and :
- .
- .
- . (Since , there are no lower outliers).
- . (Since , there are no upper outliers).
Box-and-Whisker Plots
A box-and-whisker plot graphically renders the five-number summary above a numerical number line.
Box-and-Whisker Plot Anatomy:
|-------[ | ]-------|
Min Q1 Median Q3 Max
(0%) (25%) (50%) (75%) (100%)
|<-25%->|<-25%-->|<-25%-->|<-25%->|
| |<- - - IQR - - ->| |
|< - - - - - - - Range - - - - - >|
The 25% Rule per Quartile Section
Every box-and-whisker plot is partitioned into four distinct quarters, each containing exactly of the total data points:
- Lower Whisker (Min to ): Contains the bottom of data.
- Left Box Half ( to Median): Contains of data.
- Right Box Half (Median to ): Contains of data.
- Upper Whisker ( to Max): Contains the top of data.
- The central rectangular Box ( to ) represents the IQR (middle ).
Note
A longer whisker or box segment does not contain more data points! It simply indicates that the of observations in that quartile are more widely spread out (higher dispersion).
Comparing Parallel Box Plots
When comparing two parallel box plots (e.g., Class A vs. Class B):
- Compare Medians: Higher median indicates higher overall central achievement.
- Compare Box Lengths (IQRs): A wider box indicates greater variability among typical performers.
- Compare Overall Ranges (Whiskers): Shows total data spread from minimum to maximum.
Bivariate Data & Scatter Plots
Bivariate data involves observing two different quantitative variables on the same subject or event, plotted as coordinate pairs on a Cartesian grid:
- Explanatory (Independent) Variable (): Plotted along the horizontal axis.
- Response (Dependent) Variable (): Plotted along the vertical axis.
Types of Correlation
| Correlation Type | Visual Scatter Pattern | Correlation Coefficient () | Real-World Example |
|---|---|---|---|
| Positive Linear | Points rise from bottom-left to top-right () | Study hours vs. Exam score | |
| Negative Linear | Points fall from top-left to bottom-right () | Vehicle speed vs. Travel time | |
| No Correlation | Points scattered randomly without linear direction | Shoe size vs. Monthly income | |
| Non-Linear (Curvilinear) | Points form a distinct curved arch or U-shape | Non-linear | Outdoor temperature vs. Heating costs |
Scatter Plot Patterns:
Positive Linear: Negative Linear: No Correlation: Non-Linear (Curved):
y | * * y | * y | * * * y | * * *
| * * | * * | * * * | * *
| * * | * * | * * | * *
| * * | * * | * * * * | * *
0 +--------- x 0 +--------- x 0 +--------- x 0 +------------- x
Correlation Strength
- Strong Correlation: Points lie very close to an imaginary straight line ().
- Moderate / Weak Correlation: Points show a visible trend but are widely dispersed ().
Line of Best Fit (Trend Line) & Linear Modeling
A line of best fit (trend line) is a straight line drawn through bivariate data that best approximates the linear trend, minimizing the vertical distances (residuals) from the points to the line.
Trend Line Equation ()
- Slope (): The predicted rate of change in for every increase in .
- -Intercept (): The predicted baseline value of when .
Worked Example: A fitness study models body weight loss with the trend line , where is weeks of exercise and is weight in pounds.
- Interpretation of Slope (): On average, participants lose per week of exercise.
- Interpretation of Intercept (): The average starting weight at Week was .
- Predicting Weight at Week (Interpolation): .
Interpolation vs. Extrapolation
- Interpolation: Estimating a value within the range of measured -data (statistically valid and reliable).
- Extrapolation: Predicting a value far beyond the measured -data range (highly risky and unreliable, as trends rarely remain linear indefinitely).
The Fundamental Statistical Rule: Correlation Causation
Just because two variables show a strong positive or negative correlation does not prove that changes in cause changes in . A hidden third variable (confounding / lurking variable) is often responsible for the mutual movement (e.g., higher summer temperatures drive both increased ice cream sales and increased swimming pool accidents).
A dataset of employee weekly overtime hours has a five-number summary: Min = 2 hours, Q1 = 8 hours, Median = 14 hours, Q3 = 20 hours, and Max = 45 hours. Using the 1.5 × IQR rule, what is the upper boundary (fence) for identifying statistical outliers?
32 hours
38 hours
45 hours
26 hours
A scatter plot modeling the relationship between employee training hours (x) and the number of monthly assembly errors (y) produces a line of best fit: ŷ = -1.6x + 28. What is the practical real-world interpretation of the slope -1.6 in this model?
An employee who completes 0 hours of training is expected to make 1.6 assembly errors per month.
An employee must complete 1.6 hours of training to eliminate all assembly errors.
For every additional hour of training completed, the number of monthly assembly errors is predicted to decrease by 1.6.
The baseline starting number of monthly assembly errors is 28 errors.
An urban safety study finds a strong positive correlation (r = 0.88) between the number of air conditioning units sold daily in a city and the daily number of visits to emergency rooms for dehydration. What is the most statistically sound conclusion regarding this finding?
Purchasing an air conditioning unit directly causes individuals to suffer from severe dehydration.
Visiting the emergency room for dehydration causes patients to purchase new air conditioning units.
The strong correlation proves that installing air conditioning units is a primary risk factor for emergency hospital admissions.
The strong correlation indicates a statistical association, but does not prove causation; high ambient summer temperatures represent a confounding variable influencing both.
Sections you finish are checked off in the contents.