EconPapers    
Economics at your fingertips  
 

xtevent: Estimation and Visualization in the Linear Panel Event-Study Design

Constantino Carreto (), Simon Freyaldenhoven, Christian Hansen, Jorge Pérez Pérez and Jesse Shapiro

No 24-15, Working Papers from Federal Reserve Bank of Philadelphia

Abstract: Linear panel models and the “event-study plots” that often accompany them are popular tools for learning about policy effects. We introduce the Stata package xtevent, which enables the construction of event-study plots following the suggestions in Freyaldenhoven et al. (Forthcoming). The package implements various procedures to estimate the underlying policy effects and allows for nonbinary policy variables and estimation adjusting for pre-event trends.

Keywords: xtevent; xteventplot; xteventtest; get unit time effects; linear panel data models; two-way fixed effects regression; pre-trends; event study (search for similar items in EconPapers)
JEL-codes: C87 (search for similar items in EconPapers)
Pages: 43
Date: 2024-08-14
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
https://www.philadelphiafed.org/-/media/frbp/asset ... ers/2024/wp24-15.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:fip:fedpwp:98677

Ordering information: This working paper can be ordered from

DOI: 10.21799/frbp.wp.2024.15

Access Statistics for this paper

More papers in Working Papers from Federal Reserve Bank of Philadelphia Contact information at EDIRC.
Bibliographic data for series maintained by Beth Paul ().

 
Page updated 2025-03-31
Handle: RePEc:fip:fedpwp:98677