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

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

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 7 ай бұрын
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 7 ай бұрын
Can I get your dataset?
@thedatahall
@thedatahall 7 ай бұрын
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
Рет қаралды 55 М.
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 14 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 104 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 45 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 23 МЛН
Multiple regression using dummy coding in Stata (June 2022)
36:38
Mike Crowson
Рет қаралды 21 М.
Rolling Estimation Methods for Staggered Difference-in-Differences
1:00:44
SDAS TechTips @sdas_anz
Рет қаралды 6 М.
Introduction to difference in differences in Stata 17
59:06
SDAS TechTips @sdas_anz
Рет қаралды 10 М.
Difference-in-Difference estimation in R
32:35
Ralf Becker
Рет қаралды 8 М.
Difference-in-differences methods
16:18
Mikko Rönkkö
Рет қаралды 42 М.
Propensity Score Matching: A Practical Tutorial
46:12
BERD Education
Рет қаралды 62 М.
Econometrics - Difference in Differences
16:29
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 12 М.
Meta-analysis in Stata
9:58
StataCorp LLC
Рет қаралды 99 М.
Causality: Difference-in-Differences
11:10
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 9 М.
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 14 МЛН