EconPapers    
Economics at your fingertips  
 

Policy Effect Estimation and Visualization in Linear Panel Event-Study Designs: Introducing the xtevent Package

Simon Freyaldenhoven, Christian B. Hansen, Jorge Pérez Pérez, Jesse Shapiro and Constantino Carreto

No 2024-09, Working Papers from Banco de México

Abstract: Linear panel models and the "event-study plots" that often accompany them are popular tools for learning about policy effects. In this paper, we introduce the "xtevent" package for Stata, which enables the construction of event-study plots following the suggestions in Freyaldenhoven et al. (forthcoming). The package implements various procedures to estimate the policy effects that underlie the plots, and allows for non-binary policy variables and estimation adjusting for pre-event trends.

Keywords: Xtevent; linear panel data models; two-way fixed effects regression; pre-trends; event study (search for similar items in EconPapers)
JEL-codes: C23 C53 C87 (search for similar items in EconPapers)
Date: 2024-08
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
https://www.banxico.org.mx/publications-and-press/ ... -80F5056E5950%7D.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:bdm:wpaper:2024-09

Access Statistics for this paper

More papers in Working Papers from Banco de México Contact information at EDIRC.
Bibliographic data for series maintained by Subgerencia de desarrollo de sistemas ().

 
Page updated 2025-04-08
Handle: RePEc:bdm:wpaper:2024-09