Faculty and Student Publications
Document Type
Article
Publication Date
1-1-2022
Abstract
Recent work has highlighted the difficulties of estimating difference-in-differences models when the treatment is adopted at different times for different units. This article introduces the R package did2s which implements the estimator introduced in Gardner (2022). The article provides an approachable review of the underlying econometric theory and introduces the syntax for the function did2s. Further, the package introduces functions, event_study and plot_event_study, which uses a common syntax to implement all of the modern event-study estimators
Relational Format
journal article
Recommended Citation
Butts, K., & Gardner, J. (2022). Did2s: Two-stage difference-in-differences. The R Journal, 14(3), 162–173. https://doi.org/10.32614/RJ-2022-048
DOI
10.32614/RJ-2022-048
Accessibility Status
Searchable text