Prob and StatsTwo-Variable Data

Outliers and Influential Points

Some points pull the line toward themselves.

Not started Jump to practice

The least-squares line minimizes squared residuals, and squaring makes big misses very costly. So a single unusual point can drag the whole line toward itself. This lesson sorts unusual points by what they do to the line and to $r$ and $r^2$.

Key idea

An outlier has a large residual (it is far from the line in the y-direction). A high-leverage point has an x-value far from the others. A point is influential if removing it changes the slope (or the whole line) a lot. High-leverage points that do not follow the pattern are usually the influential ones.

Why it works

Think of the line as a seesaw balanced at $(\bar{x}, \bar{y})$. A point near the middle of the x-values pushes near the pivot: it can lift the line a little but cannot tilt it much. A point far out in x pushes at the end of a long lever, so if it sits off the pattern it can tilt the line a lot. A far-out point that lies right on the pattern agrees with the line, so it changes little (it even makes $r$ look stronger).
Drag the point at x = 12 up and down. It swings the line around. Then drag it to x = 3 and do the same: the line barely tilts.

Worked example: Measuring influence

Five points $(1, 2), (2, 4), (3, 5), (4, 4), (5, 6)$ have least-squares slope $0.8$ and $r \approx 0.85$. Adding $P = (12, 2)$ changes the slope to about $-0.11$ and $r$ to about $-0.27$. Describe P.
  1. P has x = 12, far beyond the other x-values (1 to 5): high leverage.
  2. It falls far below where the pattern predicts ($1.8 + 0.8 \cdot 12 = 11.4$).
  3. Including it flips the slope from positive to slightly negative: it is very influential.

Answer: P is a high-leverage, influential point.

Worked example: An outlier with little influence

Instead, add $(3, 12)$ to the five points. The slope stays $0.8$ and $r$ drops to about $0.33$. Describe this point.
  1. Its x-value, 3, is the mean of the x-values: no leverage at all.
  2. It is far above the line: a large residual, so it is an outlier.
  3. It lifts the line (the intercept rises from 1.8 to 3.1) but cannot tilt it, and it weakens $r$ a lot.

Answer: An outlier, but not influential on the slope.

Report what you find with and without an influential point, and look for a reason: a typing error, a different kind of individual, or a real but rare case. Do not quietly delete points you dislike.

Common mistake

Assuming every outlier is influential, or that a point is harmless because its residual is small. An influential point pulls the line toward itself, so its own residual can look small. Check by refitting without the point and comparing slopes.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 2 XP.

Loading practice…

Builds on

Leads to

This is one of the top rungs of Probability and Statistics.

Sources and further reading

  • OpenStax, Introductory Statistics 2e, section 12.6 Outliers
@teddyrookbook GitHub