Difference-in-Difference estimation in R
Vložit
- čas přidán 4. 09. 2024
- Here we implement the Two-way fixed effects model and an events study type approach. Note that in the example here we do not have any staggered policy implementation and we assume that there are no heterogenous policy effects (for units) but do allow the policy to have time-varying effects (in the event study approach).
Implementation is in R / RStudio
Code available from:
github.com/dat...
Data file available from:
github.com/dat...
Please how do you treat the dataset when the panel dataset is unbalanced
I also have an unbalanced dataset and I'm under the impression that is doesn't really matter as long as you have enough observations.
Thanks for the clear (and very helpful) explanation! Would you mind indicating in which literature (if any) we can find the terms 'restricted' and 'unrestricted' as you referred to the models? Thanx again!
Great explanation, thank you so much. Did you use logy as the dependent variable to, then, be able to estimate odds ratios from the coefficients?
Ralf, thank you for this video, it's amazing. Can you recommend a paper to read (and cite) on this models?
thank you! It's clear and pretty much helpful to me!
You're welcome!
Thanks!!! Could you indicate a paper that uses the model (U)?
This video is very great, you are very pedagogical but I would like to watch more of your videos, however the content is really dense. Wouldn't it be possible to update your playlist ? Thank you very much
Thanks!
Thanks! I just want you to know that the data file is not working. Can you please share the data again? Thanks!
the link has been fixed now. Thanks for pointing this out.
Thanks, ❤
I couldnot find the dataset
the link has been fixed now. Thanks for pointing this out.