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.

Last updated: August 2026

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:

  1. Minimum (Min\text{Min}): The lowest data value.
  2. First Quartile (Q1Q_1): The 25th25\text{th} percentile; the median of the lower half of the data (marks the lower 25%25\% boundary).
  3. Second Quartile / Median (Q2Q_2): The 50th50\text{th} percentile; the physical center of the entire dataset.
  4. Third Quartile (Q3Q_3): The 75th75\text{th} percentile; the median of the upper half of the data (marks the upper 25%25\% boundary).
  5. Maximum (Max\text{Max}): The highest data value.

Step-by-Step Algorithm for Finding Quartiles

  1. Sort data in ascending order.
  2. Find the overall Median (Q2Q_2).
  3. Split the data into a Lower Half (all values below Q2Q_2) and an Upper Half (all values above Q2Q_2).
    • Rule for Odd nn: Exclude the median value itself when forming lower and upper halves.
    • Rule for Even nn: The dataset splits evenly between the two middle numbers.
  4. Q1Q_1 is the median of the lower half; Q3Q_3 is the median of the upper half.

Worked Example: Finding the Five-Number Summary

Consider test scores for 1111 students: {62,74,78,80,82,85,88,91,94,96,100}\{62, 74, 78, 80, 82, 85, 88, 91, 94, 96, 100\}.

  • Min=62\text{Min} = \mathbf{62}
  • Median (Q2Q_2) at position 11+12=6th\frac{11+1}{2} = 6\text{th} score   ⟹  Q2=85\implies Q_2 = \mathbf{85}
  • Lower Half (55 values below 8585): {62,74,78,80,82}  ⟹  Q1=78\{62, 74, \mathbf{78}, 80, 82\} \implies Q_1 = \mathbf{78}
  • Upper Half (55 values above 8585): {88,91,94,96,100}  ⟹  Q3=94\{88, 91, \mathbf{94}, 96, 100\} \implies Q_3 = \mathbf{94}
  • Max=100\text{Max} = \mathbf{100}
  • Five-Number Summary: [62,78,85,94,100][62, 78, 85, 94, 100].

Interquartile Range (IQR) & The 1.5×IQR1.5 \times \text{IQR} Outlier Rule

The Interquartile Range (IQR) measures the spread of the middle 50%50\% of the data, spanning from the first quartile to the third quartile:

IQR=Q3−Q1\mathbf{\text{IQR} = Q_3 - Q_1}

Identifying Outliers Using the 1.5×IQR1.5 \times \text{IQR} Rule

To formally test whether an extreme value is a statistical outlier, compute the lower and upper "fences":

Lower Outlier Boundary (Fence)=Q1−1.5(IQR)\mathbf{\text{Lower Outlier Boundary (Fence)} = Q_1 - 1.5(\text{IQR})} Upper Outlier Boundary (Fence)=Q3+1.5(IQR)\mathbf{\text{Upper Outlier Boundary (Fence)} = Q_3 + 1.5(\text{IQR})}
  • 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 Q1=78Q_1 = 78 and Q3=94Q_3 = 94:

  1. IQR=94−78=16\text{IQR} = 94 - 78 = 16.
  2. 1.5×IQR=1.5×16=241.5 \times \text{IQR} = 1.5 \times 16 = 24.
  3. Lower Fence=78−24=54\text{Lower Fence} = 78 - 24 = \mathbf{54}. (Since Min=62>54\text{Min} = 62 > 54, there are no lower outliers).
  4. Upper Fence=94+24=118\text{Upper Fence} = 94 + 24 = \mathbf{118}. (Since Max=100<118\text{Max} = 100 < 118, 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 25%25\% of the total data points:

  • Lower Whisker (Min to Q1Q_1): Contains the bottom 25%25\% of data.
  • Left Box Half (Q1Q_1 to Median): Contains 25%25\% of data.
  • Right Box Half (Median to Q3Q_3): Contains 25%25\% of data.
  • Upper Whisker (Q3Q_3 to Max): Contains the top 25%25\% of data.
  • The central rectangular Box (Q1Q_1 to Q3Q_3) represents the IQR (middle 50%50\%).

Note

A longer whisker or box segment does not contain more data points! It simply indicates that the 25%25\% 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):

  1. Compare Medians: Higher median indicates higher overall central achievement.
  2. Compare Box Lengths (IQRs): A wider box indicates greater variability among typical performers.
  3. 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 (x,y)(x, y) on a Cartesian grid:

  • Explanatory (Independent) Variable (xx): Plotted along the horizontal axis.
  • Response (Dependent) Variable (yy): Plotted along the vertical axis.

Types of Correlation

Correlation TypeVisual Scatter PatternCorrelation Coefficient (rr)Real-World Example
Positive LinearPoints rise from bottom-left to top-right (x↑,y↑x \uparrow, y \uparrow)0<r≤10 < r \le 1Study hours vs. Exam score
Negative LinearPoints fall from top-left to bottom-right (x↑,y↓x \uparrow, y \downarrow)−1≤r<0-1 \le r < 0Vehicle speed vs. Travel time
No CorrelationPoints scattered randomly without linear directionr≈0r \approx 0Shoe size vs. Monthly income
Non-Linear (Curvilinear)Points form a distinct curved arch or U-shapeNon-linearOutdoor 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 (∣r∣≥0.8|r| \ge 0.8).
  • Moderate / Weak Correlation: Points show a visible trend but are widely dispersed (∣r∣<0.8|r| < 0.8).

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 (y=mx+by = mx + b)

  • Slope (mm): The predicted rate of change in yy for every 1-unit1\text{-unit} increase in xx.
  • yy-Intercept (bb): The predicted baseline value of yy when x=0x = 0.

Worked Example: A fitness study models body weight loss with the trend line y^=−0.75x+195\hat{y} = -0.75x + 195, where xx is weeks of exercise and yy is weight in pounds.

  • Interpretation of Slope (−0.75-0.75): On average, participants lose 0.75 pounds0.75\text{ pounds} per week of exercise.
  • Interpretation of Intercept (195195): The average starting weight at Week 00 was 195 pounds195\text{ pounds}.
  • Predicting Weight at Week 88 (Interpolation): y^=−0.75(8)+195=−6+195=189 lbs\hat{y} = -0.75(8) + 195 = -6 + 195 = \mathbf{189\text{ lbs}}.

Interpolation vs. Extrapolation

  • Interpolation: Estimating a value within the range of measured xx-data (statistically valid and reliable).
  • Extrapolation: Predicting a value far beyond the measured xx-data range (highly risky and unreliable, as trends rarely remain linear indefinitely).

The Fundamental Statistical Rule: Correlation ≠\neq Causation

Just because two variables show a strong positive or negative correlation does not prove that changes in xx cause changes in yy. 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).

Loading diagram...
Box Plot Structure and Outlier Fences
Test Your Knowledge

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?

A

32 hours

B

38 hours

C

45 hours

D

26 hours

Test Your Knowledge

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?

A

An employee who completes 0 hours of training is expected to make 1.6 assembly errors per month.

B

An employee must complete 1.6 hours of training to eliminate all assembly errors.

C

For every additional hour of training completed, the number of monthly assembly errors is predicted to decrease by 1.6.

D

The baseline starting number of monthly assembly errors is 28 errors.

Test Your Knowledge

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?

A

Purchasing an air conditioning unit directly causes individuals to suffer from severe dehydration.

B

Visiting the emergency room for dehydration causes patients to purchase new air conditioning units.

C

The strong correlation proves that installing air conditioning units is a primary risk factor for emergency hospital admissions.

D

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.