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

Estimation of pre- and posttreatment average treatment effects with binary time-varying treatment using Stata

Author

Listed:
  • Giovanni Cerulli

    (National Research Council of Italy)

  • Marco Ventura

    (Sapienza University of Rome)

Abstract

In this article, we describe tvdiff, a community-contributed command that implements a generalization of the difference-in-differences estimator to the case of binary time-varying treatment with pre- and postintervention peri- ods. tvdiff is flexible and can accommodate many actual situations, enabling the user to specify the number of pre- and postintervention periods and a graphical representation of the estimated coefficients. In addition, tvdiff provides two dis- tinct tests for the necessary condition of the identification of causal effects, namely, two tests for the so-called parallel-trend assumption. tvdiff is intended to sim- plify applied works on program evaluation and causal inference when longitudinal data are available.

Suggested Citation

  • Giovanni Cerulli & Marco Ventura, 2019. "Estimation of pre- and posttreatment average treatment effects with binary time-varying treatment using Stata," Stata Journal, StataCorp LP, vol. 19(3), pages 551-565, September.
  • Handle: RePEc:tsj:stataj:v:19:y:2019:i:3:p:551-565
    DOI: 10.1177/1536867X19874224
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj19-3/st0566/
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1177/1536867X19874224?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:19:y:2019:i:3:p:551-565. 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.