# How to Make Linear Regression Survive Outliers

DevFeed: [How to Make Linear Regression Survive Outliers](<https://devfeed.tech/articles/how-to-make-linear-regression-survive-outliers-56883.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/how-to-make-linear-regression-survive-outliers/>)

Author: Aamir Hussain Chughtai, PhD

Published: 2026-09-16T15:30:01Z

Content type: article

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [linear-regression](<https://devfeed.tech/topics/linear-regression.md>), [Data Science](<https://devfeed.tech/topics/data-science.md>), [Estimator](<https://devfeed.tech/topics/estimator.md>), [Statistics](<https://devfeed.tech/topics/statistics.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [editor-s-picks](<https://devfeed.tech/tags/editor-s-picks.md>), [estimator](<https://devfeed.tech/tags/estimator.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linear-regression](<https://devfeed.tech/tags/linear-regression.md>), [missing-values](<https://devfeed.tech/tags/missing-values.md>), [outliers](<https://devfeed.tech/tags/outliers.md>), [regression](<https://devfeed.tech/tags/regression.md>), [robustness](<https://devfeed.tech/tags/robustness.md>), [science](<https://devfeed.tech/tags/science.md>)

## AI overview

This article compares ordinary least squares with five robust estimators for linear regression when datasets contain outliers. It examines how different contamination patterns affect estimator behavior when the outlier statistics are unknown.

## Source excerpt

Robust Estimation Series: comparing classical and modern robust estimators through theory, code, and experiments The post How to Make Linear Regression Survive Outliers appeared first on Towards Data Science.