Skip to content
← All questions

How does an outlier pull the regression line or model trend off course?

A model attempts to fit the overall trend of the data. When an outlier is present, the fitting algorithm tries to minimize the error across all points, including the extreme one. This causes the fitted line to shift or tilt toward the outlier, deviating from the optimal path determined by the majority of the data.

Conditions

  • The data can be represented as a two-dimensional scatter plot.
  • The model attempts to fit the overall trend.
  • There exist observations clearly distant from the main cluster.

Reasoning, step by step

  1. Identify the main cluster of data points.
  2. Draw a fitted line that best represents the trend of the main cluster.
  3. Introduce an outlier far from the cluster.
  4. Observe how the fitted line shifts toward the outlier to accommodate it.
  5. Conclude that the model learns a distorted trend.

Example

In the scatter plot, the instructor first draws a line through the main cluster. When the outlier is included, a second, steeper line is drawn that shifts toward the upper-left outlier, diverting from the best optimal path.

Common misconceptions

  • Assuming outliers only affect the mean and not predictive models.
  • Believing that a model will automatically ignore extreme values without proper handling.

Watch the explanation

Connected concepts

Explore next

Related questions

Find a method

↗
Understand why

↗
Meet the concept

↗
Understand why

↗
Find a method

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.