Robust Generalized Linear Model

Statistics
Introduced by
Cantoni & Ronchetti
Year
2001
Type
Robust regression model
Family
Regression / GLM

What does it do?

A robust generalized linear model fits a GLM, such as a linear, logistic, or Poisson model, using M-type estimating equations that limit the influence of outlying or highly influential observations.

Its coefficient estimates and standard errors are designed to remain stable when a minority of observations depart sharply from the assumed model. The framework for GLMs was developed by Cantoni and Ronchetti (2001) on the basis of quasi-likelihood estimation.

The intuition behind the method

A classical GLM trusts every observation equally, so even a handful of outliers can pull the fitted coefficients far from the true values. A robust GLM replaces the usual score equations with bounded-influence counterparts: each observation contributes to the estimation in proportion to how well it fits the model, and observations that deviate strongly, in response, covariates, or both, receive reduced weight automatically. This lets the model describe the bulk of the data faithfully while not being driven by extreme cases.

History

The robust GLM framework was developed by Cantoni and Ronchetti (2001) in the Journal of the American Statistical Association. It is based on a natural class of robust estimators defined through quasi-likelihood, and the authors treated the binomial and Poisson models in detail. Their paper also introduced robust deviances for stepwise model selection and studied the stability of test levels under contamination. Heritier, Cantoni, Copt, and Victoria-Feser (2009) cover robust methods in biostatistics more broadly in book form.

When to use it

Choose a robust GLM when there is a substantive reason to expect that a small share of observations are outliers, contaminated measurements, or data-entry errors, and deleting them cannot be justified. It suits outcomes whose mean is linked to the predictors through a GLM link, such as binary or count responses, where the suspected problem is contamination rather than the wrong distributional family. For a continuous outcome with an identity link, the model is essentially robust linear regression, so the robust-multiple-linear-regression page is the more direct guide. Do not use it as a replacement for data cleaning: if extreme values reflect real phenomena, model them explicitly rather than down-weighting them. Avoid it when contamination is widespread, because the bounded-influence protection weakens, and when the sample is very small, because the choice of tuning constant then dominates the inference.

Limitations and considerations

  • When the assumed model holds and there are no outliers, the estimates are less efficient than the classical GLM maximum likelihood estimates.
  • The tuning constant c must be chosen, and the results can be sensitive to this choice. No single default value of c applies across all models, so it should be chosen for the model at hand and checked by sensitivity analysis.
  • The bounded-influence protection weakens as the share of contaminated observations grows; at high contamination levels, the estimates can still be pulled by outliers and a sensitivity analysis is needed.
  • Software support for robust GLM estimation is less standardised than for classical GLMs, so the available families, link functions, and covariance options vary between environments.
  • Down-weighting is hard to explain to audiences unfamiliar with M-estimation, so the reasons some observations contribute less must be communicated alongside the results.
  • The robustness addresses contamination by a minority of observations. It does not correct a misspecified link function, variance function, or distributional family, and the observations are assumed to be independent.

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

Strengths

  • Bounds the influence that a small fraction of outlying responses, or high-leverage covariate values, can exert on the coefficient estimates, through the ψ function and the leverage weights w_i.
  • Keeps the link function and linear predictor of the classical GLM, so the coefficients stay on the same scale and can be read in the same way as the classical fit.
  • The tuning constant c moves the estimator between strong protection and the classical GLM fit, so the trade-off between efficiency and robustness can be examined by refitting over a range of values.
  • Retains all observations and makes the down-weighting explicit and reproducible, unlike deleting cases on an ad-hoc basis.
  • The sandwich covariance estimator estimates the sensitivity and variability matrices separately, so the standard errors do not depend entirely on the working variance model.
  • Cantoni and Ronchetti (2001) define robust deviances that can be used for stepwise model selection as in the classical framework, and they derive the asymptotic distribution of tests based on them, so model comparison can follow the robust fit.

Applications

  • Epidemiology: fitting logistic or Poisson regression to hospital records where coding errors or data-entry mistakes produce a small fraction of impossible or extreme values.
  • Clinical trials: estimating treatment effects on continuous or binary outcomes when protocol deviations create atypical observations that should not dominate inference.
  • Social science surveys: modelling count or proportion outcomes that contain a small fraction of extreme responses due to satisficing or misunderstanding.
  • Environmental monitoring: Poisson regression on count data where occasional sensor malfunctions produce outlying readings.
  • Bioassay and dose-response modelling: logistic regression where some dose levels produce unexpectedly extreme response rates due to batch effects.
  • Quality control: linear (Gaussian) GLM fits to manufacturing measurements where occasional machine faults produce outlying values.

