Robust Regression

Statistics
Introduced by
Peter J. Huber (M-estimation, 1964); Frank Hampel (influence function, 1974)
Year
1964
Type
Regression with outlier resistance
Family
Regression / GLM

What does it do?

Robust regression estimates the linear relationship between a continuous outcome and its predictors while limiting the influence of outlying observations on the fit.

Unlike OLS, whose squared-error criterion lets a few extreme responses dominate the estimates, robust methods down-weight atypical residuals so that the coefficients track the bulk of the data. Its protection is aimed at contamination by outliers, not at non-normal errors in general.

The intuition behind the method

OLS fits a line by minimising squared residuals, which means even a single extreme data point can pull the line far from the bulk of the data. Robust regression instead uses a loss function that grows more slowly than a square for large residuals, so distant outliers contribute far less to the fit. The algorithm progressively down-weights observations with large residuals at each iteration — the fitted line ends up representing the majority of the data faithfully, while outliers are isolated rather than accommodated.

History

Peter Huber's 1964 paper in The Annals of Mathematical Statistics introduced M-estimation and the Huber loss for estimating a location parameter under contaminated normal models. The extension to linear regression was developed afterwards and forms the basis of the estimating equations used here. Frank Hampel's influence-function framework for robust statistics is set out systematically in Hampel, Ronchetti, Rousseeuw and Stahel (1986). Later work developed high-breakdown estimators, including least trimmed squares and MM-estimation, that resist larger fractions of contamination and made robust regression practical for applied use.

When to use it

Use robust regression when OLS residuals are heavy-tailed or contain clear outlying responses that are genuine observations rather than recording errors, so that they should not simply be deleted. It is well suited when outliers are expected on substantive grounds, for example in financial returns, survey incomes or biological assays, or when diagnostics such as Cook's distance or leverage plots flag influential points. The method assumes that most of the data follow the assumed linear model; it does not correct a wrongly specified functional form and does not replace careful data cleaning. If the error distribution is skewed, a symmetric-loss robust fit does not estimate the same intercept and slopes as OLS, so quantile or LAD regression is the more direct choice in that case. Because its weights depend on residual size, it is not a remedy for outlying predictor values that have small residuals. Do not use it when the data are clean and normally distributed errors are plausible, since OLS is then more efficient. For binary, count or ordinal outcomes, use a suitable GLM instead of robust linear regression.

Limitations and considerations

  • More computationally demanding than OLS, and convergence depends on good starting values, usually obtained from least trimmed squares.
  • Inference rests on large-sample approximations and can be unreliable when the sample is small.
  • Does not address non-linearity or model misspecification; it targets outlier contamination of an otherwise linear relationship.
  • With asymmetric error distributions, the intercept and slopes of a symmetric-loss robust fit estimate a different quantity from the conditional mean; quantile or LAD regression targets the conditional median in that case.
  • The loss function (Huber, bisquare, Hampel) and its tuning constants affect the results, and no single choice is best in every setting.
  • Less widely implemented than OLS, and output formats differ across software packages.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Limits distortion of the coefficient estimates caused by outlying responses, which would otherwise dominate a squared-error fit.
  • Under truly Gaussian errors it retains good efficiency relative to OLS (up to 95%, depending on the tuning constant).
  • MM-estimation combines a high breakdown point (up to 50%) with high efficiency, making it a strong choice among robust estimators for linear models.
  • The final observation weights show which points were most down-weighted, giving a direct diagnostic for suspected outliers.
  • Applies to the same linear model structures as OLS, including multiple predictors, interactions and polynomial terms.

Applications

  • Economics and finance: estimating wage equations or asset-pricing models where extreme values are common.
  • Biomedical research: modelling dose-response relationships in the presence of biological outliers or measurement error.
  • Environmental science: regression of pollutant concentrations over time when monitoring occasionally produces anomalous readings.
  • Survey and social science data where extreme income or expenditure values distort OLS estimates.
  • Quality control and engineering: process regression when sensor faults or human error introduce contaminated measurements.
  • Astronomical and physical sciences where a small fraction of erroneous observations is unavoidable.

How it works

How it works

1

