Difference-in-Difference estimation in R

Опубликовано: 15 Август 2026
на канале: Ralf Becker
13,790
196

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:
https://github.com/datasquad/RforQM/b...

Data file available from:
https://github.com/datasquad/RforQM/b...