arXiv · 2109.05913
{did2s}: Two-Stage Difference-in-Differences
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.
Explore related subjects
Keep this discovery
Kyle Butts, John Gardner. 2021-09-10. {did2s}: Two-Stage Difference-in-Differences. https://doi.org/10.32614/rj-2022-048
Cite the original work for its findings. Save a collection to share your selection of sources.