asjadnaqvi / DiD

Keeping track of what is going on with the latest DiD innovations.
https://asjadnaqvi.github.io/DiD
MIT License
436 stars 154 forks source link

Meta-command to rule them all #12

Open statzhero opened 1 year ago

statzhero commented 1 year ago

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.

grantmcdermott commented 1 year ago

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

kylebutts commented 1 year ago

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