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 periods. 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 distinct 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 simplify applied works on program evaluation and causal inference when longitudinal data are available.

Estimation of pre- and posttreatment average treatment effects with binary time-varying treatment using Stata / Cerulli, Giovanni; Ventura, Marco. - In: THE STATA JOURNAL. - ISSN 1536-867X. - 19:3(2019), pp. 551-564. [10.1177/1536867X19874224]

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

Cerulli Giovanni
Co-primo
Software
;
Ventura Marco
Co-primo
Methodology
2019

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 periods. 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 distinct 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 simplify applied works on program evaluation and causal inference when longitudinal data are available.
2019
st0566; tvdiff; treatment effects; difference-in-differences
01 Pubblicazione su rivista::01a Articolo in rivista
Estimation of pre- and posttreatment average treatment effects with binary time-varying treatment using Stata / Cerulli, Giovanni; Ventura, Marco. - In: THE STATA JOURNAL. - ISSN 1536-867X. - 19:3(2019), pp. 551-564. [10.1177/1536867X19874224]
File allegati a questo prodotto
File Dimensione Formato  
Ventura_Estimation_2019.pdf

solo gestori archivio

Tipologia: Documento in Post-print (versione successiva alla peer review e accettata per la pubblicazione)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 723.74 kB
Formato Adobe PDF
723.74 kB Adobe PDF   Contatta l'autore

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1448176
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 41
  • ???jsp.display-item.citation.isi??? 37
social impact