DiD icon indicating copy to clipboard operation
DiD copied to clipboard

Meta-command to rule them all

Open statzhero opened this issue 2 years ago • 2 comments

This is a questions for R, that is @grantmcdermott: is there already a package that gives you an interface to run all the different estimators? Seems like the logical next step.

I believe there's something similar for mixed models, but I forgot its name.

statzhero avatar Oct 25 '22 13:10 statzhero

The did2s package has two complementary functions that get you pretty close: event_study and plot_event_study https://rdrr.io/cran/did2s/man/event_study.html

Pretty close, as in it gives you six of the most popular estimators (e g., CS20, SA21), though not all (e.g. dCDH20). My plan is to include it, but I'm waiting on @kylebutts to merge a PR b/c the BJS21 imputation estimator currently fails on this dataset due a minor internal bug. https://github.com/kylebutts/didimputation/pull/9

grantmcdermott avatar Oct 28 '22 20:10 grantmcdermott

@grantmcdermott Been planning on fixing all the things you flagged, but for now I pushed your PR so as to not be blocking!

kylebutts avatar Oct 29 '22 16:10 kylebutts