kylebutts / did2s

Two-stage Difference-in-Differences package following Gardner (2021)
http://kylebutts.github.io/did2s
Other
96 stars 22 forks source link

Update event_study.R #8

Closed frederickluser closed 3 years ago

frederickluser commented 3 years ago

I added time and ID fixed effects to the Sun estimator. I suppose that's what you have in mind, right?

kylebutts commented 3 years ago

I understand the confusion, but sunab creates unit and time fixed effects automatically: https://lrberge.github.io/fixest/articles/fixest_walkthrough.html#interactions-that-don-t-involve-fixed-effects