Pedro H.C. Sant'Anna "Difference-in-Differences with Multiple Time Periods"

  Рет қаралды 27,168

Taylor Wright

Taylor Wright

3 жыл бұрын

DiD Reading Group Meeting #3 from May 14, 2021 (taylorjwright.github.io/did-r....
Pedro H.C. Sant'Anna presents his paper "Difference-in-Differences with Multiple Time Periods" (with Brantly Callaway) (pedrohcgs.github.io/files/Cal....
Slides can be found here: pedrohcgs.github.io/files/Cal...
Example code using did in R:

Пікірлер: 20
@wenjieli8514
@wenjieli8514 2 жыл бұрын
Extremely useful! It is such a pleasure to enjoy those viedos. Thanks a lot for the work.
@cheriseregier4729
@cheriseregier4729 Жыл бұрын
This was such a helpful video; Pedro is so clear!
@cheriseregier4729
@cheriseregier4729 Жыл бұрын
Two quick questions: 1. If I am filtering my sample population to better capture the target demographic of the policy that I am evaluating, is this considered conditioning the parallel trends assumption on a set of pre-treatment covariates? 2. I am a bit confused about post-treatment parallel trends. If one of my treatment groups is negatively impacted by the policy, whereas the rest are positively impacted, is this a volition of this assumption?
@hwei9502
@hwei9502 2 жыл бұрын
Thank you for uploading this great video!
@taylorwright3880
@taylorwright3880 2 жыл бұрын
Thanks for watching, glad you found it useful!
@begumozdemiroluk865
@begumozdemiroluk865 Ай бұрын
Thank you for this helpful video!
@petraszepesi106
@petraszepesi106 2 жыл бұрын
Hello, thank you for the video. I've been trying to replicate this methodology but I'm having issues with defining the gvar and get an error message when I run the code. I currently have a dummy for that variable, indicating when a treatment was implemented. Instead of having a value of 1 or 0 for when the treatment was implemented, how should my variable be coded in my dataset? I would really appreciate any advice! Thank you so much!
@gesteira_pedro
@gesteira_pedro Жыл бұрын
Hi Petra, hope you solved your issue. If not, the group variable is an id for assign each entry to a group, it isn't a dummy. For example: Say i have 100 entries, each entry is a individual. The first 50 represents the group that's treated in 2004. The last 50 represents the group that's treated in 2005. In this case, we would have two groups: group 1, all the entries that's treated in 2004 and group 2, all the entries that's treated in 2005. Hope it could help you or anyone with the same issue.
@robinkim5685
@robinkim5685 2 жыл бұрын
How does he have ATT on g-1 time period when g-1 is the base period that he compares to?
@mafe3006
@mafe3006 2 жыл бұрын
This is extremely useful. Do you have the link for the example code using did in R?
@taylorwright3880
@taylorwright3880 2 жыл бұрын
It's been a little while since I looked at it, but I believe the code I had used can be found here: github.com/taylorjwright/did_reading_group/blob/main/callaway_santanna/callaway_santanna_castle.R You can also see some examples from Pedro and Brant in their vignette: bcallaway11.github.io/did/articles/did-basics.html#other-features-of-the-did-package
@mafe3006
@mafe3006 2 жыл бұрын
@@taylorwright3880 Thank you so much! your answer was so fast! :)
@JasmineAllyson
@JasmineAllyson 2 жыл бұрын
@@taylorwright3880 Hi, the code doesn't work at line 76-80. The error is Error in pre_process_did(yname = yname, tname = tname, idname = idname, : data[, tname] must be numeric
@taylorwright3880
@taylorwright3880 2 жыл бұрын
@@JasmineAllyson Thanks for letting me know, I'll look into that and see what's going on!
@sgeorg80
@sgeorg80 9 ай бұрын
👍
@JMRG2992
@JMRG2992 Жыл бұрын
Thank you for this. However, I must appoint that the estimator does fail when we have a common year for the treatment intervention for all treated units. Secondly, the explanation of how to define gvar is really poor in both the code and the video
@stephenclark9917
@stephenclark9917 2 жыл бұрын
Thanks for this presentation - it complements well your paper. I have one question, does the 'not yet treated' group include cases that are 'never treated'? Also, a slight typo on slide 20, missing a '['.
@dr.kingschultz
@dr.kingschultz 2 жыл бұрын
AS far as I can tell you should dived them up and yes they can be part of the group
@annh2022
@annh2022 6 ай бұрын
hey @Taylor Wirght, where can we find the example code? it dissapeared from the video description
@user-iw7cf3os8v
@user-iw7cf3os8v 5 ай бұрын
What is a propensity score... I am lost from there
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 21 МЛН
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 54 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 10 МЛН
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 18 МЛН
Susan Athey: Synthetic Difference in Differences
1:07:09
Online Causal Inference Seminar
Рет қаралды 15 М.
Jonathan Roth "Testing and Sensitivity Analysis for Parallel Trends"
1:32:28
Introduction to difference in differences in Stata 17
59:06
SDAS TechTips @sdas_anz
Рет қаралды 10 М.
Difference in difference analysis using python
20:24
Hans Olav Melberg
Рет қаралды 10 М.
Dynamic Difference-in-Differences (The Effect, Videos on Causality, Ep 55)
10:28
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 6 М.
Lecture 14   Difference in Differences
1:20:35
Richard Gallenstein
Рет қаралды 20 М.
How Much Should We Trust Staggered Difference-in-Differences Estimates?
1:17:01
Financial Management Association International
Рет қаралды 6 М.
Econometrics - Difference in Differences
16:29
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 13 М.
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 21 МЛН