IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v25y2025i2p407-437.html
   My bibliography  Save this article

Quantile control method: Causal inference with one treated unit via random forest

Author

Listed:
  • Guanpeng Yan

    (Shandong University of Finance and Economics)

  • Qiang Chen

    (Shandong University)

  • Zhijie Xiao

    (Boston College)

Abstract

The synthetic control and regression control methods are popular ap- proaches for estimating treatment effects in panel data with one treated unit but often rely on placebo tests for informal inference. Chen, Xiao, and Yao (Forth- coming, https: // doi.org / 10.1016 / j.jeconom.2024.105789) propose the quantile control method (QCM), which constructs confidence intervals for treatment ef- fects by estimating the 2.5% and 97.5% quantiles of the counterfactual outcomes through quantile regressions. In particular, a nonparametric ensemble machine learning method known as quantile random forest is used to implement quantile regressions. It is robust to heteroskedasticity, autocorrelation, and model misspec- ifications and easily accommodates high-dimensional data. Simulations showed that QCM confidence intervals enjoy excellent empirical coverage in finite samples. In this article, we introduce the qcm command, which easily implements QCM, and illustrate its use by revisiting the examples of the economic impact of German reunification on West Germany and the effect of carbon taxes on CO2 emissions in Sweden.

Suggested Citation

  • Guanpeng Yan & Qiang Chen & Zhijie Xiao, 2025. "Quantile control method: Causal inference with one treated unit via random forest," Stata Journal, StataCorp LLC, vol. 25(2), pages 407-437, June.
  • Handle: RePEc:tsj:stataj:v:25:y:2025:i:2:p:407-437
    DOI: 10.1177/1536867X251341181
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj25-2/st0777/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0777
    File Function: link to article purchase
    Download Restriction: no

    File URL: https://libkey.io/10.1177/1536867X251341181?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Corrections

    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:tsj:stataj:v:25:y:2025:i:2:p:407-437. See general information about how to correct material in RePEc.

    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 bibliographic 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.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

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

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.