Boxplots and modified boxplots
Understanding Boxplots
Boxplots (also known as box-and-whisker plots) are graphical displays used to show the distribution of a quantitative variable. They are particularly useful for comparing distributions between different groups or for quickly identifying key features of a single distribution. A standard boxplot visually represents the five-number summary of a dataset: minimum value, first quartile (Q1), median, third quartile (Q3), and maximum value.
Constructing a Standard Boxplot
- The central box of the boxplot spans from the first quartile (Q1) to the third quartile (Q3). This box represents the middle 50% of the data.
- A line inside the box marks the median (Q2), which is the 50th percentile of the data.
- Whiskers extend from the edges of the box to the minimum and maximum values within the data set, provided these values are not considered outliers.
- The Interquartile Range (IQR) is a key measure of spread calculated as Q3 - Q1. It represents the range of the middle 50% of the data.
Boxplots are excellent for visualizing the center (median), spread (IQR and overall range), and the presence of skewness in a distribution. For instance, if the median line is closer to Q1, the data is likely skewed right; if closer to Q3, it's skewed left.
Modified Boxplots and Outliers
While standard boxplots show the absolute minimum and maximum, modified boxplots offer a more refined view by identifying and displaying outliers. Outliers are observations that fall outside the overall pattern of the data.
Identifying Outliers
In AP Statistics, the standard method for identifying potential outliers uses the 1.5 * IQR rule:
- An observation is considered a potential low outlier if it is less than Q1 - (1.5 * IQR).
- An observation is considered a potential high outlier if it is greater than Q3 + (1.5 * IQR).
Constructing a Modified Boxplot
Modified boxplots differ from standard boxplots in how the whiskers are drawn and how outliers are represented:
- The central box and median line are drawn exactly as in a standard boxplot.
- The whiskers extend from the edges of the box to the most extreme data values that are not considered outliers. These are sometimes called the upper fence and lower fence values, which are the largest value not exceeding Q3 + (1.5 * IQR) and the smallest value not less than Q1 - (1.5 * IQR), respectively.
- Any data points falling outside these whiskers (i.e., beyond the fences) are plotted individually as distinct points (e.g., asterisks or dots). This makes outliers visually prominent.
Modified boxplots are preferred in statistical analysis because they explicitly call attention to unusual observations, which could be due to measurement errors, data entry mistakes, or genuinely extreme values that warrant further investigation. They provide a clearer picture of the spread of the bulk of the data without being distorted by extreme values.
Practice questions
Which of the following statistics is NOT directly displayed in a standard boxplot?
What is the primary advantage of using a modified boxplot over a standard boxplot?
If Q1 is 20 and Q3 is 30, what is the Interquartile Range (IQR)?
Using the 1.5 * IQR rule, if Q1 = 15, Q3 = 25, and a data point is 45, is it considered an outlier?
Related topics
Free AP4U account — unlimited practice, AI grader, and progress tracking.
Canonical: https://apforu.com/ap/statistics/unit-1-exploring-one-variable-data/boxplots-and-modified-boxplots