Econometrics: Control Variables

  Рет қаралды 22,893

Econometrics, Causality, and Coding with Dr. HK

Econometrics, Causality, and Coding with Dr. HK

Күн бұрын

Пікірлер: 91
@pedrocolangelo5844
@pedrocolangelo5844 3 жыл бұрын
Seriously, with this enthusiasm of yours, you could easily explain any subject in the whole world to me and I would never get bored. I wish tons of likes and subscriptions to you!
@NickHuntingtonKlein
@NickHuntingtonKlein 3 жыл бұрын
Thank you!
@niltonpereiradossantos9774
@niltonpereiradossantos9774 8 ай бұрын
Nobody taught me how to identify control variables, until now. It will be so helpful to my PhD thesis. Thanks from Brazil. God bless you!
@GradStudentTutorials
@GradStudentTutorials 9 ай бұрын
This is the best video of control variables that I've seen.
@andrews9719
@andrews9719 2 жыл бұрын
I'm taking a multiple regression course for a data analysis masters, and this video really helped piece things together! Thinking about control variables as variables that cut out the parts of the relationship we don't want to consider in our model is a really useful way of thinking about controls... hopefully I got that right. Thanks!
@zzz11221
@zzz11221 9 ай бұрын
nice I am a technical buisness bachelor student and need to integrate control variables into my regression I have absolutely no idea how. nobody ever teached us.
@cesarrubio4533
@cesarrubio4533 Жыл бұрын
Thanks a lot, you save my day, i couldn´t find a channel explaining this in my native language
@Matthew-eb3di
@Matthew-eb3di 4 ай бұрын
This is the best explanation and animation I’ve ever seen for multiple regression and control variables! 🎉🤩
@alexandreborges1242
@alexandreborges1242 2 жыл бұрын
This is the best explanation of control variables I've ever seen. Thank you, HK.
@goelnikhils
@goelnikhils Жыл бұрын
Amazing Video on Control Variables. Why to use
@sushankmishra53
@sushankmishra53 8 ай бұрын
Loved this...Smooth and Straight to the point👏
@bakther
@bakther 4 жыл бұрын
Excellent contents in the subject matter. It is valuable to build knowledge and skills. I am really thankful for such efforts.
@haggaisimon7748
@haggaisimon7748 2 жыл бұрын
Super!!! i finally learned while clustering can explain positive relationship when in fact there's a negative relationship! Thank you!
@theflyingdutchman6424
@theflyingdutchman6424 Жыл бұрын
Superb video, helped me a lot to refresh my understanding in under 10 minutes. Comes in really helpful as I am working on my Bachelors Thesis! Thank you for your work!
@tamartomaradze6045
@tamartomaradze6045 Жыл бұрын
Great explanation of the control variables! Thank you, Professor!
@guzwall
@guzwall 3 ай бұрын
Great explanation!!
@shichengxu7390
@shichengxu7390 2 жыл бұрын
Thank you so much, I finally understand what is control variable..
@majsketchup
@majsketchup 2 жыл бұрын
Thank you! Very clear and ENERGETIC which is rare in these parts (of youtube)
@statistics5371
@statistics5371 3 жыл бұрын
6:23 a great explanation, explains a lot of misleading results from a positive to a negative relationship, THank You!!
@madsboyd-madsen3463
@madsboyd-madsen3463 2 жыл бұрын
Remarkably good explanation.
@fabiominatto4650
@fabiominatto4650 4 жыл бұрын
Excelent video Your content is awesome This animation that explain what a control variable do is very helpful!
@ShaharukhQureshiAP
@ShaharukhQureshiAP 6 ай бұрын
Phenomenal explanation! Thank you for your effort. I have one follow-up question: can we also estimate the effect of two variables by controlling other variables? And do you recommend any book to read more. Thanks!
@NickHuntingtonKlein
@NickHuntingtonKlein 6 ай бұрын
You can - as long as each of them is separately identified, ie you have the controls for each. There is an issue with doing this via regression since the effects of the two variables "contaminate" each other a bit, but you can avoid this by saturation (or just estimating the two effects separately). As for a book I will of course recommend my own! Theeffectbook.net
@ShaharukhQureshiAP
@ShaharukhQureshiAP 6 ай бұрын
@@NickHuntingtonKlein Thank you Professor!
@Sami-yh5nh
@Sami-yh5nh Жыл бұрын
Thank you. The concepts are simply enough but my ADHD makes it incredibly difficult to focus. Your video helped.
@spelabajc1775
@spelabajc1775 2 жыл бұрын
Thank you for explaining this in a simple way.
@williamtownsend3395
@williamtownsend3395 3 жыл бұрын
You explain things so well. Thank you for posting this!
@ranygo8233
@ranygo8233 2 жыл бұрын
Very clear explanations. Thanks
@talharehman9458
@talharehman9458 3 жыл бұрын
Absolutely Amazing!
@hhmmm5719
@hhmmm5719 Жыл бұрын
Thank you this was very well explained
@devikasha
@devikasha 8 ай бұрын
Thank you! Thank you! Thank you!
@1812CE
@1812CE 4 жыл бұрын
Hey Nick! Could you answer me a question? I have a model (OLS) with a key explanatory variable and its effects on my dependent variable, and some (5) control variables. My main explanatory variable is significant, but only two of the control variables are significant; although, the model is itself statistically significant. My objective for the paper is just to tell if some effects caused by my explanatory variable are found, and its direction (positive or negative). Do you recommend keeping all the variables in the regression output table, telling which are not significant, and making clear that it doesn't fully matter for the objective of the paper? Sorry for this long and broad question. Thanks!
@NickHuntingtonKlein
@NickHuntingtonKlein 4 жыл бұрын
Keep em in! Even imprecisely estimated controls can improve the coef on your variable of interest. Also, generally, you almost never want to make a decision about model building on the basis of a statistical significance test. Model building is a theoretical task, sig tests are sample based
@1812CE
@1812CE 4 жыл бұрын
@@NickHuntingtonKlein Thanks! You have really helped me with your videos. Keep going!
@michaeldiehl4751
@michaeldiehl4751 3 жыл бұрын
just the explanation I was looking for, thank you!
@ernestgeorgin1051
@ernestgeorgin1051 3 жыл бұрын
Very clear explanations, thank you very much!
@xiaoligong8745
@xiaoligong8745 3 жыл бұрын
Hello, Nick, could you explain what it means by "conditioning on a set of covariates?" Does it mean the same as controlling for these variables?
@NickHuntingtonKlein
@NickHuntingtonKlein 3 жыл бұрын
Yep, same thing
@ammarhussain3758
@ammarhussain3758 3 жыл бұрын
Thank you so much, you explained very well.
@marc7731
@marc7731 3 жыл бұрын
A bit late to the video, but this was extremely useful! Million thanks :)
@mikayilmajidov
@mikayilmajidov Жыл бұрын
It's a very good visualization. Would be perfect to see a numerical illustration of this control element.
@NickHuntingtonKlein
@NickHuntingtonKlein Жыл бұрын
I walk through a numerical illustration in chapter 16 of my book, at theeffectbook.net
@mikayilmajidov
@mikayilmajidov Жыл бұрын
@@NickHuntingtonKlein thank you very much! Do I get it right that numerically it's similar to multiple regression? It's just a name to denote the fact that the variables have some relationahip to each other?
@NickHuntingtonKlein
@NickHuntingtonKlein Жыл бұрын
@@mikayilmajidov yes, a regression with control variables in it is inherently a multiple regression.
@mikayilmajidov
@mikayilmajidov Жыл бұрын
@@NickHuntingtonKlein thank you! Will subscribe to the channel
@niazahmed3301
@niazahmed3301 3 жыл бұрын
well-explained and easy to capture the intuition. Thanks a lot. :D
@JoaoVitorBRgomes
@JoaoVitorBRgomes 2 жыл бұрын
At the end slide as you add to the scatterplot variable W, you write as Z, also I think it is a little confusing because you start showing the relationship already controlled by Z (or W) instead of showing it in a scatterplot first without control.
@leticiaasiimirwe8822
@leticiaasiimirwe8822 3 жыл бұрын
Excellent video sir. Quick question. When using control variables lets say.. exchange rates from the world bank data base (time series data). Do you make the values constant by using one specific value throughout the years or you use the timeseries data as is for the different years?
@NickHuntingtonKlein
@NickHuntingtonKlein 3 жыл бұрын
It would depend on what you were trying to control for - using a single value would control for aggregate differences between countries (sort of like a fixed effects control that doesn't go all the way to control for *all* fixed between-country differences, just exchange rates), but the time series variation would control for both between-country and within-country exchange rate differences over time. I'd imagine in most applications you'd want the full time series.
@leticiaasiimirwe8822
@leticiaasiimirwe8822 3 жыл бұрын
@@NickHuntingtonKlein thank you for the timely response. For clarity, lets say am analyzing the impact of international commodity trade on a certain country. goods exports and goods imports would be my independent variable. GDP my dependent variable. would it be okay to use services as a control variable? and do I use the actual time series for services or do I select a constant value to throughout all the years?
@NickHuntingtonKlein
@NickHuntingtonKlein 3 жыл бұрын
@@leticiaasiimirwe8822 Yes, services as a control for overall trade level (which would then make the effect on goods more about the proportion of all trade is goods trade, rather than about the absolute level of goods trade) makes sense. Id' recommend using the actual time series in that case.
@leticiaasiimirwe8822
@leticiaasiimirwe8822 3 жыл бұрын
@@NickHuntingtonKlein Thank you very much sir.
@AyushSingh-cl8px
@AyushSingh-cl8px 3 жыл бұрын
Very helpful, thanks!
@pc_426
@pc_426 3 жыл бұрын
Thank you for the video. I have a few questions. How do we know what covariates to include/ exclude in/from our model? Also, how do we determine how many covariates to include in our model? Do we simply use theoretical knowledge or do we have tests that we can do?
@NickHuntingtonKlein
@NickHuntingtonKlein 3 жыл бұрын
My series on causality, especially on causal diagrams, goes deep on which controls to include, at least if your goal is causal identification. The theory should do most of the work in determining your model. That said, there are tools like LASSO, variance inflation factors, and information criteria to help with model selection when you're thinking of adding/removing variables for statistical reasons instead of theoretical ones
@21LeonidasZ
@21LeonidasZ 2 жыл бұрын
Hello Nick, great video! I would like to ask two questions regarding the use of control variables: 1. Shouldn't we worry about multicollinearity since we know in fact that shortswearing and temperature are correlated? 2. Can we have a meaningful interpretation of the control variable coefficient as well (temperature) when we know it is correlated with shortswearing or its use is purely to fight the endogeneity problem? Thank you in advance.
@NickHuntingtonKlein
@NickHuntingtonKlein 2 жыл бұрын
The main point of adding controls is that they *are* correlated - otherwise adding the control doesn't reduce omitted variable bias. Adding uncorrelated controls can improve your model's precision but it doesn't do anything for endogeneity. Multicollinearity is only a problem in terms of variance inflation if the degree of correlation is extremely strong (and if it's so strong, you have to ask whether it's actually a necessary control or just another way of measuring your primary variable).
@21LeonidasZ
@21LeonidasZ 2 жыл бұрын
@@NickHuntingtonKlein Thank you for your reply. So as far as I understand variables being correlated doesn't necessarily mean that one would get highly inflated variance, and if that's the case then the control may be redundant (extremely high correlation).
@NickHuntingtonKlein
@NickHuntingtonKlein 2 жыл бұрын
@@21LeonidasZ correct
@IsabellaPaschuini
@IsabellaPaschuini 2 жыл бұрын
Man, you’re fucking good explaining this! Thanks a lot
@johannesh1741
@johannesh1741 4 жыл бұрын
Very helpful!
@Djc99120
@Djc99120 3 жыл бұрын
But sir in the example used temperature can also partly explain shorts wearing....so does the problem of multicolinearity arises when we add temperature to the model ???
@NickHuntingtonKlein
@NickHuntingtonKlein 3 жыл бұрын
Yes, that's the idea - you want to take out the part of shorts-wearing that is explained by temperature as well. Having multiple correlated predictors is not a problem in regression unless the correlation between them is extremely strong (or perfect, in the case of perfect multicollinearity). If that's the case here - if nearly all of shorts-wearing is explained by temperature, then the regression estimates would be high variance and there'd be a multicollinearity problem, yes. But if that's the case, where we have to control for temperature but doing so removes nearly all the variation from shorts-wearing, that means that we simply don't have the variation in the data necessary to identify the effect we want.
@Djc99120
@Djc99120 3 жыл бұрын
@@NickHuntingtonKlein thank you very much sir for this clarification :)
@dk1up
@dk1up Жыл бұрын
PLEASE REPLY ASAP!! GDP = shadow economy + inflation + government debt + Unemployment I am looking to investigate the impact of Shadow economy on GDP, and what I just listed is my econometric model. Would inflation, gov debt and unemployment thus be my control variable? thank you
@NickHuntingtonKlein
@NickHuntingtonKlein Жыл бұрын
Yes
@dk1up
@dk1up Жыл бұрын
@@NickHuntingtonKlein I love you. thank you
@MitsosDA
@MitsosDA 3 жыл бұрын
What is the difference between a moderator and a control variable? Are they the same?
@NickHuntingtonKlein
@NickHuntingtonKlein 3 жыл бұрын
They're not really the same category. A control variable is any variable you adjust for/control for in your statistical model. A moderator is a variable that theoretically affects the relationship between treatment and outcome (for example, a treatment for cervical cancer reduces cancer rates by much more for people with cervixes vs those without). Mediators can be included in a statistical model as control variables, but also you might include a variable as a control for other reasons, like being on a back door path.
@bjarkerugsted7539
@bjarkerugsted7539 2 жыл бұрын
Great video! had to like and subscribe I wonder tho, if i pick a control variable like fx. gender on a topic like wages... does that mean that I believe that gender has an impact on wages?..
@NickHuntingtonKlein
@NickHuntingtonKlein 2 жыл бұрын
Sort of. You're saying that gender is *related to* and *upstream of* both treatment and control, or on a back door path. It doesn't necessarily need to have a *direct* effect on wage
@NickHuntingtonKlein
@NickHuntingtonKlein 2 жыл бұрын
And thanks!
@bjarkerugsted7539
@bjarkerugsted7539 2 жыл бұрын
@@NickHuntingtonKlein thanks for the answer! very kind of you :)
@fernplayz6369
@fernplayz6369 10 ай бұрын
So if I was looking to see if a person with a higher iq earns a higher wage what would be 2 good control variables to use out of the following? Education,experience,tenure,age,married or not, number of siblings, birth order, fathers education, mothers education or average weekly hours?
@fernplayz6369
@fernplayz6369 10 ай бұрын
Please answer as soon as possible I’ve been trying to figure out what would be best to use haha!
@NickHuntingtonKlein
@NickHuntingtonKlein 10 ай бұрын
why two? if that's a homework question or something it's not very well done, i don't think there is a single right answer
@fernplayz6369
@fernplayz6369 10 ай бұрын
@@NickHuntingtonKleinwe are required to create a research paper and i have this data so my teacher wants two control variables to be implemented on the right side of the equation I came up withe the does iq effect wage part because I thought it would be interesting to see the results do you think it’s fine?
@NickHuntingtonKlein
@NickHuntingtonKlein 10 ай бұрын
I see. In that case I'd probably say father's and mother's education are the best two. They are both proxies for your parents' socioeconomic standing (which affects your job opportunities and thus wages) and also your genetic endowment (which affects your IQ). So they're on back doors you'd want to close. The rest either affect only wages and not IQ (like hours, age, and experience), which are OK to include as controls to improve precision but don't solve any identification problems or are mixes of things that both cause and are caused by IQ (like education and marriage) and so have collider bias issues. I certainly don't think you can identify the effect of IQ on wages using only parental education as controls, but for the assignment you have that's what makes the most sense to go with. See my chapter on back door paths theeffectbook.net/ch-CausalPaths.html @@fernplayz6369
@fernplayz6369
@fernplayz6369 10 ай бұрын
⁠@@NickHuntingtonKlein is there anyway to live chat? Maybe I should try a different research question with my data?
@mux3325
@mux3325 2 жыл бұрын
you're cool
@MK-sk9wr
@MK-sk9wr 4 жыл бұрын
what the hell happens at 0:50?
@NickHuntingtonKlein
@NickHuntingtonKlein 4 жыл бұрын
That's a fly
@ibrahimq2126
@ibrahimq2126 8 ай бұрын
If I can give more than one like I will do it ❤
@fitfirst4468
@fitfirst4468 2 жыл бұрын
ah ha pandemic haircut , I caught you!
@pawekopytek7596
@pawekopytek7596 3 ай бұрын
It was 666 likes, sorry I ruined it 😉
@immigrantgetthejobdone3018
@immigrantgetthejobdone3018 Жыл бұрын
thank you for the clear explanation and visual illustration!. I've been confused by "what is controlling for a long time ". thank you! so the 2 subtracting process is automatically done when we are doing OLS?
@NickHuntingtonKlein
@NickHuntingtonKlein Жыл бұрын
You're welcome! And the 2 subtractions process isn't *actually done* by OLS but it produces the exact same result with the same interpretation
Econometrics - Causal Diagrams
11:46
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 1,7 М.
Econometrics - Within Variation and Fixed Effects
20:06
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 15 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 124 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 37 МЛН
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 76 МЛН
Econometrics - Instrumental Variables
12:56
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 8 М.
What do we mean by "controlling for a variable" in statistics?
4:31
PhD Nurse Channel
Рет қаралды 5 М.
Multiple Regression from beginning to end in 30 minutes.
33:07
R Programming 101
Рет қаралды 15 М.
Econometrics - Interaction Terms
11:44
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 20 М.
Econometrics for RCTs
36:46
Richard Gallenstein
Рет қаралды 4,8 М.
How to use Control Variables in SEM (Structural Equation Modeling)
12:49
Variables and Types of Variables | Statistics Tutorial | MarinStatsLectures
13:13
MarinStatsLectures-R Programming & Statistics
Рет қаралды 231 М.
Causality: Controlling
10:43
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 4,9 М.
Week 13: Dynamics and Endogeneity | Video 6: Control Function Model
11:15
ResEcon 703 - UMass Amherst
Рет қаралды 3,3 М.