GLM Part 6: Interaction effects: How to interpret and identify them

  Рет қаралды 56,111

Quant Psych

Quant Psych

5 жыл бұрын

Do you want to take a class with me? Visit simplistics.net to register for a class. You can either do "live" classes, where you'll learn from me directly via zoom. Or you can register for "self-guided" courses, complete with a schedule, discussion boards, quizzes, readings, etc.
Learning Objectives:
#1. Understand what an interaction is
#2. What language maps into interaction
#3. how to visualize multivariate relationships with two variables
#4. visually identify interactions

Пікірлер: 97
@QuantPsych
@QuantPsych 3 ай бұрын
Do you want to take a class with me? Visit simplistics.net to register for a class. You can either do "live" classes, where you'll learn from me directly via zoom. Or you can register for "self-guided" courses, complete with a schedule, discussion boards, quizzes, readings, etc.
@carylelainecastaneda5924
@carylelainecastaneda5924 13 күн бұрын
Dang. this might be the only time I have come to appreciate econometrics. Thanks! You're such as great teacher!
@onionshark
@onionshark 8 ай бұрын
Old video, still relevant, and yet another PhD student here eternally grateful for your ability to explain these concepts clearly! The readers of my future papers will benefit to no end because now I can actually explain my results in human words
@muhdkhairulhassan7736
@muhdkhairulhassan7736 Жыл бұрын
this channel is underrated beyond belief
@JayeshRaoexplorer
@JayeshRaoexplorer 3 жыл бұрын
You sir are gold! Thank you for coming in at the right time!
@Trakushun
@Trakushun 4 жыл бұрын
I don't even have finished the video and I jumped into the comments section to express my love! ahah Oh man! I'm a phD student with an Environmental science background who now is learning about statistics and I find it amazing that you can explain statistics so clearly and fun while providing such a good information. Thanks for your work man, you have a subscriber forever.
@JT-ph3hk
@JT-ph3hk Жыл бұрын
same! I am so gratefull
@StudiousSeanReads
@StudiousSeanReads 11 ай бұрын
Super fun. I love how you break it down, delivering the content in such an exciting way that POPS! This is super helpful for learning
@rapmantheoneman
@rapmantheoneman Жыл бұрын
What an amazing teacher! Thank you for breaking it down into non-technical terms. Awesome examples.
@michelle-yh2do
@michelle-yh2do 2 жыл бұрын
omgg!! im studying this and i CANNOT understand anything until i watched your video! thank you so much!!!!!
@valeriewong2107
@valeriewong2107 Жыл бұрын
You are amazing! Love your videos and how you explain complex ideas in a simple funny way
@keerthanavivin450
@keerthanavivin450 2 жыл бұрын
Amazing video! Loved the way you taught the concept! Thank you!
@kayn1760
@kayn1760 2 жыл бұрын
This was an amazing video, i just love how you presented this. Thank you so much!!
@LuaanaBarros
@LuaanaBarros 2 ай бұрын
I am actually crying at the end of this video. I already finished my master's multilevel analysis with interactions and still coundn't explain simply WHY I needed them so bad in my model. This cleared my mind to put it in words and now I really feel ready to defend it to the panelists. ILY and thanky you, Quant Psych
@QuantPsych
@QuantPsych 2 ай бұрын
Sending congratulations and digital tissues your way!
@dataman6744
@dataman6744 2 жыл бұрын
the best explanation of interation I ever heard!!
@wattel0013
@wattel0013 9 ай бұрын
"Now do you get it?!" "I think so 🤔" Never related so much to a video 😆
@statapprendra2183
@statapprendra2183 3 жыл бұрын
I love your style !!! Thanks so much for your videos !!!!
@ahmedelkholy1323
@ahmedelkholy1323 Жыл бұрын
Thanks a lot clarifying main points in such amazing manner :)
@taranaferdous2858
@taranaferdous2858 8 ай бұрын
Hahahaha!! What was that? Enjoyed a class after a long time! 😂😂😂 Can you make a video on mix-effect model with interaction term (within and between subject) with proper interpretation, like we write in scientific paper? And thank you again for screaming to my ear! 😂😂😂
@hm.91
@hm.91 2 жыл бұрын
Great video! I always come back to this one!
@andressatb3908
@andressatb3908 2 жыл бұрын
Thank you for your content, very useful and well explained! :D
@JT-ph3hk
@JT-ph3hk Жыл бұрын
love so much your video! is clever fast, and funny, all that I ever desire to find
@yiwenlin2039
@yiwenlin2039 3 жыл бұрын
This is my first youtube comment ever but I can't help to express how excited I was to find this! Hands down the most fun and passionate stats videos I've seen! Everything I learned in two stats classes I took in the past year is so neatly summarized in these videos. This really helps address my doubts and concerns in conducting analysis. I can't wait to check out other videos on the channel and share this awesome resource with fellow PhD students!
@QuantPsych
@QuantPsych 3 жыл бұрын
Awe, shucks :). Thanks!
@rohitnath5545
@rohitnath5545 3 жыл бұрын
the most amazing video on interactions
@naampaccchina
@naampaccchina Ай бұрын
you are brilliant!
@naampaccchina
@naampaccchina Ай бұрын
phd student here too
@prasanthpeddaayyavarla3391
@prasanthpeddaayyavarla3391 3 жыл бұрын
awesome explanation. subscribed straight away. thank you.
@Quijanos1
@Quijanos1 2 жыл бұрын
Sir, You are awesome!!! Thank you for this!
@donaldvandoornik-noaafeder3718
@donaldvandoornik-noaafeder3718 4 жыл бұрын
Great video! Thanks! Am I looking at the graph incorrectly, or is the introvert/extrovert graph mislabeled? The way it's labeled, introverts have greater enjoyment when there's more people.
@QuantPsych
@QuantPsych 4 жыл бұрын
Oops!
@sergiomadrigalmora9454
@sergiomadrigalmora9454 4 жыл бұрын
This is just what I needed
@lohanvaladaress
@lohanvaladaress 4 жыл бұрын
Many many thanks. Great explanation indeed
@siddhft3001
@siddhft3001 3 жыл бұрын
Thank you! Amazing video!
@sjoerd1354
@sjoerd1354 3 жыл бұрын
Thanks for the clear and funny explanation! :D
@thelioness3956
@thelioness3956 3 жыл бұрын
OMG!!! I FINALLY GET IT! THANK YOU! SUBSCRIBED!
@itaihoffman
@itaihoffman Жыл бұрын
Thank you for the useful information
@violeta-sabinaciobanu559
@violeta-sabinaciobanu559 3 жыл бұрын
thank you- you are AWSOME!
@raphaelriviere2506
@raphaelriviere2506 Жыл бұрын
Subscribed! Someone who truly understands their topic can explain it to someone else without jargon and this man does it well!
@OscarHernandez-ul5go
@OscarHernandez-ul5go 2 ай бұрын
Omg I love this
@shane7647
@shane7647 3 жыл бұрын
You my friend are an absolutely outstanding educator. Amazing explanation.
@mikewinters1
@mikewinters1 2 жыл бұрын
In the comparison of Introvert & Music (~3:30), it looks like the music plots are segmented at roughly 30 people? Do people only listen to music at small parties?
@feurigerStern
@feurigerStern 2 жыл бұрын
Love your energy
@adarshnamdev5834
@adarshnamdev5834 2 жыл бұрын
Beautiful explanation Quant Psych
@namatamasiyumbwa868
@namatamasiyumbwa868 2 жыл бұрын
Thank you so much !!!
@amiraal-husseini6547
@amiraal-husseini6547 5 ай бұрын
Amazing! Thank you!
@irilenalinardaki1513
@irilenalinardaki1513 3 жыл бұрын
I LOVE YOU!
@larissacury7714
@larissacury7714 Жыл бұрын
Hii, thank you! I'm having a hard time: I have a regression with Y ~ YEAR * TEST(A/B). It turns out that YearB has a significant slope on the ref level (Year 1, Test A), but Test (B) doesn't. However, the interaction Year * Test is still significant (Year2, LangB, negative significant interaction), any headings on this?
@chaytanyakumar8939
@chaytanyakumar8939 2 жыл бұрын
Perfect!!
@benjarath
@benjarath 4 жыл бұрын
This was super funny and super easy to understand. I would like to say Thank you but I should stop laughing first. So funny :) Thanks!
@royswisa
@royswisa 4 жыл бұрын
Love it!, can you elaborate on why these are the two reasons we use GLM?
@QuantPsych
@QuantPsych 4 жыл бұрын
Have you watched this video? kzfaq.info/get/bejne/Y5hoq7uIzp-RcYk.html
@carlaocano6660
@carlaocano6660 2 жыл бұрын
Hello, great video. Why not do you use VIF to know the interaction between the variables?
@justzaya
@justzaya 2 жыл бұрын
Hi there. What do you mean by we are only concerned with the p-value of the interaction effect? Is this the p-value that appears in the Analysis of Deviance Table? Where does the estimate of "the slope of the interaction effect" appear? After generating a summary of my glm I get stars upon stars of p-values and Estimates (as you predicted), but all of them are for different levels of my treatments. I do not see an estimate for the slope of the interaction effect of my treatment and the second predictor variable
@nasiakal
@nasiakal Жыл бұрын
Thanks for the useful video. Does anyone know how to plot this figure in R?
@sop-ubi7578
@sop-ubi7578 2 жыл бұрын
Dude I subscribe your channel instantly
@dataman6744
@dataman6744 2 жыл бұрын
so good
@hughchix
@hughchix 3 жыл бұрын
Great stuff
@pavloszournatzidis
@pavloszournatzidis Жыл бұрын
thank you so much again...! 1 question...: what is the difference between a moderation model and interaction effects?
@woosterjeeves
@woosterjeeves Жыл бұрын
Just a note on a mistake in interpretation of interaction coefficients in your paper "Eight steps...": The coefficients of a predictor (say X) in an interaction model (say Y ~ X + Z + X.Z) do not tell you the effect of that predictor X on average. It only tells you the effect of that predictor WHEN THE OTHER PREDICTOR (Z) IS ZERO. Now if you have mean-centered Z, then the coefficient of X gives the effect of X when Z is at the mean. You have given the interpretation of the interaction coefficient correctly, but screwed up the coefficients of the predictor terms.
@orlandoflaco
@orlandoflaco Жыл бұрын
Great video (and channel). What happen when your third variable is not categorical but numerical?🤔
@lawsontaylor4625
@lawsontaylor4625 3 жыл бұрын
doesn't the line of best fit at 2 minutes show that enjoyment at party increases with more people attending if you are an introvert? The line slopes positively up as numbers are increasing.
@QuantPsych
@QuantPsych 3 жыл бұрын
Yes! Good catch.
@olepistolee
@olepistolee 2 жыл бұрын
I was about to comment this too!
@Cooking4me_928
@Cooking4me_928 3 жыл бұрын
Your amazing, 👏
@victorantunes3357
@victorantunes3357 4 ай бұрын
Dear Professor, this was indeed a very nice video! May I ask you something? I have calculated predicted probabilities for every combination of categories of my two categorical variables (the ones that were interacted). This is the objective of my paper: Previous research has also found that health status is negatively associated with elder mistreatment (Acierno et al. 2017; Koga et al. 2019). However, social support might moderate the relationship between health status and elder mistreatment (Acierno et al. 2017). Hence, our second objective is to investigate the possible mediating effect of social support in Brazil. We hypothesize that social support mitigates the negative relationship between health status and elder mistreatment (Acierno et al. 2017). So, I want to see if support mitigates the negative relationship between health status and elder mistreatment. In this sense, my dependent variable is Elder Mistreatment (1 = Yes; 0 = No). My variable of health status is the self-rated health status, which has the following categories: Bad, Regular, and Good. And, my variable of social support is about how many family members the elder can count on, categorized as follows: None, One or Two, and Three or more. I then interacted social support with health status, and got the following predicted probabilities: * If social support is none and self-rated health is bad: Lower * Interval = 17.89; Probability = 23.68; Upper Interval = 29.47. * If social support is none and self-rated health is good: Lower Interval = 9.46; Probability = 12.49; Upper Interval = 15.51. * If social support is three or more and self-rated health is bad: Lower Interval = 8.47; Probability = 10.45; Upper Interval = 12.42. * If social support is three or more and self-rated health is good: Lower Interval = 4.83; Probability = 5.86; Upper Interval = 6.89. Based on this, could I conclude the following? There is no crossing of predicted probabilities (and their respective confidence intervals) between the levels of bad and good health, regardless of the level of social support (none vs. three or more). That is, there is at least one statistically significant negative association between health status and elder mistreatment for each of the levels of social support. Additionally, as social support increases, the negative association found occurs at lower predicted probabilities. Therefore, we have evidence that greater social support mitigates the negative association between health status and elder mistreatment, which supports our hypothesis. I'm confused if I can conclude such a thing. That is, if I am interpreting my results correctly. Many many thanks for this!
@jesush.montero8332
@jesush.montero8332 4 жыл бұрын
Great explanation!!! In your face Zuur! with all respect :)
@QuantPsych
@QuantPsych 4 жыл бұрын
zuur?
@jesush.montero8332
@jesush.montero8332 4 жыл бұрын
@@QuantPsych www.springer.com/gp/book/9780387874579
@vuhien9756
@vuhien9756 2 жыл бұрын
Character In the video It's great, I like it a lot $$
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Thanks for this nice video! But: How do we deal with several significant interactions? If my final model has 4 significant interactions, how do I interpret them? This model has then a severe multicollinearity. So, my approach is to take those 4 interactions and make 4 models for each of them for easier interpretation, but the results differ from the model, where all 4 interactions are together. I can't find anything useful on internet on this, seemingly trivial question 😩So, does anyone know how to deal with several significant interactions? Or does it make any sense? And do you by any change know some references / book, where it's clearly written and I can cite. Thanks forward!
@QuantPsych
@QuantPsych Жыл бұрын
It sound like you probably have too many variables. See this video: kzfaq.info/get/bejne/d86JY7eqq8DNoZs.html
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
@@QuantPsych Thanks, I have seen your video, and I am a big fan of your channel! But, that means, you model interactions separately? Like, having only two predictors + response, then other two predictors + response and the same way for all the possible interactions you want to check hypothesis for? It kind of make sense, BUT multiple interactions in a regression vs. one interaction sound to me the same way as multivariate vs univariate regressions. I think multivariate regressions are more useful. So, aren't multiple interactions (even if there are just two interactions) in the same model should also be better? You never have/interpret several interactions in the same model? I do stats for science at the university every day, so it is not just a random question from the internet, your opinion will influence scientific decision, and thus your opinion matters ... no pressure ;)
@mishmish6793
@mishmish6793 3 жыл бұрын
You made me laugh :)
@bernadettblummer108
@bernadettblummer108 Жыл бұрын
Why? Why am I only finding this channel 3rd year into my psych degree?! I've never laughed so much during a statistics lecture. I can't wait to watch more of this! Thank you, thank you, thank you for sharing your stats teaching talent!
@babyroo555
@babyroo555 2 жыл бұрын
I LOVE YOU 😄😄😄
@samiahussain8316
@samiahussain8316 4 ай бұрын
My professor told me to represent my final assignment with 2 independent variables and one covariate for binary logistic regression. How can I analyse my binary logistic regression model with 2 independent variables and 1 covariate? I don’t know how can I select covariate in my data! Please help.
@fernandojackson7207
@fernandojackson7207 6 ай бұрын
Nice, but should you then, given AB, search for any possible variable C?
@santiagosotelo6881
@santiagosotelo6881 Жыл бұрын
big energy in this videos, really necessary in learning interactions! thanks
@katiejones3173
@katiejones3173 2 жыл бұрын
This is so help! ... But now I just need the R code for this :/
@xxmsp91
@xxmsp91 Жыл бұрын
I'm in training for an analyst role and this video is helping me understand some key concepts. I hope you keep this up because you definitely deserve a lot more views for the number of people you are helping with this comtent.
@jorgeluizdesantanajunior6775
@jorgeluizdesantanajunior6775 10 күн бұрын
Excellent video. I'd just add that you just have to be careful about how to interpret interaction terms with both continuous variables. If you put an interaction of two continuos variables, the continuous variable that moderates the relationship is interpreted in terms of 0 and 1 (similar to a dummy). However, 0 and 1 may not make that much sense in your analysis. For instance, if you are interested in a relationship (y ~ x) that change according to age and your sample comprises people between 18-60 years old, you're measuring how your relationship change if you goes from 0 to 1 year old. This is not that useful if you're studying people between 18-60 years. Because, it can be the case that your relationship is negative for people that has zero years old, increasing until it gets positive at 10 years old. As a result, you may be misled thinking that your relationship change from negative to positive, but in your sample (18-60), it will never be negative. In other words, you can change the signal of x coefficient just changing the scale of age, because the coefficient on x always captures the effect of x when age is zero. So if you have a continuous variable interacting, I usually recommend to rescale it with mean 0 and 1 standard deviation. Then, you have a usefull interpretation: your relationship around the average value of the moderating variable is captured in the coefficient on x, and what happens with your relationship if you increase/decrease it in 1 standard deviation is captured in the interaction term.
@QuantPsych
@QuantPsych 2 күн бұрын
Centering is a good idea if you're interested in interpreting the numbers. I usually don't bother with interpreting them and instead just plot them.
@WorldOfJD
@WorldOfJD 3 жыл бұрын
The introvert labelling doesn't seem right.
@maeveleyden1688
@maeveleyden1688 2 жыл бұрын
I love you
@LucidVision1
@LucidVision1 7 ай бұрын
I see what you are going for with the music and the style, but (for me) could do with a little less. Most professors are drab and robotic, but this is on the other end of the spectrum. Found the music , your intensity and the constant scene cutting a bit distracting. Incredible explanation tho.
@karolinesachse4514
@karolinesachse4514 2 жыл бұрын
the introvert labels have to be inverted
@flash2hridya
@flash2hridya 2 жыл бұрын
But but...aren't you explaining "effect modification"?
@babyroo555
@babyroo555 2 жыл бұрын
what's effect modification?
@nimidi2568
@nimidi2568 2 жыл бұрын
Good points but chaotic video with bad background sound
@haiyingwang5987
@haiyingwang5987 3 жыл бұрын
Too distracting and chaotic
@henri1_96
@henri1_96 3 жыл бұрын
fair enough. He does explain this very well regardless.
@dverdin72
@dverdin72 3 жыл бұрын
your display of anxiety is giving me anxiety ...
@schylerreis5227
@schylerreis5227 Жыл бұрын
I find the voices annoying…
Pivoting multiple variables: A simpler (more complex?) way
6:25
Quant Psych
Рет қаралды 1,9 М.
GLM Part 1: The General Linear Model: A Stats Jedi's Lightsaber
12:14
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 52 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 93 МЛН
Moderation (Interaction Effects) Playlist 2
24:33
The Essence of Regression
Рет қаралды 5 М.
How to interpret (and assess!) a GLM in R
17:36
Chloe Fouilloux
Рет қаралды 25 М.
Main effects & interactions
11:25
Jim Grange
Рет қаралды 368 М.
How to decide whether an effect is fixed or random in mixed models
11:33
Dummy variables - interaction terms explanation
4:36
Ben Lambert
Рет қаралды 194 М.
Testing normality is pointless. Do this instead
22:57
Quant Psych
Рет қаралды 7 М.
Econometrics - Interaction Terms
11:44
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 19 М.
The most common mistake in biostatistics
22:00
Quant Psych
Рет қаралды 2,7 М.
Complex Experiments: 3 - Main effects and interactions
18:49
Ross Avilla
Рет қаралды 90 М.
Interaction Variables
20:37
Nathan Wozny
Рет қаралды 4,9 М.
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 52 МЛН