Difference in Difference Analysis in Stata (17 and Lastest Versions)

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

The Data Hall

The Data Hall

Күн бұрын

In this video we discuss how to perform difference in difference analysis in Stata 17 and latest versions. In our previous video we used regress, diff, reghdfe commands for performing difference in difference. But in Stata 17 and in the latest versions a new set of commands were introduced specifically for difference in difference analysis i.e. didregress and xtdidregress. We can also do parallel trend assumption using estat ptrends and estat trendplots commands. We can check no anticipation assumption using estat granger command.
Download the Code and Data from following link:
payhip.com/b/vLRK5
00:00 Introduction to video
0:47 didregress
6:18 Different Standard errors with didregress
8:15 Parallel Trend Assumption
12:05 Grander Test
Website: thedatahall.com
As an Amazon Associate, I earn from qualifying purchases.

Пікірлер: 14
@thedatahall
@thedatahall 6 ай бұрын
Download the Code and Data from following link: payhip.com/b/vLRK5
@mdnahidferdouspabon7970
@mdnahidferdouspabon7970 7 ай бұрын
This is awesome! Extremely helpful! The stata help for didregress did not clarify that the variable 'procedure' is actually the interaction term. This video made my life easier!
@thedatahall
@thedatahall 7 ай бұрын
Glad it helped
@bancor1944
@bancor1944 5 ай бұрын
Thank you very very much. Awesome explanation. Cheers🙂
@thedatahall
@thedatahall 5 ай бұрын
Glad you liked it
@RaphyKF
@RaphyKF 3 ай бұрын
Thanks for the insight. How do you estimate parallel trends when using the xtdidregress command because estat ptrends will not work?
@bjkhan1860
@bjkhan1860 4 ай бұрын
Awesome explanation. I need to know about the before and after treatment variable. Kindly help me in this matter. my data is change that's why I am facing problem
@thedatahall
@thedatahall 4 ай бұрын
Please feel free to email me at info@thedatahall.com
@bjkhan1860
@bjkhan1860 4 ай бұрын
@@thedatahall I sent an email but you did not reply to my email. Please reply me
@bjkhan1860
@bjkhan1860 4 ай бұрын
@@thedatahallI have solved this but I am facing a problem when I run the command: didregress (AFB) (treatafter), group(id) time(agecheck) the error is incorrect group() specification group id must have fewer categories than observations in the estimation sample
@bjkhan1860
@bjkhan1860 4 ай бұрын
what will be the solution of this problem
@kebirismael1355
@kebirismael1355 3 ай бұрын
I coudn't download data please help me
@tanvirahmed4342
@tanvirahmed4342 6 ай бұрын
Can I get your dataset?
@thedatahall
@thedatahall 6 ай бұрын
Thanks for pointing it out. I have added it in the description
Causal Inference: A Simple Difference-in-Difference Model
26:38
Mike Jonas Econometrics
Рет қаралды 54 М.
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
Introduction to difference in differences in Stata 17
59:06
SDAS TechTips @sdas_anz
Рет қаралды 9 М.
Difference-in-Difference estimation in R
32:35
Ralf Becker
Рет қаралды 8 М.
Basic Difference-in-Differences Method (DID) | Estimation Methods | Stata Tutorials Topic 42
12:00
Dr. Bob Wen (Stata, Economics, Econometrics)
Рет қаралды 1,4 М.
Causality: Difference-in-Differences
11:10
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 9 М.
Econometrics - Difference in Differences
16:29
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 12 М.
Rolling Estimation Methods for Staggered Difference-in-Differences
1:00:44
SDAS TechTips @sdas_anz
Рет қаралды 6 М.
Difference-in-differences methods
16:18
Mikko Rönkkö
Рет қаралды 42 М.
Lecture 11   Propensity Score Matching
1:34:51
Richard Gallenstein
Рет қаралды 29 М.