Descriptive Statistics: Outliers and Boxplots
Learning Objectives & Overview of Descriptive Statistics
Descriptive statistics involves summarizing and describing quantitative data using four central concepts:
Center: Describes the middle or most typical value of a dataset.
Variation: Describes the spread or extent to which data points vary.
Distribution: Describes the shape and pattern of data values.
Outliers: Identifies highly unusual observations that lie far outside the range of typical data.
Quantitative data can be comprehensively summarized and visualized using quartiles, fences, and boxplots.
The 5-Number Summary
Definition: The 5-number summary of a quantitative data set provides a concise description of its spread and center. It consists of:
Minimum value ()
First quartile ()
Second quartile or Median (
Third quartile ()
Maximum value ()
Notation: The 5-number summary is written in sequential order as: .
Example 1: Finding the 5-number Summary for Quiz Scores
Dataset ():
Step 1: Arrange data in ascending order:
Step 2: Identify summary statistics:
Minimum:
First quartile:
Second quartile (Median):
Third quartile:
Maximum:
5-number summary:
StatCrunch Procedure: Select
StatSummary StatsColumns, choose the column variable, and clickCompute!.
Example 2: Finding the 5-number Summary from Poverty Rate Data
Dataset (): Average poverty rates for all 50 US states and the District of Columbia (2016–2018).
Complete Data Values:
Alabama:
Alaska:
Arizona:
Arkansas:
California:
Colorado:
Connecticut:
Delaware:
District of Columbia:
Florida:
Georgia:
Hawaii:
Idaho:
Illinois:
Indiana:
Iowa:
Kansas:
Kentucky:
Louisiana:
Maine:
Maryland:
Massachusetts:
Michigan:
Minnesota:
Mississippi:
Missouri:
Montana:
Nebraska:
Nevada:
New Hampshire:
New Jersey:
New Mexico:
New York:
North Carolina:
North Dakota:
Ohio:
Oklahoma:
Oregon:
Pennsylvania:
Rhode Island:
South Carolina:
South Dakota:
Tennessee:
Texas:
Utah:
Vermont:
Virginia:
Washington:
West Virginia:
Wisconsin:
Wyoming:
Summary Statistics Output:
Practical Interpretation:
Approximately of states have average poverty rates between and .
Approximately of states have average poverty rates between and .
Approximately of states have average poverty rates between and .
Approximately of states have average poverty rates between and .
Boxplots without Outliers
Definition: A boxplot (also referred to as a "whisker plot") is a visual diagram constructed from the 5-number summary. It displays the quartiles, interquartile range (), and total range of a dataset.

Anatomical Components of a Standard Boxplot:
Middle Box: Represents the middle of the dataset. The left edge is drawn at , and the right edge is drawn at . The width of the box corresponds exactly to the Interquartile Range ().
Median Line: A vertical line segment drawn inside the box at
Whiskers: Horizontal line segments extending from the box edges:
Left whisker: Extends from to .
Right whisker: Extends from to .
Percentile Breakdown: Each section (left whisker, left box side, right box side, right whisker) represents roughly of the data observations.
Step-by-Step Procedure to Construct a Boxplot by Hand:
Step 1: Draw a horizontal axis scaled with equal spacing long enough to contain the minimum and maximum data values. Draw vertical line segments above the axis at , , and .
Step 2: Draw horizontal line segments connecting the tops and bottoms of the vertical segments at and to form the middle box.
Step 3: Place a point/dot at the minimum value and at the maximum value.
Step 4: Draw whisker line segments from to and from to .
Critical Rule for Axis Scaling:
When drawing a boxplot, tick marks on the horizontal axis must be labeled using equally spaced increments. Incorrect or non-uniform spacing results in a visually distorted and misleading boxplot.
Example 3: Hand Construction using Poverty Rate Data
Given 5-number summary: , , , ,
Axis marked evenly from to
Vertical lines at , , and
Box formed between and
Dots at and
Whiskers extending from down to and from up to
StatCrunch Procedure for Making Boxplots:
Input data into a column in StatCrunch.
Select
GraphBoxplot.Select the desired column variable name.
Check the option
Draw boxes horizontally.Click
Compute!.
Identifying Outliers using Fences
Definition of Outlier: An outlier is an observation that lies far outside the normal range of values for a data set.
Mathematical Definition of Fences:
Fences serve as statistical boundaries to identify potential outliers.

Left Fence (Lower Fence):
Right Fence (Upper Fence):
Interquartile Range formula:
Outlier Criterion:
Observations falling between the fences () are considered typical data values.
Observations falling outside the fences ( or ) are defined as outliers.

Procedure to Identify Outliers in a Dataset:
Determine quartiles , (Median), and
Compute the Interquartile Range:
Calculate the boundaries:
Compare all data values to and . Any value strictly less than or strictly greater than is classified as an outlier.
Order of Operations Tip:
When calculating fences, always execute multiplication before addition or subtraction:
Multiply first.
Subtract that product from for .
Add that product to for .
Example 5: Checking Poverty Rates for Outliers
Summary Stats: , , , ,
Calculations:
Comparison:
Lowest data value is
Highest data value is
Conclusion: All values fall strictly between and . Therefore, there are no outliers in the poverty rate data set.
Example 6: Checking Presidential Inauguration Ages for Outliers
Dataset (): Ages of US Presidents at inauguration.
Data Values:
Summary Output:
Outlier Calculations:
Evaluation:
Conclusion: The age is greater than the upper fence (). Thus, is identified as an outlier.
Modified Boxplots (Boxplots with Outliers)
Definition: A modified boxplot explicitly denotes outliers rather than extending whiskers out to the extreme values.
Key Visual Indicator: A dot or asterisk displayed on a modified boxplot represents an individual outlier.

Procedure to Create a Modified Boxplot:
Find quartiles , (Median), and
Compute
Compute fences: and
Scale a horizontal number line to encompass all dataset values (from minimum to maximum).
Draw vertical lines at , , and and construct the middle box.
Identify fence positions internally.
Draw the left whisker from down to the smallest data value that lies inside the fences.
Draw the right whisker from up to the largest data value that lies inside the fences.
Mark any data values outside the fences individually using a dot or asterisk.
Application to Presidential Age Data:
, ,
,
Smallest value within fences: (left whisker extends from down to
Largest value within fences: (right whisker extends from up to
Value outside fences: (plotted as an isolated dot at
Comparative Boxplot Analysis
Comparative boxplots display two or more boxplots on the same scaled axis to allow direct comparison between groups.

Example 7: Comparing Statistics Exam Grades (10 AM vs. 11 AM Sections)
Background: A professor taught two back-to-back statistics classes (10 AM and 11 AM) and was concerned that 10 AM students shared exam answers with 11 AM students.
Questions & Answers:
Question a: Which class had a higher median grade?
Answer: The 10 AM class. The median line for the 10 AM section is near , whereas the median for the 11 AM section is below
Question b: Which class had a larger ?
Answer: The 10 AM class. Interquartile range corresponds to box width. The 10 AM box is slightly wider than the 11 AM box, indicating that the middle of scores were spread further apart in the 10 AM class.
Question c: Which class had more scores higher than ?
Answer: The 10 AM class. Over of 10 AM students scored above (), while fewer than of 11 AM students scored above (Median
Question d: Which class had an outlier?
Answer: The 11 AM class had an outlier, shown as a dot near points.
Question e: Based on the boxplots, was the professor's concern justified?
Answer: No. The 10 AM class performed significantly better overall. If answer leakages had occurred, the 11 AM class would be expected to score higher, which was not the case.
Boxplots and Distribution Shapes
Boxplots reflect the shape of the underlying distribution:

Shape Classifications:
Symmetric / Bell-Shaped:
The middle box is centered between the whiskers.
The left and right whiskers are approximately equal in length.
The median line divides the box into two roughly equal halves.
Skewed Left:
The left whisker is significantly longer than the right whisker.
The middle box is shifted toward the right side of the diagram.
The longer left whisker corresponds to the long left tail seen in a histogram.
Skewed Right:
The right whisker is significantly longer than the left whisker.
The middle box is shifted toward the left side of the diagram.
The longer right whisker corresponds to the long right tail seen in a histogram.
Comprehensive Analysis Framework: Putting It All Together
Complete Data Description Requirements: Describing a quantitative dataset requires addressing four distinct factors:
Center (Median or Mean)
Variation (, Range, or Standard Deviation)
Shape / Distribution (Symmetric, Skewed Left, Skewed Right)
Outliers (Presence or absence of extreme values beyond fences)

Example 8: Comparing Rotten Tomatoes Movie Ratings (Marvel vs. DC through 2019)
Center Analysis: Marvel has a significantly higher median rating (near ) than DC (near ). Marvel's middle box is positioned farther to the right.
Variation Analysis: Both companies display roughly equal box widths (). Marvel has a slightly larger total range. Overall variability is approximately equivalent.
Shape Analysis:
Marvel: Skewed left due to a longer left whisker and a box shifted toward higher values.
DC: Symmetric / approximately bell-shaped because the left and right whiskers are nearly equal in length and the box is centered.
Outlier Analysis: No dots or asterisks appear on either boxplot; therefore, neither company has outliers.
Overall Summary: Marvel's median rating roughly equals DC's third quartile (
of Marvel movies received scores of or higher.
Only of DC movies received scores of or higher.
Marvel movies demonstrate consistently higher critical acclaim while exhibiting similar variation to DC movies.