How to Interpret a Regression with an Interaction Term

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

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

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

    This is much easier to understand than what chatgpt explained. Thank you!!!

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

    I really love your video. It's the least fancy among other youtube videos, yet the most helpful and straightforward. Thank you for the amazing video!

  • @alan6506305
    @alan6506305 3 года назад +6

    Engaging and interactive as usual, thank you so much for providing this content and the spirits.

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

    Thanks you have save time, Lots of love From India keep Growing

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

    I will be using this reference from now on. Short and to the point.

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

    Ah thank you very much!!!! This has been extremely helpful!

  • @Lin-pj5bo
    @Lin-pj5bo 3 года назад +2

    Very helpful and explicit! Thank you.

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

    thank you soo much, this was really helpful i have an exam tm and this just made things so much easier for me

  • @Seitanistin
    @Seitanistin 5 месяцев назад

    Thanks from a german socioeconomy student! :)

  • @takesuretozooneyi4836
    @takesuretozooneyi4836 9 месяцев назад

    Cool video. Will the interpretation of the interaction coefficient change if we interact two dummy variables?

    • @NickHuntingtonKlein
      @NickHuntingtonKlein  9 месяцев назад

      Stays the same! Just now a "one unit change" can only mean "going from 0 to 1"

    • @takesuretozooneyi4836
      @takesuretozooneyi4836 9 месяцев назад

      @@NickHuntingtonKlein thank you very much

  • @sangcheolsong6530
    @sangcheolsong6530 9 месяцев назад

    one question about three-way interaction terms. Let's label each variable A(main variable), B(1st moderator), C (2nd moderator). I'm interested in (hypothesize) the relationships A-B and A-B-C. Should all two-way (AB, AC, BC) and three-way interaction terms (A * B * C) be included in a regression model and result or would it be fine to include some of interest (AB, ABC) only?

  • @yutazanko
    @yutazanko Год назад

    Hello, thank you very much for the video and the explanation!
    I have a question: I understand with the interaction term we can interpret the impact of age on income for a white-collar worker compared to a blue-collar worker. However, in the regression with the interaction term, is there still a way to interpret a partial effect first of age on income and then a partial effect of job type on income, holding other factors constant? Or does adding the interaction term completely take away the possibility of making conclusions regarding the impact of both factors on their own?
    Thank you very much.

    • @NickHuntingtonKlein
      @NickHuntingtonKlein  Год назад

      You can do this, although you have to do it *at some particular value* of the other variable. Including the interaction term means that there is no longer one single value that represents the effect of the variable, but rather an equation (which you get from the derivative). So you can get the partial effect of one at, say, the mean of the other, or some other value of interest. Or you could get an average partial effect where you get the partial effect for each individual based on their value of the other variable and then average it all together.

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

    Good work Nick

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

    Thanks for the video! One interaction is clear, but how do I deal with several? 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. So, does anyone know how to deal with several significant interactions? And some references / book, where it's clearly written and I can cite. Thanks forward!

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

      If you have four interactions on the same variable they must all be jointly interpreted. This does not necessarily mean you have strong multicollinearity. Same as in the video, take the derivative with respect to the variable you want to know the effect of. With four interactions you will end up with five terms in your derivative. Plug in as normal to get your effect at a given set of values. If you like you can cite chapter 13 of my book, The Effect, on this. See theeffectbook.net

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

      @@NickHuntingtonKlein Thanks a lot! I'll check out your book. It seems very useful!

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

    How would you interpret the white colour coefficient? Is it the same regardless if interaction terms are included or not?

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

      Without the interaction, it's the difference in income between white collar and non-white collar workers. With the interaction, it's the difference *among people of age 0* between white collar and non-white collar workers. Pretty different!

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

    Very clear! I have a question though. When you plug in numbers, did you pick number 1 for white color and 0 for blue color? Is it arbitrary?

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

      Since the variable was "white collar", white was 1 and blue was 0. But the model could have easily been "blue collar" instead. The coefficients would reverse sign but be otherwise the same.

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

    Very helpful for a succinct lecture. I would appreciate it if you add a lesson on subgroup analysis to analyze the homologizer effect (interaction via error term) which is the final stage of moderated regression analysis(MLA) on the .state fro the random effect model

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

      Glad you like the video! I'm probably not making a video on the homologizer effect any time soon, but I am currently releasing a bunch of videos on causal inference

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

      @@NickHuntingtonKlein 🙏 , I will be enjoying them in the future.

  • @CristinaFernandez-f5x
    @CristinaFernandez-f5x Год назад

    Great video and very easy to understand. Is it meaningful to interpret the coefficients of the remaining (non-interacted) covariates?

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

      Thanks! And do you mean the variables not included in the interaction? You can interpret the in the same way as normal

    • @CristinaFernandez-f5x
      @CristinaFernandez-f5x Год назад

      Yes that's right, they would be variables not included in the interaction but added to the regression model as controls. Thank you so much!

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

    very nicely explained. thanks

  • @RichardNeureuther
    @RichardNeureuther Год назад

    Hey great Video. Im currently writing my bachelors thesis and have a fixed effect model with an independent binary variable that has an interaction. So I want to study whether the effect of the binary variable on the dependent variable is increased when the interaction variable is increasing. Does someone know whether I have to include the binary variable and the interaction variable as controll variables as well?

    • @NickHuntingtonKlein
      @NickHuntingtonKlein  Год назад

      Thanks! And yes, you pretty much always want to include the individual variables by themselves in addition to the interaction term. Otherwise the interpretation gets very strange.

  • @ski34able
    @ski34able 6 месяцев назад

    Very helpful thanks!

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

    Hi, would you make a video on time-series regressions, such as ARDL, VAR, VEC and ARIMA? Additionally, if you could cover panel data. Sorry, I know these are not small topics, and it is a lot. I have somewhat of an understanding, but it would be great to find a good informational video clearly explaining the methods, concepts and results of these models.
    Thanks!

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

      I'm not the best person to make time series videos, really, as I don't do much time series. I have plenty of panel data related videos though!

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

    Very helpful! Thanks a lot!

  • @TinaTina-xn9on
    @TinaTina-xn9on 2 года назад

    Thank you sir. If my research purpose does not care about age and white-collar, but it cares about age*white-collar. Can I perform the regression like (income= b0 + b1age*white-collar + u) or I must perform it as (income= b0 +b1age +b2white-collar + b3age*whitecollar)? Thank you so much

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

      You need the individual components as well (age and white-collar by themselves) or else the interaction term cannot be interpreted the same way. It's pretty rare you want to leave them out even if you're not interested in them directly.

    • @TinaTina-xn9on
      @TinaTina-xn9on 2 года назад

      ​@@NickHuntingtonKlein I do not know what to do. I want to test 3 hypotheses:
      (1) The impact of X on Y.
      (2) The impact of X on Z.
      (3) Does Y impact Z in the presence of X.
      I assumed I can test the 3ed hypothesis by multiplying Y by X and Z by X then I do this regression.
      ZX= B0 + B1YX + u.
      Thank you for answering me. I did not expect that the author of the Effect book would talk to me!! You are so humble.

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

      @@TinaTina-xn9on Thanks!
      I'm not sure what you mean by "in the presence of X" - do you mean does Y impact Z when X = 1? In that case I might run Z = B0 + B1Y + u but only use the subsample for which X = 1.

    • @TinaTina-xn9on
      @TinaTina-xn9on 2 года назад

      @@NickHuntingtonKlein Yes. It is exactly like what you said X=1. But I can not go with subsample, because the subsample panel will become unbalanced by a lot. 😵‍💫😵‍💫😵‍💫😵‍💫
      ....

    • @TinaTina-xn9on
      @TinaTina-xn9on 2 года назад

      I do not know even what is subsample. I am going to read about it. Thank you

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

    Thank you. Simple and clear.

  • @KanXu-h4h
    @KanXu-h4h 3 года назад

    Very well explained! Thanks.

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

    Hello Nick. Is there a way I can send a question on an issue with regression results on R? I would like to send the code (short) and the results to you?

  • @desperatewanderer742
    @desperatewanderer742 Год назад

    this is amazing, thank you!

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

    Hi! I have a question. If I have UA as my moderator, should I;
    1. First make regression with the dependent var, independent var, UA. Then, regress with dependent var, independent var, UA, and interaction term.
    2. Immediately regress with dependent var, independent var, UA, and interaction term.
    Hopefully you can help me!

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

      Probably just #2, unless you also want to see the unmoderated effect as well

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

    Hello, thanks for your content! It could more "understandable" if you show real output model from any package for example.

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

      I'd recommend checking out my econometrics series of videos - I do that there

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

    Very clear. Thank you.

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

    I was hoping for more in-depth discussion of interaction terms. It was just a blip at the end.

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

      You might prefer this one ruclips.net/video/mD9hSCfcd-o/видео.html

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

    Hello Nick, I wonder to know how I can calculate economic significance in my logit regression? I've seen it in finance papers besides coefficient and z-statistics. Appreciate your help.

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

      Do you mean statistical significance? That should be automatically printed by most regression-table software. It's the stars, or the p-value.

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

      @@NickHuntingtonKlein Thank you for the reply. Actually, it is economic significance that indicates the probability change in the dependent variable due to a one-standard-deviation increase in an independent variable.

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

      @@niloofarkoochmeshki6956 oh, okay. I wouldn't call that economic significance but that's just a cross-field difference in terminology. You can get that by standardizing your predictor variables (subtracting the mean and then dividing by the standard deviation) and rerunning the model.

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

    You are my hero

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

    Thank you!

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

    thank youuuu :)

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

    So basically, just plug in values and work out the whole equation? Then plot the differences w/ confidence intervals.

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

      Yep

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

      @@NickHuntingtonKlein gotcha. And with logit models it's probably best to plot that out with predicted probabilities?

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

      @@papitasdelaperra4198 correct. See Ai and Norton 2003 for additional detail on that

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

    Kindly add subtitles. You are too fast for the people who speak English as 2nd language. Thank you