- Introduced by
- Koenker & Bassett (1978); robust extensions by Machado (1993) and He (1997)
- Year
- 1993–1997
- Type
- Robust semiparametric regression
- Family
- Regression / GLM
What does it do?
Robust Quantile Regression estimates conditional quantiles of a response variable while downweighting observations with large residuals or high leverage.
It combines the asymmetric check-function loss of standard quantile regression with observation weights in a weighted objective. The weights are intended to limit the influence of contaminated observations on the fitted quantile curves.
The intuition behind the method
Standard quantile regression is less affected by outliers in the response than OLS, because the check loss grows only linearly in the residual. It remains sensitive to leverage points, which are unusual values in the predictor space that can pull a fitted quantile line away from the bulk of the data. Robust Quantile Regression adds observation weights that reduce the influence of observations flagged as suspicious, so the estimated quantile curves stay closer to the majority of the data. The weights address the predictor-side problem that the check loss alone does not solve.
History
Quantile regression was introduced by Koenker and Bassett (1978) as an alternative to mean regression, estimating conditional quantiles by minimising a sum of asymmetric check-function losses. Koenker (2005) provides the first comprehensive monograph on the subject, covering linear and nonlinear as well as parametric and nonparametric models, with applications in economics, biology, ecology and finance. Robust, weighted variants of quantile regression were later developed as extensions of this framework to limit the influence of outlying observations. These variants differ in their weighting schemes, so robust quantile regression is not a single standard estimator.
When to use it
Use Robust Quantile Regression when the data may contain outliers or high-leverage observations and you need estimates at specific conditional quantiles rather than only the mean. It suits settings where extreme values are substantively plausible but may also be recording or measurement errors, such as income data with a few very large values or dose-response data with occasional measurement errors. Do not use it as a drop-in replacement when ordinary quantile regression already fits well and the data are clean, because the extra weighting adds complexity without benefit. It is also a poor choice when a parametric distributional assumption is justified and a maximum-likelihood estimator would be more efficient.
Limitations and considerations
- More computationally intensive than standard quantile regression or OLS, particularly when the weighting is iterated.
- Results depend on the chosen weight function and its tuning constant, and no universally optimal default is established for this method.
- Inference (standard errors and confidence intervals) is less straightforward than for OLS and often requires bootstrapping.
- With small samples, the downweighting can discard substantial information, so efficiency may fall well below that of standard quantile regression.
- Interpreting results requires understanding both the quantile level τ and the weighting scheme, which adds conceptual load.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Downweights observations with large residuals (response-side outliers) and with high leverage (predictor-side outliers), so it addresses a case that standard quantile regression leaves open.
- Estimates conditional quantiles at chosen levels, not only the conditional mean, which can reveal covariate effects that differ across the outcome distribution.
- Does not require the error distribution to be symmetric or Gaussian, so it can be used with skewed or heavy-tailed outcomes.
- The tuning of the weight function sets how strongly flagged observations are downweighted, giving the analyst direct control over the robustness-efficiency trade-off.
- Slope coefficients have a clear quantile-specific meaning: the effect of a predictor on the τ-th conditional quantile of the outcome.
Applications
- Wage and income distribution analysis, where a few very high earners could distort OLS-based estimates of conditional quantiles.
- Clinical pharmacokinetics, estimating drug concentration percentiles in the presence of measurement outliers.
- Environmental monitoring of pollutant levels, where occasional sensor errors can produce extreme readings that affect estimated upper quantiles.
- Financial risk modelling, where Value-at-Risk is a conditional quantile of returns and occasional recording errors can distort the estimate.
- Ecological studies relating quantiles of species abundance to habitat covariates when outlying counts are common.
How it works
How it works
The core objective minimises a sum of asymmetric check-function losses ρ_τ(u) over all observations. The quantile level τ ∈ (0,1) selects which conditional quantile is estimated: τ = 0.5 gives the conditional median, and τ = 0.9 gives the 90th percentile.
Formula
\min_{\beta} \sum_{i=1}^{n} \rho_{\tau}(y_i - x_i^{\top}\beta)The check function ρ_τ(u) equals τu for positive residuals and (τ−1)u for negative residuals. This asymmetric penalty makes the minimiser track the τ-th conditional quantile rather than the conditional mean.
Formula
\rho_{\tau}(u) = u(\tau - \mathbf{1}_{u<0})Robustness enters through observation weights w_i in the weighted objective. The formula leaves the weights unspecified; in practice they are derived from an M-estimation or bounded-influence procedure, and observations with large residuals or high leverage typically receive smaller weights. One common construction borrows from M-estimation: residuals are standardised by a robust scale estimate, and a Huber-type weight equals 1 for small standardised residuals and equals c/|r| beyond a tuning constant c, so that larger residuals receive progressively smaller weights. Leverage can be handled separately by downweighting observations with large values of a leverage measure based on the design matrix. Implementations differ on whether the weights are computed once from a preliminary fit or iterated until convergence, and on the exact weight function, so results depend on the chosen implementation. The weight function and its tuning constant together determine how much any single observation can move the fit.
Formula
\hat{\beta}_{\tau}^{\text{rob}} = \arg\min_{\beta} \sum_{i=1}^{n} w_i \rho_{\tau}(y_i - x_i^{\top}\beta)Standard errors and confidence intervals are most often obtained by bootstrapping, which should repeat the weighting step within each resample so that the downweighting is reflected in the uncertainty. Sandwich-type variance estimators are available in some software, but they must account for the weighting step; standard quantile regression errors computed without that adjustment are not appropriate.
Common pitfalls
- Applying robust weights without diagnosing why observations are flagged. Downweighted points may carry genuine signal, such as a real high-income group, rather than being errors. Before treating them as contamination, compare the fit with and without the flagged observations and check whether they form a substantively meaningful subgroup.
- Fitting many quantile levels (for example τ from 0.1 to 0.9) without correcting for multiple comparisons, which can produce spurious patterns in the estimated quantile process.
- Confusing the weight-function tuning constant with the quantile level τ. They are separate parameters: τ sets which quantile is estimated, while the tuning constant sets how strongly observations are downweighted.
- Using asymptotic standard errors from standard quantile regression software without accounting for the weighting step, which yields invalid inference.
- Assuming the weighting protects against every kind of contamination. If the contamination is large or concentrated in a way the weight function does not detect, the estimates can still be seriously distorted.
- Ignoring quantile crossing. Fits at different quantile levels are estimated separately, so the fitted curves can cross. Crossing curves are inconsistent with a valid conditional distribution, so they signal misspecification or sparse data in that region. Check for crossing after fitting several τ values and investigate the cause before interpreting the estimates.
- Interpreting estimates at extreme quantiles from small samples. Estimates at τ near 0 or 1 rely on few observations in the tails, so their variability is large and the weighting can remove much of the remaining tail information. Check how many observations lie beyond the quantile of interest before interpreting the estimate.
Frequently asked questions
How does Robust Quantile Regression differ from standard quantile regression?
Standard quantile regression already limits the influence of outliers in the outcome variable, but it remains sensitive to high-leverage observations in the predictor space. Robust Quantile Regression adds observation weights that reduce the influence of such observations, which protects against both types of contamination at the cost of some efficiency.
Which τ quantile level should I choose?
Choose τ based on your research question. τ = 0.5 gives the conditional median, a central summary that is less sensitive to outliers than the mean. Values near 0 or 1 describe the tails of the distribution. In practice, fitting several quantile levels (for example 0.1, 0.25, 0.5, 0.75, 0.9) and plotting how the coefficients change across τ shows how predictor effects vary across the distribution.
How do I compute standard errors?
Bootstrap resampling is a common and practical approach. A pairs bootstrap, which resamples observation pairs, preserves the joint distribution of y and x, and the weighting step should be repeated within each resample. Sandwich-type robust variance estimators are available in some software but require care to account for the weighting step.
What is the breakdown point and how do I set it?
The breakdown point is the maximum fraction of contaminated observations the estimator can tolerate before its estimates can become arbitrarily wrong. Its value depends on the weight function and on how the procedure is implemented, so it has to be assessed for the specific procedure used rather than read from a general rule. In the Huber-type form described above, the tuning constant mainly trades off downweighting against efficiency: a smaller constant downweights more observations and gives up more information from clean data, while a larger constant keeps more of the data but offers less protection against contamination. No universal default is established for this method, so choose the constant for the data at hand and check the results with a sensitivity analysis across several values.
Can I use this method with categorical predictors?
Yes. Categorical predictors enter as dummy variables exactly as in standard quantile regression. The robust weighting applies to observations rather than to individual predictors, so including factor variables does not change the procedure.
Related methods
Sources
Koenker, R. (2005). Quantile Regression. Cambridge University Press.
ISBN: 978-0521608275Machado, J. A. F. (1993). Robust model selection and M-estimation. Econometric Theory, 9(3), 478–493.
Open DOI reference