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

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 104

  • @QuantPsych
    @QuantPsych  8 месяцев назад

    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.

  • @Bethydawn
    @Bethydawn 3 дня назад

    You are the only reason I'm understanding and therefore passing my research methodologies class. THANK YOU.

  • @onionshark
    @onionshark Год назад +13

    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

  • @tritiyo_noyon
    @tritiyo_noyon 2 года назад +9

    this channel is underrated beyond belief

  • @carylelainecastaneda5924
    @carylelainecastaneda5924 5 месяцев назад +1

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

  • @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

  • @raphaelriviere2506
    @raphaelriviere2506 2 года назад +4

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

  • @LuaanaBarros
    @LuaanaBarros 7 месяцев назад

    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  6 месяцев назад

      Sending congratulations and digital tissues your way!

  • @michelle-yh2do
    @michelle-yh2do 3 года назад +2

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

  • @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.

  • @dataman6744
    @dataman6744 2 года назад +2

    the best explanation of interation I ever heard!!

  • @rohitnath5545
    @rohitnath5545 3 года назад +2

    the most amazing video on interactions

  • @JayeshRaoexplorer
    @JayeshRaoexplorer 3 года назад +2

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

  • @rapmantheoneman
    @rapmantheoneman Год назад +1

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

  • @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

  • @shane7647
    @shane7647 4 года назад +8

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

  • @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!

  • @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!

    • @QuantPsych
      @QuantPsych  4 года назад +1

      Awe, shucks :). Thanks!

  • @hm.91
    @hm.91 2 года назад +1

    Great video! I always come back to this one!

  • @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.

  • @taranaferdous2858
    @taranaferdous2858 Год назад +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! 😂😂😂

  • @santiagosotelo6881
    @santiagosotelo6881 2 года назад +2

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

  • @itaihoffman
    @itaihoffman 2 года назад +2

    Thank you for the useful information

  • @ahmedelkholy1323
    @ahmedelkholy1323 Год назад +2

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

  • @statapprendra2183
    @statapprendra2183 3 года назад +2

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

  • @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.

  • @KarlaOrozcoTorres
    @KarlaOrozcoTorres 4 месяца назад

    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.

  • @valeriewong2107
    @valeriewong2107 2 года назад +2

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

  • @Quijanos1
    @Quijanos1 2 года назад +1

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

  • @keerthanavivin450
    @keerthanavivin450 2 года назад +1

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

  • @wattel0013
    @wattel0013 Год назад +2

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

  • @JT-ph3hk
    @JT-ph3hk Год назад +1

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

  • @prasanthpeddaayyavarla3391
    @prasanthpeddaayyavarla3391 4 года назад +2

    awesome explanation. subscribed straight away. thank you.

  • @feurigerStern
    @feurigerStern 2 года назад +1

    Love your energy

  • @tutoro5567
    @tutoro5567 Месяц назад +1

    great video

  • @naampaccchina
    @naampaccchina 6 месяцев назад +1

    you are brilliant!

  • @pavloszournatzidis
    @pavloszournatzidis Год назад +1

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

  • @Lhcav
    @Lhcav 4 года назад +2

    Many many thanks. Great explanation indeed

  • @thelioness3956
    @thelioness3956 3 года назад +2

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

  • @victorantunes3357
    @victorantunes3357 8 месяцев назад

    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!

  • @huey7-r7d
    @huey7-r7d 4 года назад +2

    Great stuff

  • @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?

  • @kayn1760
    @kayn1760 2 года назад +1

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

  • @LucidVision1
    @LucidVision1 Год назад +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.

  • @carlaocano6660
    @carlaocano6660 2 года назад +1

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

  • @orlandoflaco
    @orlandoflaco 2 года назад +2

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

  • @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? ruclips.net/video/-28xXWi9-AU/видео.html

  • @sjoerd1354
    @sjoerd1354 3 года назад +2

    Thanks for the clear and funny explanation! :D

  • @nasiakal
    @nasiakal Год назад +1

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

  • @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?

  • @dataman6744
    @dataman6744 3 года назад +2

    so good

  • @WorldOfJD
    @WorldOfJD 3 года назад +7

    The introvert labelling doesn't seem right.

  • @adarshnamdev5834
    @adarshnamdev5834 2 года назад +1

    Beautiful explanation Quant Psych

  • @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!

  • @violeta-sabinaciobanu559
    @violeta-sabinaciobanu559 3 года назад +1

    thank you- you are AWSOME!

  • @chaytanyakumar8939
    @chaytanyakumar8939 3 года назад +2

    Perfect!!

  • @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

  • @sergiomadrigalmora9454
    @sergiomadrigalmora9454 4 года назад +2

    This is just what I needed

  • @andressatb3908
    @andressatb3908 3 года назад +2

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

  • @fernandojackson7207
    @fernandojackson7207 11 месяцев назад

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

  • @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!

  • @namatamasiyumbwa868
    @namatamasiyumbwa868 2 года назад +1

    Thank you so much !!!

  • @amiraal-husseini6547
    @amiraal-husseini6547 9 месяцев назад

    Amazing! Thank you!

  • @irilenalinardaki1513
    @irilenalinardaki1513 3 года назад +2

    I LOVE YOU!

  • @jorgeluizdesantanajunior6775
    @jorgeluizdesantanajunior6775 4 месяца назад

    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  4 месяца назад

      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.

  • @vuhien9756
    @vuhien9756 2 года назад

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

  • @siddhft3001
    @siddhft3001 4 года назад +1

    Thank you! Amazing video!

  • @babyroo555
    @babyroo555 2 года назад +1

    I LOVE YOU 😄😄😄

  • @OscarHernandez-ul5go
    @OscarHernandez-ul5go 6 месяцев назад

    Omg I love this

  • @Cooking4me_928
    @Cooking4me_928 3 года назад +1

    Your amazing, 👏

  • @yuzaR-Data-Science
    @yuzaR-Data-Science 2 года назад +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  2 года назад

      It sound like you probably have too many variables. See this video: ruclips.net/video/AhY0TyFZiqg/видео.html

    • @yuzaR-Data-Science
      @yuzaR-Data-Science 2 года назад

      @@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 ;)

  • @samiahussain8316
    @samiahussain8316 8 месяцев назад

    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.

  • @sop-ubi7578
    @sop-ubi7578 3 года назад

    Dude I subscribe your channel instantly

  • @katiejones3173
    @katiejones3173 2 года назад +1

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

  • @mishmish6793
    @mishmish6793 3 года назад +2

    You made me laugh :)

  • @jesush.montero8332
    @jesush.montero8332 5 лет назад +1

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

  • @karolinesachse4514
    @karolinesachse4514 2 года назад +1

    the introvert labels have to be inverted

  • @flash2hridya
    @flash2hridya 2 года назад +1

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

    • @babyroo555
      @babyroo555 2 года назад +1

      what's effect modification?

  • @nimidi2568
    @nimidi2568 2 года назад +1

    Good points but chaotic video with bad background sound

  • @maeveleyden1688
    @maeveleyden1688 2 года назад

    I love you

  • @a-sadeghi-md
    @a-sadeghi-md 3 месяца назад +1

    I got headaches from the background music

    • @QuantPsych
      @QuantPsych  3 месяца назад

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

  • @carlosllosa3345
    @carlosllosa3345 2 месяца назад

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

    • @QuantPsych
      @QuantPsych  2 месяца назад

      No, you are wrong. I am explaining interactions.

  • @haiyingwang5987
    @haiyingwang5987 3 года назад +2

    Too distracting and chaotic

    • @henri1_96
      @henri1_96 3 года назад

      fair enough. He does explain this very well regardless.

  • @dverdin72
    @dverdin72 3 года назад +2

    your display of anxiety is giving me anxiety ...

  • @schylerreis5227
    @schylerreis5227 2 года назад

    I find the voices annoying…