IDEAS home Printed from
   My bibliography  Save this paper

Generalized Quantile Regression in Stata


  • David Powell

    () (RAND)

  • Matthew Baker

    (Hunter College
    Graduate Center, CUNY)

  • Travis Smith

    (University of Georgia)


Quantile regression techniques are useful in understanding the relationship between explanatory variables and the conditional distribution of the outcome variable, allowing the parameters of interest to vary based on a nonseparable disturbance term. Additional covariates may be necessary (or simply desirable) for identification but including additional variables into a conditional quantile model separates the disturbance term, altering the underlying structural model. To address this problem, Powell (2013) introduces the Generalized Quantile Regression (GQR) estimator, which provides the impact of the treatment variables on the outcome distribution, and allows for conditioning on control variables without altering the interpretation of the estimates. Quantile regression and instrumental variable quantile regression are special cases of GQR, but GQR allows for more flexible estimation of quantile treatment effects. The estimator is easily extended to include instrumental variables and panel data. We introduce a stata command – gqr – that implements a GMM-based GQR estimator. User specified options for the command include the usual panel data options, and also allows the user to control for endogeneity in explanatory variables through the use of instruments. The command allows users a variety of different means for characterizing standard errors of estimated parameters, including both direct methods and Markov-chain-Monte Carlo simulation.

Suggested Citation

  • David Powell & Matthew Baker & Travis Smith, 2014. "Generalized Quantile Regression in Stata," 2014 Stata Conference 12, Stata Users Group.
  • Handle: RePEc:boc:scon14:12

    Download full text from publisher

    File URL:
    Download Restriction: no

    More about this item


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:scon14:12. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum). General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.