Quantile regression models a chosen conditional quantile (default median) rather than the mean. Robust to outliers and informative under heteroscedasticity.
Quantile regression generalises OLS by minimising the asymmetric check function ρ_τ(u) = u·(τ − I(u < 0)) instead of squared residuals. The result is the conditional τth quantile of Y as a linear function of X. τ = 0.5 ⇒ median regression (LAD); τ = 0.1 / 0.9 ⇒ tail behaviour.
Two advantages over OLS: robust to outliers in y (the check function is bounded-derivative), and informative under heteroscedasticity (different τ give different slopes when the conditional distribution's shape changes with X).
Different from robust OLS (M-estimators): quantile regression specifically targets a conditional quantile, not just downweighting outliers around a conditional mean. Both have outlier-robust properties; QR has the additional benefit of letting you sweep τ to see how the relationship changes across the distribution.
Response + predictors + intercept toggle + quantile τ + SE method (rank-inversion / iid / nid / bootstrap / kernel).
β + SE / t / p (when available) + 95% CI per coefficient + Koenker-Machado pseudo-R¹.
Slopes can vary across τ — significant difference indicates location-shift isn't the whole story; the conditional distribution's shape is changing with the predictor.