References & Citations
Economics > Econometrics
Title: {did2s}: Two-Stage Difference-in-Differences
(Submitted on 10 Sep 2021 (v1), last revised 20 May 2022 (this version, v2))
Abstract: Recent work has highlighted the difficulties of estimating difference-in-differences models when treatment timing occurs at different times for different units. This article introduces the R package did2s which implements the estimator introduced in Gardner (2021). The article provides an approachable review of the underlying econometric theory and introduces the syntax for the function did2s. Further, the package introduces a function, event_study, that provides a common syntax for all the modern event-study estimators and plot_event_study to plot the results of each estimator.
Submission history
From: Kyle Butts [view email][v1] Fri, 10 Sep 2021 16:15:41 GMT (47kb,D)
[v2] Fri, 20 May 2022 16:29:27 GMT (66kb,D)
Link back to: arXiv, form interface, contact.