14.2 Univariate Displays (Histograms, Boxplots, Stemplots) & Distribution Shapes
Key Takeaways
- Univariate visual displays serve distinct analytic functions: dot plots retain individual data points, stem-and-leaf plots organize values into bins while preserving raw digits, and histograms group continuous observations into contiguous intervals.
- The five-number summary (minimum, Q_1, median M, Q_3, maximum) partitions ordered data into quartiles, forming the structural basis for modified box-and-whisker plots.
- Tukey's 1.5 * IQR outlier rule establishes boundaries at LF = Q_1 - 1.5 * IQR and UF = Q_3 + 1.5 * IQR; observations beyond these fences are plotted as individual outliers, with whiskers terminating at the most extreme non-outlier data points.
- Distribution skewness governs the relative positions of center: symmetric distributions exhibit mean approximately equal to median, right-skewed (positive skew) distributions feature mean > median due to an elongated right tail, and left-skewed (negative skew) distributions feature mean < median.
- Cumulative frequency ogives graph cumulative proportions to reveal percentiles, whereas boxplots conceal sample size, local clusters, gaps, and multimodality.
14.2 Univariate Displays (Histograms, Boxplots, Stemplots) & Distribution Shapes
Graphical Displays for Univariate Quantitative Data
Graphical displays transform raw quantitative data into visual representations that reveal patterns in center, spread, shape, and unusual features (such as gaps, clusters, or outliers). Depending on sample size and analytic goals, several core displays are utilized:
-
Dot Plots: A dot plot positions individual data points as dots along a single continuous horizontal axis. When duplicate values occur, dots stack vertically. Dot plots are highly effective for small datasets ($n < 30$), clearly identifying exact values, local clusters, and gaps. However, for large datasets, dot plots become visually cluttered and unwieldy.
-
Stem-and-Leaf Plots (Stemplots): A stem-and-leaf display separates each numerical observation into a leading "stem" (the leading digit or digits) and a trailing "leaf" (the final trailing digit).
- Data Preservation: Unlike histograms, stemplots preserve the raw quantitative values while simultaneously displaying distribution shape. Every stemplot must include an explanatory key (e.g., $4 \mid 2 = 42$).
- Split Stems: When data cluster tightly within a few stems, each stem can be split into two lines (leaves 0–4 on the first line, 5–9 on the second line) or five lines (leaves 0–1, 2–3, 4–5, 6–7, 8–9) to reveal finer distribution geometry.
- Back-to-Back Stemplots: By placing a common set of stems in a central vertical column with leaves extending to the left for one group and to the right for another, back-to-back stemplots provide direct pairwise graphical comparisons between two related distributions.
- Histograms: A histogram divides the continuous range of data into adjacent, non-overlapping intervals called bins or classes (typically defined as $[a, b)$, closed on the left and open on the right). Vertical rectangles are constructed over each bin:
- Frequency Histogram: The height of each rectangle represents the raw count (frequency) of observations falling within that bin.
- Relative Frequency Histogram: The height represents the proportion (relative frequency = $\frac{\text{frequency}}{n}$) or percentage of total observations.
- Contiguity: Unlike bar charts for categorical data (which feature gaps between bars), histogram bars must be contiguous with zero gaps between adjacent classes unless an intermediate bin has a frequency of zero (representing a true data gap). Bin width selection governs visual resolution: bins that are too wide obscure modal peaks, while bins that are too narrow create noisy, erratic spikes.
- Cumulative Frequency Ogives: An ogive (cumulative frequency polygon) plots the cumulative relative frequency (from 0% to 100%) against the upper boundary of each class interval. Connecting these points with line segments produces a non-decreasing S-shaped curve that allows direct graphical interpolation of percentiles, deciles, and the median (the 50% horizontal line).
The Five-Number Summary and Modified Boxplots
The five-number summary provides a concise, resistant numerical description of a quantitative dataset: These five values partition an ordered dataset into four equal segments, each containing approximately 25% of the observations.
- $Q_1$ (First Quartile): The 25th percentile, separating the lowest 25% of data from the upper 75%.
- $\text{Median } (M)$: The 50th percentile, bisecting the distribution.
- $Q_3$ (Third Quartile): The 75th percentile, separating the lowest 75% of data from the top 25%.
- Interquartile Range: $IQR = Q_3 - Q_1$, the width of the central box.
A box-and-whisker plot graphs the five-number summary:
- A central rectangular box spans from $Q_1$ to $Q_3$, representing the middle 50% of the distribution.
- A vertical line segment inside the box marks the location of the median $M$.
- In a standard boxplot, horizontal whiskers extend outward to the minimum and maximum observations.
Modified Boxplots and Whiskers
In advanced statistical practice and on the FTCE examination, modified boxplots are used to isolate outliers:
- Whiskers extend outward only to the most extreme data values that fall within the calculated outlier fences.
- Any observation falling beyond the outlier fences is plotted individually as an isolated symbol (an asterisk, dot, or open circle). Whiskers never extend to an outlier.
Tukey's $1.5 \times IQR$ Outlier Rule
John Tukey formalized a robust mathematical criterion for flagging potential outliers using the interquartile range:
- Calculate the interquartile range:
- Compute the Lower Fence ($LF$) and Upper Fence ($UF$):
- Outlier Identification:
- Any observation $x < LF$ is flagged as a low outlier.
- Any observation $x > UF$ is flagged as a high outlier.
- Extreme Outliers: Boundaries using $3.0 \times IQR$ ($Q_1 - 3 \times IQR$ and $Q_3 + 3 \times IQR$) delineate extreme outliers from mild outliers.
Distribution Shape, Skewness, and Modality
The geometric profile of a univariate distribution reveals fundamental properties of the underlying population:
- Symmetric Distributions: The left and right halves of the distribution are approximate mirror images reflected across the center:
- Bell-Shaped (Mound-Shaped): Unimodal with density thinning symmetrically into both tails (e.g., normal distributions). Here, $\text{Mean} \approx \text{Median} \approx \text{Mode}$.
- Uniform (Rectangular): Constant frequency across the entire support domain.
- Skewed Right (Positively Skewed):
- The distribution extends an elongated tail toward larger, positive values on the right, while the primary cluster of observations concentrates on the left.
- Because extreme high values pull the non-resistant mean rightward while the median resists this pull:
- In a boxplot, positive skewness manifests as a median line positioned toward the left of the central box, a longer right whisker, and high outliers plotted to the right.
- Skewed Left (Negatively Skewed):
- The distribution extends an elongated tail toward smaller, negative values on the left, while the primary cluster concentrates on the right.
- Extreme low values pull the arithmetic mean leftward:
- In a boxplot, negative skewness manifests as a median line positioned toward the right of the central box, a longer left whisker, and low outliers plotted to the left.
- Bimodal and Multimodal Distributions:
- Distributions exhibiting two or more distinct peaks indicate the presence of distinct sub-populations (e.g., combined heights of adult males and females).
- Critical Limitation of Boxplots: A boxplot cannot detect multimodality. A bimodal distribution and a unimodal distribution with identical five-number summaries produce identical boxplots. Histograms, dot plots, and stemplots are required to identify peaks and valleys.
Distribution Shape and Display Comparison Table
| Shape / Distribution | Tail Direction | Center Relationship | Boxplot Visual Characteristics | Typical Practical Example |
|---|---|---|---|---|
| Symmetric (Bell-Shaped) | Equal in both directions | $\text{Mean} \approx \text{Median} \approx \text{Mode}$ | Median centered in box; equal-length whiskers; symmetric outliers | Standardized test scores; adult human heights |
| Skewed Right (Positive) | Elongated to the right | $\text{Mean} > \text{Median}$ | Median left-of-center; longer right whisker; right outliers | Annual household incomes; home prices; hospital emergency wait times |
| Skewed Left (Negative) | Elongated to the left | $\text{Mean} < \text{Median}$ | Median right-of-center; longer left whisker; left outliers | Scores on an easy exam; human lifespan at birth in developed nations |
| Bimodal | Two distinct peaks | Mean and median often lie in valley | Boxplot appears falsely unimodal; conceals the underlying mixture | Commuter transit arrival times (morning and evening rush peaks) |
Worked Exemplar: Five-Number Summary and Outlier Determination
Problem: A sports statistician records the recovery times (in days) for a sample of 16 professional athletes rehabilitating from a joint injury: Determine the five-number summary, calculate the interquartile range, determine the lower and upper fences for outliers using Tukey's $1.5 \times IQR$ rule, identify any outliers, and specify the termination values for the whiskers in a modified boxplot.
-
Step 1: Sort the Raw Data. Arrange the $n = 16$ observations in ascending order:
-
Step 2: Calculate the Five-Number Summary.
- Minimum: $x_{(1)} = 12$
- Maximum: $x_{(16)} = 62$
- Median ($M$): Since $n = 16$ is even, average the 8th and 9th ordered values:
- First Quartile ($Q_1$): The lower half contains the first 8 observations: ${12, 18, 19, 21, 22, 23, 24, 25}$. The median of this lower half is the average of the 4th and 5th values:
- Third Quartile ($Q_3$): The upper half contains the last 8 observations: ${26, 27, 28, 29, 30, 31, 33, 62}$. The median of this upper half is the average of the 12th and 13th values:
- Summary Vector: ${\text{Min} = 12, Q_1 = 21.5, M = 25.5, Q_3 = 29.5, \text{Max} = 62}$
-
Step 3: Calculate the Interquartile Range ($IQR$).
-
Step 4: Compute Tukey's Outlier Fences.
-
Step 5: Identify Outliers and Whisker Termination Values.
- Comparing data points against the fences:
- Minimum value is $12 > 9.5$, so there are no low outliers.
- The value $62 > 41.5$, so $62$ is an upper outlier.
- In a modified boxplot:
- The left whisker terminates at the minimum non-outlier value: 12.
- The right whisker terminates at the largest data value within the upper fence: 33 (since 33 is the largest value $\le 41.5$).
- The outlier 62 is plotted as an isolated symbol at $x = 62$.
- Comparing data points against the fences:
A modified boxplot displaying the wait times (in minutes) for 140 emergency room patients shows Q_1 = 14, Median = 18, Q_3 = 32, a lower whisker extending to 6, an upper whisker extending to 58, and individual points plotted at 64, 75, and 92. Based on this visual display, what is the shape of the wait time distribution and the mathematical relationship between the mean and median?
An environmental scientist measures ozone concentrations (in parts per billion) over 15 consecutive summer days: 28, 32, 35, 36, 40, 42, 44, 45, 48, 51, 53, 56, 58, 62, 94. Using Tukey's 1.5 * IQR rule, what are the lower and upper fences for detecting outliers, and which observations (if any) are flagged as outliers?
A statistics instructor wants to evaluate student exam scores to determine whether the class distribution is bimodal, which would indicate two distinct academic preparation levels. Which univariate display is LEAST capable of revealing this bimodal structure?
A quantitative dataset of 40 scores is displayed in a split stem-and-leaf plot where each tens stem is divided into two rows: the first row contains leaves 0–4 and the second row contains leaves 5–9. On stem 8, the upper row contains leaves 0, 1, 1, 3, 4, 4 and the lower row contains leaves 5, 6, 8, 9. What do these two rows represent, and what is the relative frequency of scores in the 80s for this dataset?