Outlier Effects
on Center
Discover how extreme values pull the mean away from the middle while the median holds steady: and learn to justify which measure best represents a data set.
What Is an Outlier?
An outlier is a data value that is significantly higher or lower than most other values in a data set. It stands apart from the general pattern of the data.
Reviewing Mean and Median
A Data Set Without an Outlier
Consider the data set: \({2, 3, 4, 5, 6}\). All five values are close together.
Now Add an Outlier
Replace the \(6\) with \(50\). New data set: \({2, 3, 4, 5, \textcolor{#f87171}{50}}\).
The Core Rule
Why Does the Mean Shift?
The mean formula \(\bar{x} = \frac{\sum x_i}{n}\) adds every value. A single huge value inflates the sum while \(n\) barely changes.
Outliers and Skew Direction
Resistant vs. Non-Resistant
| Resistant Measures | Non-Resistant Measures | |
|---|---|---|
| Definition | Not affected much by outliers | Heavily influenced by outliers |
| Examples | Median, IQR | Mean, Range, Std. Dev. |
| Best When | Data has outliers or skew | Data is symmetric, no outliers |
| Depends On | Position of values | Magnitude of all values |
How to Decide Which Measure to Use
Example 1: Test Scores
Five students scored: \({78, 82, 85, 88, 91}\) on an exam. Find the mean and median.
Example 2: Home Prices
Six homes sold for (in thousands): \({150, 160, 170, 180, 190, \textcolor{#f87171}{950}}\).
Example 3: Salary Data
A small company's salaries (in thousands): \({35, 38, 40, 42, 45, 48, \textcolor{#f87171}{350}}\). The CEO earns $350K.
Quantifying the Pull
You can measure exactly how much an outlier shifts the mean by comparing the mean with and without the outlier.
Common Mistakes
Summary Comparison
| Mean | Median | |
|---|---|---|
| Formula | \(\frac{\sum x_i}{n}\) | Middle value when sorted |
| Uses Every Value? | Yes | No: only position matters |
| Resistant? | No | Yes |
| Outlier Effect | Pulled toward the outlier | Barely changes |
| Best For | Symmetric data, no outliers | Skewed data or outliers |
Question 1 of 5
A data set is: \({10, 12, 14, 15, 100}\). Which measure of center is most affected by the outlier \(100\)?
Question 2 of 5
The data set \({5, 7, 8, 9, 10}\) has a mean of \(7.8\) and a median of \(8\). If the value \(10\) is replaced with \(50\), what happens?
Question 3 of 5
A real-estate agent wants to describe the "typical" home price in a neighborhood where most homes sell for around $200K but one mansion sold for $2.5 million. Which measure should the agent use and why?
Question 4 of 5
For the data set \({20, 22, 24, 26, 28}\), the mean is \(24\) and the median is \(24\). What does this tell you about the data?
Question 5 of 5
A data set has \( \text{mean} = \mathbf{45} \) and \( \text{median} = \mathbf{30} \). What can you conclude?