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

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • 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

КОМЕНТАРІ • 102

  • @QuantPsych
    @QuantPsych  6 місяців тому

    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.

  • @WorldOfJD
    @WorldOfJD 3 роки тому +6

    The introvert labelling doesn't seem right.

  • @donaldvandoornik-noaafeder3718
    @donaldvandoornik-noaafeder3718 4 роки тому +13

    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.

  • @Trakushun
    @Trakushun 4 роки тому +40

    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 Рік тому +1

      same! I am so gratefull

  • @onionshark
    @onionshark 10 місяців тому +12

    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

  • @woosterjeeves
    @woosterjeeves Рік тому +2

    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.

  • @taranaferdous2858
    @taranaferdous2858 10 місяців тому +2

    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! 😂😂😂

  • @dverdin72
    @dverdin72 3 роки тому +2

    your display of anxiety is giving me anxiety ...

  • @tritiyo_noyon
    @tritiyo_noyon 2 роки тому +7

    this channel is underrated beyond belief

  • @mikewinters1
    @mikewinters1 2 роки тому +1

    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?

  • @haiyingwang5987
    @haiyingwang5987 3 роки тому +2

    Too distracting and chaotic

    • @henri1_96
      @henri1_96 3 роки тому

      fair enough. He does explain this very well regardless.

  • @LucidVision1
    @LucidVision1 10 місяців тому +1

    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.

  • @wattel0013
    @wattel0013 11 місяців тому +2

    "Now do you get it?!" "I think so 🤔" Never related so much to a video 😆

  • @lawsontaylor4625
    @lawsontaylor4625 3 роки тому +4

    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 роки тому +2

      Yes! Good catch.

    • @olepistolee
      @olepistolee 2 роки тому +1

      I was about to comment this too!

  • @nasiakal
    @nasiakal Рік тому +1

    Thanks for the useful video. Does anyone know how to plot this figure in R?

  • @nimidi2568
    @nimidi2568 2 роки тому +1

    Good points but chaotic video with bad background sound

  • @yuzaR-Data-Science
    @yuzaR-Data-Science Рік тому +1

    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: ua-cam.com/video/AhY0TyFZiqg/v-deo.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 ;)

  • @orlandoflaco
    @orlandoflaco Рік тому +2

    Great video (and channel). What happen when your third variable is not categorical but numerical?🤔

  • @itaihoffman
    @itaihoffman Рік тому +2

    Thank you for the useful information

  • @karolinesachse4514
    @karolinesachse4514 2 роки тому +1

    the introvert labels have to be inverted

  • @michelle-yh2do
    @michelle-yh2do 3 роки тому +2

    omgg!! im studying this and i CANNOT understand anything until i watched your video! thank you so much!!!!!

  • @larissacury7714
    @larissacury7714 2 роки тому +2

    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?

  • @katiejones3173
    @katiejones3173 2 роки тому +1

    This is so help! ... But now I just need the R code for this :/

  • @pavloszournatzidis
    @pavloszournatzidis Рік тому +1

    thank you so much again...!
    1 question...: what is the difference between a moderation model and interaction effects?

  • @thelioness3956
    @thelioness3956 3 роки тому +2

    OMG!!! I FINALLY GET IT! THANK YOU! SUBSCRIBED!

  • @mishmish6793
    @mishmish6793 3 роки тому +2

    You made me laugh :)

  • @dataman6744
    @dataman6744 3 роки тому +2

    so good

  • @flash2hridya
    @flash2hridya 2 роки тому +1

    But but...aren't you explaining "effect modification"?

    • @babyroo555
      @babyroo555 2 роки тому +1

      what's effect modification?

  • @prasanthpeddaayyavarla3391
    @prasanthpeddaayyavarla3391 3 роки тому +2

    awesome explanation. subscribed straight away. thank you.

  • @benjarath
    @benjarath 4 роки тому +8

    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!

  • @chaytanyakumar8939
    @chaytanyakumar8939 2 роки тому +2

    Perfect!!

  • @irilenalinardaki1513
    @irilenalinardaki1513 3 роки тому +2

    I LOVE YOU!

  • @statapprendra2183
    @statapprendra2183 3 роки тому +2

    I love your style !!! Thanks so much for your videos !!!!

  • @ahmedelkholy1323
    @ahmedelkholy1323 Рік тому +2

    Thanks a lot clarifying main points in such amazing manner :)

  • @sjoerd1354
    @sjoerd1354 3 роки тому +2

    Thanks for the clear and funny explanation! :D

  • @JT-ph3hk
    @JT-ph3hk Рік тому +1

    love so much your video! is clever fast, and funny, all that I ever desire to find

  • @namatamasiyumbwa868
    @namatamasiyumbwa868 2 роки тому +1

    Thank you so much !!!

  • @justzaya
    @justzaya 2 роки тому +1

    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

  • @andressatb3908
    @andressatb3908 2 роки тому +2

    Thank you for your content, very useful and well explained! :D

  • @rohitnath5545
    @rohitnath5545 3 роки тому +2

    the most amazing video on interactions

  • @dataman6744
    @dataman6744 2 роки тому +2

    the best explanation of interation I ever heard!!

  • @babyroo555
    @babyroo555 2 роки тому +1

    I LOVE YOU 😄😄😄

  • @violeta-sabinaciobanu559
    @violeta-sabinaciobanu559 3 роки тому +1

    thank you- you are AWSOME!

  • @victorantunes3357
    @victorantunes3357 6 місяців тому

    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!

  • @valeriewong2107
    @valeriewong2107 Рік тому +2

    You are amazing! Love your videos and how you explain complex ideas in a simple funny way

  • @shane7647
    @shane7647 3 роки тому +8

    You my friend are an absolutely outstanding educator. Amazing explanation.

  • @feurigerStern
    @feurigerStern 2 роки тому +1

    Love your energy

  • @carlaocano6660
    @carlaocano6660 2 роки тому +1

    Hello,
    great video. Why not do you use VIF to know the interaction between the variables?

  • @lohanvaladaress
    @lohanvaladaress 4 роки тому +2

    Many many thanks. Great explanation indeed

  • @KarlaOrozcoTorres
    @KarlaOrozcoTorres 2 місяці тому

    This video is great! Thank you! You just made me not give up! Do you have a video explaining the interactions between categorical variables and how to interpret the results in an ordered logisitic regression. Or do you have especial sessions to guide this particular cases? I am studying factors associated households food insecurity, and have special interest if the household gender has an effect on the outcome and other variables.

  • @adarshnamdev5834
    @adarshnamdev5834 2 роки тому +1

    Beautiful explanation Quant Psych

  • @samiahussain8316
    @samiahussain8316 6 місяців тому

    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.

  • @carylelainecastaneda5924
    @carylelainecastaneda5924 3 місяці тому +1

    Dang. this might be the only time I have come to appreciate econometrics. Thanks! You're such as great teacher!

  • @fernandojackson7207
    @fernandojackson7207 9 місяців тому

    Nice, but should you then, given AB, search for any possible variable C?

  • @Quijanos1
    @Quijanos1 2 роки тому +1

    Sir, You are awesome!!! Thank you for this!

  • @rapmantheoneman
    @rapmantheoneman Рік тому +1

    What an amazing teacher! Thank you for breaking it down into non-technical terms. Awesome examples.

  • @hm.91
    @hm.91 2 роки тому +1

    Great video! I always come back to this one!

  • @hughchix
    @hughchix 3 роки тому +2

    Great stuff

  • @StudiousSeanReads
    @StudiousSeanReads Рік тому +1

    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

  • @yiwenlin2039
    @yiwenlin2039 4 роки тому +9

    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!

  • @vuhien9756
    @vuhien9756 2 роки тому

    Character In the video It's great, I like it a lot $$

  • @Cooking4me_928
    @Cooking4me_928 3 роки тому +1

    Your amazing, 👏

  • @kayn1760
    @kayn1760 2 роки тому +1

    This was an amazing video, i just love how you presented this. Thank you so much!!

  • @JayeshRaoexplorer
    @JayeshRaoexplorer 3 роки тому +2

    You sir are gold! Thank you for coming in at the right time!

  • @carlosllosa3345
    @carlosllosa3345 5 днів тому

    you are wrong. you described confounding variables, not interactions.

    • @QuantPsych
      @QuantPsych  5 днів тому

      No, you are wrong. I am explaining interactions.

  • @keerthanavivin450
    @keerthanavivin450 2 роки тому +1

    Amazing video! Loved the way you taught the concept! Thank you!

  • @naampaccchina
    @naampaccchina 4 місяці тому +1

    you are brilliant!

  • @jorgeluizdesantanajunior6775
    @jorgeluizdesantanajunior6775 3 місяці тому

    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.

  • @sop-ubi7578
    @sop-ubi7578 3 роки тому

    Dude I subscribe your channel instantly

  • @royswisa
    @royswisa 4 роки тому +2

    Love it!, can you elaborate on why these are the two reasons we use GLM?

    • @QuantPsych
      @QuantPsych  4 роки тому +1

      Have you watched this video? ua-cam.com/video/-28xXWi9-AU/v-deo.html

  • @sergiomadrigalmora9454
    @sergiomadrigalmora9454 4 роки тому +2

    This is just what I needed

  • @siddhft3001
    @siddhft3001 4 роки тому +1

    Thank you! Amazing video!

  • @raphaelriviere2506
    @raphaelriviere2506 Рік тому +4

    Subscribed! Someone who truly understands their topic can explain it to someone else without jargon and this man does it well!

  • @alirezasadeghi2975
    @alirezasadeghi2975 Місяць тому

    I got headaches from the background music

    • @QuantPsych
      @QuantPsych  Місяць тому

      Classic dilemma: learn stats in the most entertaining way possible, or live without a headache.

  • @amiraal-husseini6547
    @amiraal-husseini6547 7 місяців тому

    Amazing! Thank you!

  • @schylerreis5227
    @schylerreis5227 2 роки тому

    I find the voices annoying…

  • @OscarHernandez-ul5go
    @OscarHernandez-ul5go 4 місяці тому

    Omg I love this

  • @jesush.montero8332
    @jesush.montero8332 4 роки тому +1

    Great explanation!!! In your face Zuur! with all respect :)

  • @maeveleyden1688
    @maeveleyden1688 2 роки тому

    I love you

  • @LuaanaBarros
    @LuaanaBarros 5 місяців тому

    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  4 місяці тому

      Sending congratulations and digital tissues your way!

  • @almostpsych
    @almostpsych 2 роки тому +2

    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!

  • @santiagosotelo6881
    @santiagosotelo6881 Рік тому +2

    big energy in this videos, really necessary in learning interactions! thanks

  • @xxmsp91
    @xxmsp91 Рік тому +1

    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.