Robust Logistic Regression

Statistics
Introduced by
Cantoni & Ronchetti (2001); Bondell (2008)
Year
2001
Type
Robust generalized linear model (binary outcome)

What does it do?

Robust logistic regression is a variant of logistic regression that limits the influence of outliers and leverage points when fitting a binary outcome through the usual logit link.

It replaces the maximum-likelihood score equations with a weighted, bounded-influence estimating equation of Mallows type. The robust framework for generalized linear models, built on quasi-likelihood, was developed by Cantoni and Ronchetti (2001), who treated the binomial and Poisson models in detail. A weighting approach specific to logistic regression has also been proposed (Bondell, 2008).

The intuition behind the method

Ordinary logistic regression can be pulled off course by a few unusual cases — a mislabeled response or an observation sitting far out in the predictor space. Robust logistic regression quietly turns down the influence of such points: each observation gets a weight, so well-behaved cases count fully while suspicious ones count less. The fitted curve then reflects the bulk of the data rather than chasing the extremes.

History

Robust estimation for generalized linear models was developed by Cantoni and Ronchetti (2001), who built robust procedures on quasi-likelihood, defined robust deviances usable for stepwise model selection, derived the asymptotic distribution of the associated tests, and treated the binomial and Poisson models in detail. A weighting approach to robust logistic regression was later proposed by Bondell (2008).

When to use it

Choose robust logistic regression when the outcome is binary and screening suggests outliers, mislabeled responses, or high-leverage predictor values that could distort an ordinary logistic fit. Weighting becomes unstable in small samples, so be cautious with few observations; the facts for this page give about 50 observations as a working minimum, which is a rule of thumb rather than a theoretical result. If the data show no influential cases, ordinary logistic regression is simpler to fit and interpret and should be the default. Do not apply the binary model to outcomes with more than two categories; multinomial and ordinal logistic extensions exist for those cases.

Limitations and considerations

  • Weighting can be unstable in small samples; about 50 observations or more is a working guideline, and classical logistic regression is preferable when data are scarce and no influential cases are evident.
  • Mallows-type weights limit the influence of high-leverage points but may not fully protect against severe leverage, so check the weighted fit for points that still dominate.
  • More involved to fit and interpret than ordinary logistic regression, and results depend on the implementation and on the tuning constant c, which should be reported alongside the coefficients.

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

Strengths

  • Less sensitive than maximum-likelihood logistic regression to a few observations with extreme predictor values or unusual responses, because both the leverage weights and the bounded score limit their pull on the coefficients.
  • Down-weights suspect observations rather than deleting them, so the full sample still contributes to the estimates and the weights can be inspected.
  • Cantoni and Ronchetti (2001) report, from two real-data applications and a sensitivity analysis, that inference based on robust deviances is more reliable than classical estimation and testing under contamination; they treat binomial and Poisson models in detail.

Applications

  • Binary classification from training data that may contain mislabeled responses or anomalous records.
  • Re-analysing an existing logistic model whose coefficients change noticeably when a few cases are removed, to check whether those cases drive the result.
  • Binary-outcome studies in which extreme predictor values are plausible because of measurement or recording errors.
  • Routine sensitivity checks in R, where glmRob (robust package) fits robust logistic models for data containing outliers and influential observations.

How it works

How it works

1

The probability that the binary outcome equals one is modelled with the logistic link, so the log-odds are a linear function of the predictors x with coefficients β, as in ordinary logistic regression.

Formula
\Pr(y=1 \mid x) = \dfrac{1}{1 + e^{-x^{\top}\beta}}
2

Instead of solving the ordinary maximum-likelihood score equations, the coefficients solve a weighted estimating equation. The Mallows-type weight w(x) depends on each observation's position in the predictor space and reduces the contribution of high-leverage points. The bounded function ψ_c is applied to the residuals r_i, which are Pearson-type residuals (the response minus its fitted probability, scaled by the model's standard deviation), and limits how far any single large residual can move the fit. The tuning constant c sets the trade-off: smaller values give stronger protection against outliers but lower efficiency when the data are clean, and larger values approach ordinary maximum likelihood. Implementations differ in the weight function, the default for c and the correction terms used, so report which implementation and which c you used. One available implementation is glmRob in the R package robust, which can fit robust logistic regression.

Formula
\sum_{i=1}^{n} w(x_i)\,\psi_c\!\big(r_i\big)\,\big(y_i - \mu_i(\beta)\big)\,x_i = 0

Common pitfalls

  • Using it on very small samples, where the weighting and convergence can be unreliable; compare with classical logistic regression.
  • Assuming the Mallows-type weights remove every leverage problem; check the weighted fit for points that still dominate the coefficients.
  • Ignoring the observation weights: the down-weighted cases are often the most informative about data-quality problems and should be examined, not simply dropped from the analysis.
  • Reading the robust coefficients as the true relationship without investigating why the flagged cases are extreme, such as entry errors, mislabeling, or a different population.

Frequently asked questions

How does robust logistic regression differ from ordinary logistic regression?

Both use the same logistic link and linear log-odds. Ordinary logistic regression maximises the likelihood, so every observation contributes through the same score; the robust version solves a weighted estimating equation in which leverage weights reduce the contribution of high-leverage points and a bounded score limits the influence of large residuals.

What are Mallows-type weights?

They are weights that depend on each observation's position in the predictor space, reducing the contribution of high-leverage points. Combined with a bounded score on the residuals, they stop a single unusual case from dominating the estimated coefficients.

What if strong leverage points still affect the fit?

Inspect those observations and the weights, compare the robust fit with the classical fit, and examine whether the points are errors or genuine. Other bounded-influence estimators exist, but check the literature for how they perform for the specific logistic model you are fitting.

Is it safe to use on small samples?

Use caution. With few observations the weighting can be unstable and the fit may not converge. About 50 observations is a working guideline, not a strict rule. For small samples without evident influential cases, classical logistic regression is the safer default.

Related methods

Sources

  1. Cantoni, E. & Ronchetti, E. (2001). Robust Inference for Generalized Linear Models. Journal of the American Statistical Association, 96(455), 1022-1030.

    Open DOI reference
  2. Bondell, H. D. (2008). Robust Logistic Regression Using a Weighting Approach. Biometrics, 64(2), 421-427.

    Open publication reference