Causality: Controlling

  Рет қаралды 4,792

Econometrics, Causality, and Coding with Dr. HK

Econometrics, Causality, and Coding with Dr. HK

5 жыл бұрын

The sixth video in a series on causality. This video discusses what it means to control/adjust for a variable in order to close a back door, and walks through the mechanics of how it can be done. See more information about the class at nickchk.com/econ305.html.

Пікірлер: 21
@armansultanov6879
@armansultanov6879 2 жыл бұрын
Thank you for making things more explicit!
@metfan46
@metfan46 4 жыл бұрын
Thanks for these videos, they're great!
@bakther
@bakther 4 жыл бұрын
Excellent as usual.
@donottraveltoiran2461
@donottraveltoiran2461 3 жыл бұрын
Thank you very much for your explanation, I have got a question for you, if I want to find out the job satisfaction (dependence )how can be affected by other variables (400 independent ) how can I find that ?
@NickHuntingtonKlein
@NickHuntingtonKlein 3 жыл бұрын
With that many predictors I might recommend regularized regression (LASSO)
@toni_canada
@toni_canada Жыл бұрын
Thank you for your video! I have a question, ¿how you control a variable when is a continuous one? I mean, in the video W was 0 or 1, but how can we control a variable when it's continuous? Thanks!
@NickHuntingtonKlein
@NickHuntingtonKlein Жыл бұрын
There are several ways. You can use the continuous variable to predict both treatment and outcome using any method that accepts a continuous predictor (like regression or a random forest) and subtract out the prediction. Or you can use a matching-based procedure.
@arehmankhn
@arehmankhn 4 жыл бұрын
Thank you for explaining the concept so clearly! What is the formula one can use in R when doing linear regression and controlling for several variables? I've already done the simple regression without controlling for the variables, and would now like to run it controlling for several variables.
@NickHuntingtonKlein
@NickHuntingtonKlein 4 жыл бұрын
If your regression formula without controls is, for example, y ~ x, then you can add controls w and z with y ~ x + w + z
@arehmankhn
@arehmankhn 4 жыл бұрын
Hi! Where would felm and dummy variables enter the picture? I'm new to R and each web search seems to produce 100 different answers. Until I found this video, I wasn't even clear on the concept of "controlling." I'm looking for the simplest / most intuitive way to control for fixed effects in R.
@NickHuntingtonKlein
@NickHuntingtonKlein 4 жыл бұрын
@@arehmankhn Check out my video on the estimatr package (although felm is good too)
@larawhite5890
@larawhite5890 4 жыл бұрын
@@NickHuntingtonKlein I think that if both y and x depend on w and z then interaction terms xw and xz should be added.
@NickHuntingtonKlein
@NickHuntingtonKlein 4 жыл бұрын
@@larawhite5890 You generally want to add interaction terms if the effect of x is modified by w and z. If you just think x depends on w and z, then adding them as controls is sufficient.
@user-cl2pd2po1t
@user-cl2pd2po1t 4 жыл бұрын
Who are you? can you provide some information into the video description?
@NickHuntingtonKlein
@NickHuntingtonKlein 4 жыл бұрын
I'm an economics professor at CSU Fullerton
@donoiskandar6820
@donoiskandar6820 Ай бұрын
60% go when sick, 10% go when not sick. thus 60 - 10 = 50% of going to the doctor is explained by being sick. are you assuming that the total sample of all people who are not being sick and those who are already being sick is identical?
@NickHuntingtonKlein
@NickHuntingtonKlein Ай бұрын
Nope! It still works with uneven sample sizes.
Causality: Collider Variables
11:22
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 8 М.
Causality: Instrumental Variables
11:26
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 3,4 М.
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 22 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 33 МЛН
Smart Sigma Kid #funny #sigma #memes
00:26
CRAZY GREAPA
Рет қаралды 6 МЛН
Econometrics - Within Variation and Fixed Effects
20:06
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 14 М.
Causality: Drawing Causal Diagrams
12:05
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 9 М.
Causality: Closing Back Doors
9:43
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 7 М.
Causality: Difference-in-Differences
11:10
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 9 М.
Causality: Causal Diagrams
8:44
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 6 М.
Key Structures in Causal Graphs
12:31
Leslie Myint
Рет қаралды 2,6 М.
Econometrics: Control Variables
8:24
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 22 М.
What Is A Causal Effect? |【Five Minute Econometrics】Topic 2
6:11
Dr. Bob Wen (Stata, Economics, Econometrics)
Рет қаралды 658
What Language Should You Use for Econometrics?
20:51
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 3,9 М.