What a Boxplot Summarizes—and What It Cannot Show
A boxplot can make it easy to compare the center and spread of quantitative data. But its compactness comes at a cost: it displays only selected positions in the ordered data, not every observation. A boxplot may show where the middle half lies without showing whether those observations are evenly spread, piled up in one place, or separated by gaps.
To see the difference, consider three hypothetical sets of completion times, each measured in minutes. Their dotplots have visibly different patterns, even though all three sets produce the same five-number summary. The comparison is not a quirk of one unusual example. It illustrates a general limitation of a boxplot: many different data sets can share the same summary.
For the examples below, use the median-of-halves convention: for an even-sized data set, split the ordered values into a lower and an upper half; \(Q_1\) is the median of the lower half, and \(Q_3\) is the median of the upper half. This convention makes it possible to verify the summaries consistently. The key point is what happens after the summary is calculated: the boxplot retains those five values, not the full arrangement of observations.
One Summary, Different Dotplots
In each table below, a dot represents one hypothetical completion time. Dots stack vertically when observations have the same value. The horizontal position identifies the time in minutes; the stack height shows how many observations take that time.
Worked Example: Two Clusters with a Gap
Suppose eight hypothetical times are \(10, 12, 12, 12, 16, 16, 16, 18\) minutes. The dotplot is:
| Dot level | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ● | ● | ● | ● | |||||
| 2 | ● | ● | |||||||
| 3 | ● | ● |
The ordered lower half is \(10, 12, 12, 12\), and the upper half is \(16, 16, 16, 18\). Therefore:
The five-number summary is \(10, 12, 14, 16, 18\) minutes. The dotplot, however, shows more: there are stacks at 12 and 16 minutes, with no observations at 13, 14, or 15. The endpoint observations at 10 and 18 minutes are isolated from those stacks. This is a separated pattern that the five summary values do not describe.
Worked Example: A Broader Pattern with the Same Summary
Now consider a second hypothetical set of times: \(10, 11, 13, 13, 15, 15, 17, 18\) minutes. Its dotplot is:
| Dot level | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ● | ● | ● | ● | ● | ● | |||
| 2 | ● | ● |
The lower half is \(10, 11, 13, 13\), and the upper half is \(15, 15, 17, 18\). The summary follows from:
The minimum and maximum are 10 and 18, so this set also has the five-number summary \(10, 12, 14, 16, 18\) minutes. Its dotplot differs from the first: values appear at several positions across the range, rather than mainly in two separated stacks. There are repeated values at 13 and 15, but the overall pattern is not the same as the first set. A boxplot based on the five summary values would look identical for both sets.
Worked Example: A Concentration Near the Center
A third hypothetical set of times is \(10, 11, 13, 14, 14, 15, 17, 18\) minutes. Its dotplot is:
| Dot level | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ● | ● | ● | ● | ● | ● | ● | ||
| 2 | ● |
The lower half is \(10, 11, 13, 14\), and the upper half is \(14, 15, 17, 18\). Thus:
With minimum 10 and maximum 18, this set again has the summary \(10, 12, 14, 16, 18\) minutes. Unlike the first set, it has its repeated observation at the center, 14 minutes; unlike the second, it has one observation at each of several nearby values around the center. The boxplot still records the same \(Q_1\), median, \(Q_3\), minimum, and maximum.
Why the Five Values Do Not Determine the Shape
The examples share a summary because the summary depends on a few selected ordered positions. For eight observations under the convention used here, the minimum and maximum are the first and eighth values; \(Q_1\) is determined by the second and third values; the median by the fourth and fifth; and \(Q_3\) by the sixth and seventh. The observations can differ while those selected values, or the averages that define the quartiles and median, remain the same.
For instance, in the first set the middle pair is 12 and 16, while in the second it is 13 and 15. Both pairs average to 14. The second and third values in the first set are 12 and 12, while those in the second are 11 and 13. Both pairs average to 12. Similar changes in the sixth and seventh values still yield \(Q_3=16\). The summaries agree even though other values—and their arrangement—differ.
A boxplot can therefore conceal features that matter to an analysis:
- Clusters: groups of observations concentrated in different regions.
- Gaps: stretches of the measurement scale with few or no observations.
- Modality: the number and prominence of peaks in the distribution.
- Within-quartile patterns: whether observations in a quartile are spread across its interval or concentrated at only a few values.
The lengths of the box and whiskers do not supply those details. For example, the box from 12 to 16 minutes spans four minutes in all three examples. That equal length says that the quartile endpoints are the same; it does not say that the observations between those endpoints are distributed in the same way. A boxplot also cannot reveal that the first data set has a gap between its two main stacks.
Use the Graph That Answers the Shape Question
A boxplot is useful when the question concerns the median, quartiles, range, or comparisons of those summaries. If the question is whether observations cluster, whether there is a gap, or how values are distributed within a quartile, the dotplot contains information the boxplot has discarded. For small data sets, the dotplot can show every observation directly. The graphs answer different questions; one is not a more detailed rendering of the other.
This matters because conclusions based only on a boxplot can overstate what is known. Two groups might have matching boxplots but quite different internal patterns. If the purpose is to look for clusters or gaps, equal five-number summaries do not establish that the distributions have the same shape. Inspect a graph that preserves individual observations before making a claim about those features.
Common Mistake
Wrong reasoning: “The boxplots are identical, so the distributions must have the same shape.” This conclusion treats five selected values as if they described every observation. The three dotplots above show why that inference does not follow: the same five-number summary can accompany separated clusters, a broader pattern, or a central concentration.
Correction: Say only that the five displayed summary values are the same. To compare clusters, gaps, modality, or within-quartile patterns, examine a dotplot or another graph that shows more of the observations. A summary is useful precisely because it is compact, but that compactness means some information is absent.
Check Your Understanding
Use the examples and definitions above to answer these questions.
- What features of a distribution does a five-number summary record?
- Why can the three example data sets have the same median even though their fourth and fifth ordered values differ?
- Which feature of the first dotplot is especially difficult to infer from its boxplot?
- If two data sets have the same box length, what can you conclude about their observations within the box—and what can you not conclude?
- Which graph would you inspect to determine whether a small data set has two separated clusters? Explain why.