nilshg / SynthControl.jl

Synthetic control methods in Julia
MIT License
34 stars 4 forks source link

Diff in Diffs #14

Open azev77 opened 3 years ago

azev77 commented 3 years ago

I coded the classic Diff in Diffs (two way Fixed Effect) outcome model, which is a special case of Synthetic Controls.

I just discovered @junyuan-chen's new package DiffinDiffs.jl which has a few of the latest DiD techniques. Maybe, if there is interest, at some point there can be an opportunity to join forces? Maybe create an umbrella organization? (ProgramEvaluation.jl?)

azev77 commented 3 years ago

It may be worth comparing SCM w/ the new generation of Diff-in-Diffs estimators. @vincentarelbundock compares TWFE/Callaway & Sant'Anna/IFE/Matrix Completion in a blog post. image

The author has a disclaimer that he's not comparing the performance of alternative estimation strategies ...

vincentarelbundock commented 3 years ago

That would be interesting. The disclaimer in myblog post is because I don't actually think that the factor structure in the DGP satisfies the Callaway & Sant'Anna assumptions. Baker et al (2021) has a different simulation where C&SA works better:

https://andrewcbaker.netlify.app/

Here's a stripped down version of that simulation that I coded up data.table, but the full code is on Baker's website:

http://arelbundock.com/baker.html

azev77 commented 3 years ago

Reminder for self: here is a link to @andrewchbaker's DiD codes for "How Much Should We Trust Staggered Difference-in-Differences Estimates?"

azev77 commented 3 years ago

Also @borusyak's https://github.com/borusyak/did_imputation compares 5 event study estimators in a simulated panel:

Also:

azev77 commented 3 years ago

@kylebutts has did2s (R/STATA) w/:

azev77 commented 3 years ago