Multiple Regression, Clearly Explained!!!

Поділитися
Вставка
  • Опубліковано 21 лип 2024
  • This StatQuest shows how the exact same principles from "simple" linear regression also apply multiple regression. At the end, I show how to test if a multiple regression is better than a simple regression.
    If you'd like to support StatQuest, please consider...
    Patreon: / statquest
    ...or...
    UA-cam Membership: / @statquest
    ...buy my book, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
    statquest.org/statquest-store/
    ...or just donating to StatQuest!
    www.paypal.me/statquest
    Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
    / joshuastarmer
    Correction:
    2:49 I left off some of the parentheses for the equation for F. The numerator should be: (SS(mean) - SS(fit))/(pfit - pmean)
    #statquest #regression

КОМЕНТАРІ • 53

  • @statquest
    @statquest  Рік тому +7

    Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/

  • @jolenegan
    @jolenegan 3 місяці тому +14

    1 million subscribers and John still takes the time to respond to every comment on his videos. Thank you for your help with understanding my assignments!

  • @user-lc9ho9xi3m
    @user-lc9ho9xi3m Рік тому +48

    Universities should just play your course videos in classes instead of making failed attempts in teaching

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

    I'm doing a class presentation on this in graduate school so thank you so much for the help! 😭

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

    真的太感谢了🥲❤️❤️❤️❤️讲的好好

  • @Mostusernamesaretakn
    @Mostusernamesaretakn Рік тому +5

    We need a StatQuest of the FWL theorem! 🙏🏻

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

      Noted

    • @Mostusernamesaretakn
      @Mostusernamesaretakn Рік тому +3

      @@statquest thank you Josh, it’s related to multiple regression and the partialling out of regression coefficients - I’ve just never found a good intuitive explanation in video or text.

  • @3dward838
    @3dward838 Рік тому +3

    If p_multiple > 3, do we generate several F values comparing to simple regressions for each other variable?
    eg. multiple regression for body length vs. mouse weight, tail length, wheel time
    would we have to compare:
    - simple model of body length vs mouse weight and multiple model of body length vs mouse weight, tail length, wheel time
    - simple model of body length vs tail length and multiple model of body length vs mouse weight, tail length, wheel time
    - simple model of body length vs wheel time and multiple model of body length vs mouse weight, tail length, wheel time
    thanks for another excellent video

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

      Yes. You don't have to do every permutation, but it is pretty common to calculate p-values for "all vs all-minus-one" for each variable in the model.

    • @klaudiakornalska1819
      @klaudiakornalska1819 Рік тому

      @@statquest is this describing a process of stepwise regression? Where we test the variables to see, if they have an impact and in the end keep those that did have an impact i.e., significant pa value?

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

      @@klaudiakornalska1819 I think that stepwise regression is related, but has a more formal approach to testing each variable.

  • @utku_bambu
    @utku_bambu Рік тому +5

    thank you for this also, BAM!

  • @parniaahmadi5494
    @parniaahmadi5494 8 місяців тому +1

    Hi Josh, Do you have any video about multicollinearity and Variance inflation factor?

  • @hy7027
    @hy7027 Рік тому

    is there any video for the degree of freedom please? i searched a lot of it but still don’t quite understand why each parameter in regression will “steal” a degree

    • @statquest
      @statquest  Рік тому

      Unfortunately I haven't made that video yet.

  • @gilr.7
    @gilr.7 Рік тому +1

    Thanks a lot for the video!

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

    This is gold

  • @gametech7046
    @gametech7046 Рік тому +3

    Please make a statquest on multivariate linear regression

    • @statquest
      @statquest  Рік тому +3

      Umm... this video is about multivariate linear regression. So is there something else you were getting at?

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

      @@statquest Sorry I thought multiple and multivariate are different.

    • @Hunter-uz9jw
      @Hunter-uz9jw Рік тому

      lol

  • @praneethduggirala5160
    @praneethduggirala5160 Рік тому

    what would be the n value there in multivariate - 3?

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

      It's the number of data points.

  • @SanjaySharma-ys4wr
    @SanjaySharma-ys4wr Рік тому +1

    Well explained

  • @nagaadiga6188
    @nagaadiga6188 Рік тому +7

    That intro😂😂

  • @nilanjana1588
    @nilanjana1588 Рік тому

    please make a video on linear regression assumption.

  • @yeahwhatever7655
    @yeahwhatever7655 7 місяців тому +1

    The intro song!😂

  • @abidhussainwani3028
    @abidhussainwani3028 Рік тому

    What is a dummy variable, sir?

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

      Dummy variables are what we use to replace discrete values in design matrices. For details on design matrices, see: ua-cam.com/video/NF5_btOaCig/v-deo.html and ua-cam.com/video/CqLGvwi-5Pc/v-deo.html

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

    BAM !! ez pz lemon squecy

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

    Josh if i was ____________________________________________REDACTED_______________________________________
    thanks josh.

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

    I felt like I was watching cartoon network lite, not fun when your learning

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

    Who else is singing “stat quest”