Difference-in-Difference estimation in R

Sdílet
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...

Komentáře • 15

  • @ROYTECHGAMES
    @ROYTECHGAMES Před rokem +2

    Please how do you treat the dataset when the panel dataset is unbalanced

    • @rexhallow3948
      @rexhallow3948 Před 5 měsíci

      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.

  • @guilhermedeassiscolossal7976

    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!

  • @HernanO
    @HernanO Před 4 měsíci

    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?

  • @laurarolda1982
    @laurarolda1982 Před měsícem

    Ralf, thank you for this video, it's amazing. Can you recommend a paper to read (and cite) on this models?

  • @fqnz
    @fqnz Před rokem

    thank you! It's clear and pretty much helpful to me!

  • @JoseAntonio-lx5uw
    @JoseAntonio-lx5uw Před 2 měsíci

    Thanks!!! Could you indicate a paper that uses the model (U)?

  • @gronedure2245
    @gronedure2245 Před rokem

    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

  • @jose8564
    @jose8564 Před 5 měsíci

    Thanks!

  • @danshea204
    @danshea204 Před 5 měsíci

    Thanks! I just want you to know that the data file is not working. Can you please share the data again? Thanks!

    • @RalfBecker
      @RalfBecker  Před 4 měsíci

      the link has been fixed now. Thanks for pointing this out.

  • @mariaalexandralalaleopullu4129

    Thanks, ❤

  • @user-yk7iu3nt1t
    @user-yk7iu3nt1t Před 9 měsíci

    I couldnot find the dataset

    • @RalfBecker
      @RalfBecker  Před 4 měsíci

      the link has been fixed now. Thanks for pointing this out.