Instead of minimising the sum of squared residuals as OLS does, robust regression minimises the sum of a loss function rho applied to the scaled residuals r_i / s, where s is a robust scale estimate. The Huber loss is quadratic near zero and grows only linearly for large residuals, while Tukey's bisquare loss is bounded, so very large residuals contribute a fixed maximum. The conventional tuning constants are k = 1.345 for Huber and k = 4.685 for the bisquare, applied to the residual scale. The constant sets the point beyond which residuals are down-weighted: a smaller constant gives more resistance to outliers but less efficiency when the errors are close to normal. Because the weights depend on residual size, this objective limits the influence of response outliers; it does not by itself down-weight observations whose predictor values are extreme (leverage points).

Formula
\hat{\beta} = \arg\min_{\beta} \sum_{i=1}^{n} \rho(r_i / s)
2

The derivative psi of the loss, the influence function, determines how strongly each observation pulls on the fit. Observations with small scaled residuals receive weights near one, and those with large scaled residuals receive progressively lower weights according to w_i = psi(r_i / s) / (r_i / s). For the bisquare choice, the weight falls to zero beyond the tuning threshold.

Formula
w_i = \psi(r_i / s) / (r_i / s)
3

The estimating equations are solved by iteratively reweighted least squares: the current residuals define the observation weights, a weighted least squares fit is computed, new residuals are formed, and the weights are updated until the estimates stop changing. Because the solution depends on the starting values, a high-breakdown starting estimator is commonly used before the M-type step.

4

The scale s is estimated robustly, commonly as the median absolute deviation (MAD) of the residuals divided by 0.6745, which makes s consistent with the standard deviation under normal errors. This prevents a few extreme residuals from inflating the scale and weakening the down-weighting.

Formula
s = \text{MAD}(r_i) / 0.6745
5

Standard errors can be derived from the sandwich covariance matrix or from the asymptotic theory of M-estimators, and bootstrap confidence intervals are a practical alternative. These approximations rest on large-sample results and can be unreliable with small samples or heavy contamination, where bootstrap intervals are generally preferable. The reported p-values inherit this limitation, so check which standard-error method the software uses.

Common pitfalls

  • Assuming robust regression corrects for model misspecification — if the true relationship is non-linear, robust regression on a linear model still gives biased estimates.
  • Ignoring masking: a cluster of outliers can hide each other if initial scale estimates are poor; always use a high-breakdown starting estimator (LTS or S-estimator) before MM-estimation.
  • Interpreting down-weighted observations as confirmed outliers without subject-matter investigation — they may carry meaningful scientific information.
  • Using robust regression when the data have zero outliers and OLS assumptions are satisfied; OLS is more efficient in that case.
  • Neglecting to report the robust estimator, tuning constants, scale estimate, number of iterations and standard-error method used, which makes results non-reproducible.

Frequently asked questions

How does robust regression differ from OLS?

OLS minimises the sum of squared residuals, making it highly sensitive to outliers. Robust regression minimises a bounded or slower-growing loss function, so extreme observations receive lower weight and have far less influence on the fitted line.

What is the breakdown point?

The breakdown point is the maximum fraction of contaminated data an estimator can tolerate before its estimates become unbounded. OLS has a breakdown point of 0 (a single outlier can destroy it); MM-estimators can achieve up to 50%.

Should I use Huber or bisquare (Tukey) weights?

Huber weights remain linear beyond the threshold, so outliers still exert some influence. Bisquare (Tukey) weights drop to zero beyond the tuning constant, providing stronger resistance. Bisquare is generally preferred when outliers are suspected to be truly anomalous; Huber is milder and may be preferred when atypical points could carry real information.

Can I use robust regression for non-continuous outcomes?

Standard robust regression targets a continuous outcome. For binary, count, or ordinal outcomes, use a robust GLM or quasi-likelihood estimator designed for that outcome type.

Does robust regression eliminate the need for residual diagnostics?

No. Observation weights from the final iteration serve as an outlier diagnostic, but you should still examine residual plots, assess model fit, and investigate heavily down-weighted observations to understand their subject-matter relevance.

Related methods

Sources

  1. Huber, P. J. (1964). Robust estimation of a location parameter. The Annals of Mathematical Statistics, 35(1), 73–101.

    Open DOI reference
  2. Hampel, F. R., Ronchetti, E. M., Rousseeuw, P. J., & Stahel, W. A. (1986). Robust Statistics: The Approach Based on Influence Functions. Wiley.

    ISBN: 978-0471735779
  3. Financial Econometrics From Basics to Advanced Modeling Techniques, p. 423

  4. Introductory Econometrics, 2nd Edition, p. 305