xtevent: Estimation and visualization in the linear panel event-study designJournal: Stata Journal
Simon Freyaldenhoven,
Christian Hansen,
Jorge Pérez Pérez,
Jesse Shapiro and
Constantino Carreto ()
Additional contact information
Constantino Carreto: Banco de México
Stata Journal, 2025, vol. 25, issue 1, 97-135
Abstract:
Linear panel models and the “event-study plots” that often accompany them are popular tools for learning about policy effects. We introduce the xtevent package, which enables the construction of event-study plots following the suggestions in Freyaldenhoven et al. (Forthcoming, Visualization, identifica- tion, and estimation in the linear panel event-study design [Cambridge University Press]). The package implements various procedures to estimate the underlying policy effects and allows for nonbinary policy variables and estimation adjusting for preevent trends.
Keywords: xtevent; xteventplot; xteventtest; get_unit_time_effects; lin- ear panel-data models; two-way fixed-effects regression; pretrends; event study (search for similar items in EconPapers)
Date: 2025
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj25-1/st0767/
References: Add references at CitEc
Citations:
Downloads: (external link)
http://hdl.handle.net/10.1177/1536867X251322964
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:tsj:stataj:v:25:y:2025:i:1:p:97-135
Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html
DOI: 10.1177/1536867X251322964
Access Statistics for this article
Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins
More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().