Basic Difference-in-Differences Method (DID) | Estimation Methods | Stata Tutorials Topic 42

  Рет қаралды 1,553

Dr. Bob Wen (Stata, Economics, Econometrics)

Dr. Bob Wen (Stata, Economics, Econometrics)

4 ай бұрын

Stata Tutorials Topic 42: Basic Difference-in-Differences Method (DID) | Regression Analysis and Estimation Methods Using Stata
Hi, I am Bob. Today, we will discuss a popular identification strategy in evaluating policy effects. It is the difference-in-differences method. We use this technique to investigate whether a policy or a treatment has a significant causal effect on the outcome variable.
Please download the DID.dta dataset:
drive.google.com/file/d/1uKZF...
#Stata #DID #tutorial #DifferenceinDifferences #tabulate #regress #interactionterm #RegressionAnalysisandEstimationMethods #OLS #treatment #controlgroup #treatmentgroup #tutorial
The Stata commands in this video:
*DID using "tabulate"
tabulate treatment after, summarize(divorced) nofreq nost
display .16188525- .1064257
display .10526316- .06951027
display .05545955- .03575289
*DID using "regress"
regress divorced i.treatment##i.after
*DID with additional controls
regress divorced i.treatment##i.after fam_inc num_chi
【Some Free Courses on My KZbin Channel】
Economics in Real Life:
• Economics in Real Life
Solutions to Introductory Econometrics A Modern Approach 7th Edition:
• Solutions to Introduct...
Solutions to Microeconomics Theory and Applications with Calculus:
• Solutions to Microecon...
Introductory Stata:
• Introductory Stata (2022)
Introductory Microeconomics:
• Introductory Microecon...
Five Minute Econometrics:
• Five Minute Econometri...
Five Minute Stata:
• Stata Tutorials
【國語Mandarin】現實生活中的經濟學:
• 【Mandarin國語】現實生活中的經濟學
【粵語Cantonese】現實生活中的經濟學:
• 【Cantonese粵語】現實生活中的經濟學
【粵語Cantonese】微觀經濟學基礎:
• 粵語Cantonese微觀經濟學基礎2022
【國語Mandarin】五分鐘計量經濟學:
• 【Mandarin國語】五分鐘計量經濟學(計...
【粵語Cantonese】五分鐘計量經濟學:
• 【Cantonese粵語】五分鐘計量經濟學(...
On the Road:
• On the Road
【Become a Supporter of the channel ($2.99) to get PDF transcripts for】
1. Solutions to Microeconomics Theory and Applications with Calculus 5th Edition,
2. Solutions to Introductory Econometrics A Modern Approach 7th Edition,
3. Introductory Stata (2022),
4. Introductory Microeconomics (2022), and
5. Introductory Stata: Summary Statistics and Data Management
/ @bobwenecon

Пікірлер: 10
@yangyijane
@yangyijane 4 ай бұрын
thank you. look forward to the staggered one tutorial.
@bihuyen3225
@bihuyen3225 2 ай бұрын
Thank you so much for your video Dr. Bob. About the DID regression result you mentioned on the video, I have a small question is that since Treatment#After's P>|t| = 0.454 and it's considered not significant, so this variable can no longer be used to explain, is that correct? I would appreciate it if you could help me clarify it because I'm also working on DID regress model for my master's thesis and I'm so confused about these P>|t| value
@BobWenEcon
@BobWenEcon 2 ай бұрын
Yes. You are right. The law has no significant effect if the assumption that the two states are similar is correct.
@user-yh3mt1dm8m
@user-yh3mt1dm8m Ай бұрын
Thank you for this explanation and insights into the DID. Please, are you able to share with me your Do File?
@BobWenEcon
@BobWenEcon Ай бұрын
Please see the description. For the regression, it is: regress divorced i.treatment##i.after fam_inc num_chi
@ngbaotu249
@ngbaotu249 Ай бұрын
Thank you. May I ask what the regression model of this data is? And where is this data sourced from?
@BobWenEcon
@BobWenEcon Ай бұрын
Hi, I don't remember whether I collected the data from CPS or PSID many years ago.
@yabelolake3790
@yabelolake3790 2 ай бұрын
Do you think the regress command is appropriate for a categorical outcome variable like divorce before and after treatment?
@BobWenEcon
@BobWenEcon 2 ай бұрын
We can use a logit or probit model. I use the LPM here to show the DID method.
@yabelolake3790
@yabelolake3790 2 ай бұрын
@@BobWenEcon Thank you for your quick response. I am not sure, is there didlogit command? Could you do one KZbin video focusing on Logit or probit model for the DID? Sorry do you mean linear probability model (LPM)?
Difference-in-Difference-in-Differences Method (DDD) | Estimation Methods | Stata Tutorials Topic 43
11:22
Dr. Bob Wen (Stata, Economics, Econometrics)
Рет қаралды 2,1 М.
Rolling Estimation Methods for Staggered Difference-in-Differences
1:00:44
SDAS TechTips @sdas_anz
Рет қаралды 6 М.
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 24 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 40 МЛН
Staggered Treatment in Difference-in-Differences (The Effects, Videos on Causality, Ep 56)
9:02
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 12 М.
Difference-in-differences methods
16:18
Mikko Rönkkö
Рет қаралды 42 М.
Introduction to difference in differences in Stata 17
59:06
SDAS TechTips @sdas_anz
Рет қаралды 10 М.
Quasi-experiments: difference-in-differences
11:34
Nathan Wozny
Рет қаралды 15 М.
All Learning Algorithms Explained in 14 Minutes
14:10
CinemaGuess
Рет қаралды 190 М.
Causal Inference: A Simple Difference-in-Difference Model
26:38
Mike Jonas Econometrics
Рет қаралды 55 М.
Работа в STATA: базовые команды
23:53
IDLab HSE
Рет қаралды 10 М.