- Introduced by
- Roger Koenker and colleagues
- Year
- 2004
- Type
- Distribution regression
- Family
- Robust regression
What does it do?
Method of Moments Quantile Regression estimates conditional quantile relationships by imposing moment conditions, so that instrumental variables and panel structure can be used alongside quantile-specific slopes.
The estimator is defined separately for each quantile level tau, which describes how an effect varies across the conditional distribution rather than only at the mean. It is typically considered when regressors are endogenous and valid instruments are available.
The intuition behind the method
Standard quantile regression assumes that the regressors are exogenous with respect to the conditional quantile. Many real datasets violate this, for example through simultaneity, measurement error, or unobserved confounders. Moment-based (GMM-type) estimation handles this by requiring that instruments are orthogonal to the quantile score, which is the same logic used in instrumental-variable regression. Combining the two lets the analyst estimate how a relationship differs across quantiles while using instruments for the endogenous variables.
History
The sources supplied for this page do not identify a single originating paper for the moment-based (instrumental) quantile estimator, so no origin or lineage is claimed here. Koenker (2004) is a related contribution: it proposes l1-regularized quantile regression for longitudinal data with many fixed effects, which addresses panel heterogeneity but does not itself treat instrumental-variable or moment-based estimation. Machado and Mata (2005) is a study of wage heterogeneity across quantiles and is relevant as an example of quantile-based distributional analysis, not as a source for the estimator. Readers who need the formal theory of instrumental or moment-based quantile estimation should consult the primary econometric literature on that topic directly.
When to use it
Choose this method when the question concerns effects that may differ across the conditional distribution (for example, at low versus high quantiles of an outcome), the regressors are endogenous, and you have instruments that are plausibly excluded from the outcome equation. It is suited to panel settings with lagged outcomes only when instruments for those lags are available. Do not use it when no credible instruments exist, since the moment conditions then cannot identify the parameters, and do not use it when exogenous regressors make standard quantile regression adequate. If the question concerns only the conditional mean, or the sample is too small to estimate several quantile-specific parameters reliably, a simpler model is preferable.
Limitations and considerations
- The sample moment conditions are non-smooth in the parameters, which makes optimization harder than in standard GMM and can produce sensitivity to starting values.
- Precision is limited at extreme quantiles, where fewer observations lie near the estimated conditional quantile, so standard errors can be large.
- Instrument choice determines identification and usually rests on economic argument, since the overidentification test checks only the consistency of the moments and cannot confirm exclusion restrictions by itself.
- Each quantile is estimated separately, so the estimated quantile curves need not be monotone or non-crossing.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Allows instruments to be used at each quantile, so the endogeneity correction is applied to the quantile-specific slope rather than to the mean.
- Produces a separate coefficient profile across quantile levels, making it possible to compare, for example, the slope at a low quantile with the slope at a high quantile.
- The moment-condition framework can accommodate lagged dependent variables in panel data, provided that valid instruments are available for them.
Applications
- Labor economics: comparing the association between schooling and wages across wage quantiles when schooling may be endogenous (an illustrative setting, not a prescribed design)
- Development economics: examining how a program affects the outcome distribution when program participation may be endogenous
- Health economics: studying heterogeneity in treatment associations across outcome quantiles when selection into treatment is a concern
- Finance: examining how the effect of risk factors differs across the conditional return distribution when regressors are measured with error or are simultaneously determined
How it works
How it works
Define the quantile score psi(u) = tau - 1(u < 0), and state the moment conditions E[psi(Y - X*beta[tau]) * Z] = 0, where beta[tau] is the parameter vector at quantile tau and Z are instruments. Identification requires two conditions: relevance (the instruments are correlated with the endogenous elements of X, so that the moment conditions identify beta[tau]; this is the rank-type condition) and exclusion (the instruments affect Y only through X). Relevance can be assessed empirically; exclusion generally cannot be tested and must be argued on substantive grounds. In panel data, individual effects must be handled explicitly, for example by including them as parameters with regularization (as in Koenker, 2004) or by using instruments and moment conditions designed to be valid in the presence of such effects. The appropriate choice depends on the model and on the available instruments.
Choose beta[tau] so that the sample analogue of the moment conditions is as close to zero as possible, typically by minimizing a quadratic form in those sample moments with a weighting matrix. Because the quantile score is discontinuous in beta, the objective is non-smooth and may have several local minima, so the optimization requires care, such as several starting values or a grid search.
The analytical (sandwich-type) variance depends on the density of the errors near zero, which must itself be estimated, and on the instrument-based moments, so its accuracy is sensitive to implementation and bandwidth choices. Treat bootstrap standard errors as the default check and compare them with any analytical or default software output before relying on it.
Test the overidentifying restrictions when there are more moment conditions than parameters, and check instrument strength in the first stage. Then compare estimates across quantiles and check whether the estimated quantile curves cross, since each quantile is estimated separately.
Common pitfalls
- Weak instruments can bias quantile-specific estimates substantially, so first-stage strength should be checked before interpreting any quantile coefficient.
- Quantile coefficients estimated this way are not causal effects unless the instruments are valid; a statistically significant overidentification test does not establish validity on its own.
- Adding moment conditions in a finite sample can increase variance and bias, even though more moments can improve asymptotic efficiency when the specification is correct.
- Reporting estimates at quantiles where the estimated curves cross can produce misleading conclusions about heterogeneity, so crossing should be checked before interpreting differences across quantiles.
Frequently asked questions
How do I choose instruments in quantile GMM?
Instruments should be uncorrelated with the quantile score at the true parameter value and correlated with the endogenous regressors. Relevance is assessed through first-stage strength, but no established threshold is available for quantile moments, and the usual linear-regression rules of thumb may not transfer, so report first-stage evidence and run sensitivity analyses rather than relying on a single cutoff. Validity (exclusion) requires economic reasoning about the outcome process, not only a statistical test.
Related methods
Sources
Koenker, R. (2004). Quantile regression for longitudinal data. Journal of Multivariate Analysis, 91(1), 74-89.
Open DOI referenceMachado, J. A., & Mata, J. (2005). Low wage workers and the wage Kuznets curve: Heterogeneity across quantiles. International Journal of Manpower, 26(7-8), 694-712.
Open publication reference