How it works

How it works

1

The systematic component retains the standard GLM linear predictor: a link function g maps the conditional mean μ to a linear combination of predictors x and coefficients β. The choice of link and variance function determines the GLM family, such as Gaussian, binomial, or Poisson.

Formula
g(\mu_i) = x_i^{\top}\beta,\quad \mu_i = E[y_i]
2

Instead of the classical score equations, the estimator solves weighted M-estimating equations. The function ψ_c (for example Huber's ψ with tuning constant c) bounds the influence of any single Pearson residual r_i^P, while the hat-matrix weight w_i down-weights leverage points in covariate space. As c grows without bound, the bound on ψ is lifted and the estimator approaches the classical GLM. The equation shown is a simplified form of the estimating function and should not be read as the exact estimator; see Cantoni and Ronchetti (2001) for the full definition.

Formula
\sum_{i=1}^{n} \psi_c\!\left(r_i^P\right) x_i w_i = 0
3

The Pearson residual standardises the discrepancy between the observed y_i and the fitted mean μ_i by the square root of the variance function V(μ_i). Because this residual is scale-free, the ψ function can act on it across different GLM families.

Formula
r_i^P = \frac{y_i - \mu_i}{\sqrt{V(\mu_i)}}
4

Standard errors use a sandwich covariance estimator: A is the expected gradient of the estimating equations and B captures the actual variability of their contributions. Because the two matrices are estimated separately, the standard errors do not rest entirely on the working variance model, which is useful when the model is only approximately correct.

Formula
\widehat{\operatorname{Var}}(\hat{\beta}) = A^{-1} B (A^{-1})^{\top}

Common pitfalls

  • Choosing a very small c without checking whether the down-weighted observations are genuine outliers or informative extreme values that the model should capture.
  • Applying the method to data with a large share of atypical observations and trusting the estimates without a sensitivity analysis across several values of c.
  • Neglecting the leverage weights w_i: response outliers and high-leverage covariate values need separate protection, and a ψ function acting only on Pearson residuals can leave high-leverage points uncontrolled.
  • Reporting only the robust point estimates without the sandwich standard errors, or presenting sandwich standard errors as if they came from the classical model.
  • Omitting a comparison with the classical GLM fit; if the two agree closely, the robustification added little, and the more efficient classical fit is usually preferable.

Frequently asked questions

How does a robust GLM differ from using robust standard errors on a classical GLM?

Robust (sandwich) standard errors on a classical GLM correct the variance estimate but leave the coefficient estimates themselves unchanged and still influenced by outliers. A robust GLM changes the estimating equations so that both the coefficient estimates and their standard errors are protected from outlier influence.

How do I choose the tuning constant c?

No single default value of c applies to every model. Fit the model over a range of c values, including values that give estimates close to the classical fit, and check whether the key coefficients and their standard errors stay stable. Instability signals influential observations that should be investigated before the estimates are reported.

Can I use a robust GLM for binary outcomes?

Yes. Cantoni and Ronchetti (2001) treat the binomial model in detail, so binary outcomes with a logit link fall within the framework. The Pearson residuals and leverage weights are computed with the binomial variance function, and the ψ function bounds outlier influence on the logit scale.

What software implements robust GLMs?

Software support varies. In R, the glmRob() function in the robust package fits robust generalized linear models, including robust logistic regression. In other environments, check the documentation for which families, link functions, and covariance options are available, and do not assume that a classical GLM routine provides bounded-influence estimates. Confirm that the options you need exist before relying on them.

When should I prefer a robust GLM over simply removing outliers?

When outliers cannot be verified as errors and may represent real but extreme units (for example, super-spreaders in epidemiology), deletion can introduce selection bias. A robust GLM retains all data and makes the reduced influence explicit, whereas ad-hoc deletion is difficult to justify and harder to reproduce.

Related methods

Sources

  1. Heritier, S., Cantoni, E., Copt, S., & Victoria-Feser, M.-P. (2009). Robust Methods in Biostatistics. Wiley.

    ISBN: 978-0470027264
  2. Cantoni, E., & Ronchetti, E. (2001). Robust inference for generalized linear models. Journal of the American Statistical Association, 96(455), 1022–1030.

    Open DOI reference
  3. R in Action: Data Analysis and Graphics with R, 2nd Edition, section 13.2.4 (Extensions), page not confirmed