Quant Memo
Advanced

Hampel's Three-Part Estimator and Tuning Constants

A robust estimator that treats small residuals, moderate ones, and extreme ones differently — full weight near the center, gently reduced weight further out, and zero weight beyond a cutoff — controlled by three tuning constants that trade off efficiency against resistance to extreme outliers.

Prerequisites: MM-Estimators for Regression

Ordinary least squares weights every residual equally regardless of size, which is exactly why a single extreme outlier can dominate the fit — a residual of 100 pulls the estimate ten thousand times harder than a residual of 1, since squared error grows quadratically. M-estimators replace the squared-error loss with an alternative function chosen to grow more slowly for large residuals, down-weighting outliers instead of letting them dominate. Hampel's three-part (redescending) estimator is one specific, carefully shaped choice: for residuals within a first cutoff aa, it behaves like ordinary least squares (full weight); between aa and a second cutoff bb, the weight is held constant rather than growing further; between bb and a third cutoff cc, the weight tapers linearly down to zero; and beyond cc, the weight is exactly zero — an extreme enough outlier is entirely ignored rather than merely down-weighted.

The three tuning constants a,b,ca, b, c set where each regime kicks in, and choosing them is a genuine trade-off: smaller values discard more data as "outliers" and sacrifice statistical efficiency on clean data, while larger values retain more influence from extreme points and sacrifice robustness — there's no value that is simultaneously most efficient and most robust, only choices suited to how contaminated the data is expected to be.

Fitting a factor model's exposures on daily stock returns with a Hampel estimator means the handful of days with genuine earnings-surprise moves get zero weight entirely (beyond cutoff cc), rather than the ordinary-least-squares fit being visibly bent toward those few extreme days at the expense of everything else.

Hampel's three-part estimator smoothly transitions from full weight near zero residual to zero weight beyond a cutoff, with three tuning constants controlling exactly where each regime begins — smaller constants trade away statistical efficiency for more resistance to extreme outliers, and there's no setting that maximizes both simultaneously.

Related concepts

Practice in interviews

Further reading

  • Hampel, Ronchetti, Rousseeuw and Stahel, Robust Statistics: The Approach Based on Influence Functions (1986)
ShareTwitterLinkedIn