From the free course AP Statistics on Lykke

1.8 Graphical Representations of Summary Statistics for One Quantitative Variable

Key concepts: Five-number summary — minimum, Q1, median, Q3, maximum · Boxplot — the five-number summary to scale, whiskers stopping at the last non-outlier · Quartiles cut the data into four groups of about 25% · IQR = Q3 − Q1, the spread of the middle 50% · The 1.5 × IQR fences, the rule that flags an outlier · Mean above, below, or near the median signals skew

A boxplot (or box-and-whisker plot) acts as a structural X-ray for a quantitative distribution. While histograms and dotplots show every bump and gap in the data, the boxplot strips away the "noise" to highlight five specific landmarks: the five-number summary.

A boxplot (or box-and-whisker plot) acts as a structural X-ray for a quantitative distribution. While histograms and dotplots show every bump and gap in the data, the boxplot strips away the "noise" to highlight five specific landmarks: the five-number summary. This representation allows statisticians to evaluate the center, spread, and potential outliers of a dataset at a single glance, making it one of the most efficient tools for analyzing the distribution of a single quantitative variable (Skill 3.A).

The Five-Number Summary and the Box

The foundation of every boxplot is the five-number summary, which divides the data into four equal-sized groups, each containing approximately 25% of the observations.

Statistic Role in the Boxplot Data Coverage
Minimum The smallest data value. The left whisker stops at the smallest value inside the fence. Bottom 0%
First Quartile (Q1) The left edge of the "box." 25th Percentile
Median The vertical line inside the box. 50th Percentile
Third Quartile (Q3) The right edge of the "box." 75th Percentile
Maximum The largest data value. The right whisker stops at the largest value inside the fence. Top 100%

The "box" itself represents the Interquartile Range (IQR), spanning from $Q1$ to $Q3$. This middle 50% of the data provides a robust measure of variability that is not influenced by extreme values.

Identifying Outliers: The 1.5 × IQR Rule

In a standard modified boxplot, outliers are not just "unusual" points; they are mathematically defined. To identify them, we calculate "fences" that act as the boundaries for typical data. Any value falling outside these fences is plotted individually as a point or asterisk.

The Outlier Fences:

  • Lower Fence: $Q1 - 1.5 \times \text{IQR}$
  • Upper Fence: $Q3 + 1.5 \times \text{IQR}$

The whiskers of the boxplot do not necessarily extend to these fences. Instead, they extend to the most extreme data points that are still inside the fences. This is a critical distinction for accurate construction (Skill 3.A).

Interpreting Shape and Variability

A boxplot provides immediate visual evidence of a distribution’s shape and variability (Skill 4.A). Because each section of the plot (each whisker and each half of the box) represents 25% of the data, the length of these sections tells us about the density of the observations.

  • Symmetry: If the median is roughly in the middle of the box and the whiskers are of equal length, the distribution is likely symmetric.
  • Right Skew: If the right whisker is significantly longer than the left, or if the median is pulled toward the left side of the box, the distribution is skewed to the right.
  • Left Skew: If the left whisker is significantly longer than the right, or if the median is pulled toward the right side of the box, the distribution is skewed to the left.

Contextual Example: Smartphone Battery Life

Suppose a researcher tests the battery life (in hours) of 20 identical smartphones. The data yields: $Min=6, Q1=12, Med=15, Q3=17, Max=22$.

  1. IQR: $17 - 12 = 5$ hours.
  2. Upper Fence: $17 + 1.5(5) = 24.5$. Since the $Max (22)$ is less than $24.5$, there is no upper outlier.
  3. Lower Fence: $12 - 1.5(5) = 4.5$. Since the $Min (6)$ is greater than $4.5$, there is no lower outlier. Interpretation: The boxplot would show a slightly left-skewed distribution, as the distance from $Min$ to $Med$ ($9$ hours) is greater than the distance from $Med$ to $Max$ ($7$ hours).

Misconception Clinic: The "More Data" Trap

The Misconception: Students often look at a long whisker or a wide box and assume it contains "more data points" than a shorter section.

The Correction: Every one of the four sections of a boxplot (lower whisker, lower box, upper box, upper whisker) contains approximately 25% of the data. A longer section does not mean more data; it means the data in that quartile is more spread out (less dense). A short, cramped section means the data points are tightly packed together.

Interpretation Check

A boxplot for the number of hours students spend on social media shows a very short left whisker and a very long right whisker. If there are 100 students in the sample, approximately how many students are represented by the long right whisker, and what does its length tell you about their habits?

Answer: Approximately 25 students are represented by that whisker. Its length indicates that while these students all fall in the top 25% of usage, their actual hours vary widely compared to the bottom 25% of students, who have very similar (tightly packed) usage times.

1.8 Graphical Representations of Summary Statistics for One Quantitative Variable - AP Statistics - image 1
1.8 Graphical Representations of Summary Statistics for One Quantitative Variable - AP Statistics - image 1
1.8 Graphical Representations of Summary Statistics for One Quantitative Variable - AP Statistics - diagram 1
1.8 Graphical Representations of Summary Statistics for One Quantitative Variable - AP Statistics - diagram 1

Source Materials

The whole course on Lykke · Browse all public course wikis