Difference-in-Difference estimation in R

  Рет қаралды 7,956

Ralf Becker

Ralf Becker

Жыл бұрын

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/datasquad/RforQM/b...
Data file available from:
github.com/datasquad/RforQM/b...

Пікірлер: 15
@fqnz
@fqnz Жыл бұрын
thank you! It's clear and pretty much helpful to me!
@RalfBecker
@RalfBecker Жыл бұрын
You're welcome!
@laurarolda1982
@laurarolda1982 4 күн бұрын
Ralf, thank you for this video, it's amazing. Can you recommend a paper to read (and cite) on this models?
@mariaalexandralalaleopullu4129
@mariaalexandralalaleopullu4129 11 ай бұрын
Thanks, ❤
@jose8564
@jose8564 3 ай бұрын
Thanks!
@guilhermedeassiscolossal7976
@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 2 ай бұрын
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?
@gronedure2245
@gronedure2245 Жыл бұрын
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
@JoseAntonio-lx5uw
@JoseAntonio-lx5uw Ай бұрын
Thanks!!! Could you indicate a paper that uses the model (U)?
@ROYTECHGAMES
@ROYTECHGAMES Жыл бұрын
Please how do you treat the dataset when the panel dataset is unbalanced
@rexhallow3948
@rexhallow3948 3 ай бұрын
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.
@danshea204
@danshea204 3 ай бұрын
Thanks! I just want you to know that the data file is not working. Can you please share the data again? Thanks!
@RalfBecker
@RalfBecker 2 ай бұрын
the link has been fixed now. Thanks for pointing this out.
@user-yk7iu3nt1t
@user-yk7iu3nt1t 7 ай бұрын
I couldnot find the dataset
@RalfBecker
@RalfBecker 2 ай бұрын
the link has been fixed now. Thanks for pointing this out.
Introduction to difference in differences in Stata 17
59:06
SDAS TechTips @sdas_anz
Рет қаралды 10 М.
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 36 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 24 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 9 МЛН
Rolling Estimation Methods for Staggered Difference-in-Differences
1:00:44
SDAS TechTips @sdas_anz
Рет қаралды 6 М.
Econometrics - Difference in Differences
16:29
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 13 М.
Time Series Forecasting Example in RStudio
37:53
Adam Check
Рет қаралды 140 М.
Panel Data Models
1:03:56
econometricsacademy
Рет қаралды 46 М.
Lecture 14   Difference in Differences
1:20:35
Richard Gallenstein
Рет қаралды 20 М.
Difference-in-Differences Model
1:07:49
Gumilang Aryo Sahadewo
Рет қаралды 14 М.
Causal Inference: A Simple Difference-in-Difference Model
26:38
Mike Jonas Econometrics
Рет қаралды 55 М.
Difference-in-differences methods
16:18
Mikko Rönkkö
Рет қаралды 42 М.
Panel Data (Fixed Effects, Random Effects) - R for Economists Moderate 9
13:06
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 45 М.
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 36 МЛН