Stepwise Regression

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • Video presentation on Stepwise Regression, showing a working example. Stepwise regression is a variable-selection method which allows you to identify and select the most useful explanatory variables from a list of several plausible independent variables.

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

  • @mashaeldewan469
    @mashaeldewan469 6 лет назад +30

    Thank you soooo much. I am a PhD student and stat was about to drive me CRAZY. please keep posting, your videos are GREAT.

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

    Professor Obi is definitively one of the greatest on RUclips. I'm really glad that there are people like you in the world.

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

      You are right. Excelent presentation.

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

    I'm doing my undergrad research using the SCOR model, besides using AHP, fuzzy set theory and other PhD level tools to analyse the model the stepwise regression is the easiest for someone like me. Sadly, this was not taught to me on my lectures. I want you to know that your video made me increase my conviction to continue doing my research! All the love man!!

  • @user-rg5gd1jb9n
    @user-rg5gd1jb9n Год назад

    EXCELLENT explanation and example that clearly demonstrated how to conduct stepwise regression! Thank you!

  • @SATaylor618
    @SATaylor618 5 лет назад +3

    Thank you!!!! I was searching all over for the difference between forward and step-wise. You are the first one I could find (after over AN HOUR of searching) with a clear explanation. Thank you soooooo much!

  • @4wanys
    @4wanys 3 года назад

    This old video is the only video that made me understand

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

    very informative and i love your analogies with the fishing and not needing too many spices to make your cooking taste good. thank you!

  • @julianerasmus7540
    @julianerasmus7540 5 лет назад +1

    Great video. I hadn't done stepwise in over 10 years and just needed a little refresher and this was GREAT!!

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

    It was super lucky for me to have met this video before conducting regressions

  • @abderahmanrejeb4423
    @abderahmanrejeb4423 6 лет назад +2

    you have a magic style in explaining and making things so clear Myriad thanks

  • @music_loong
    @music_loong 6 лет назад +1

    You are the greatest teacher ever.

    • @PatObi
      @PatObi  5 лет назад

      Wow, thank you!

  • @magorzatarams6763
    @magorzatarams6763 5 лет назад +3

    Thank You, this is the best explanation of this topic I've seen

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

    Brilliant and calm presentation, helped me a lot! Thank you so much!

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

    Very nice, just added this to my students' reading list!

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

      Thank you.

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

    Thank you very much, Pat! I am finally able to understand stepwise regression!

  • @dengdengkenya
    @dengdengkenya 6 лет назад +1

    Thank you for sharing this lecture. Great and concise explanation of stepwise regression!

  • @Lucykanya
    @Lucykanya 7 лет назад +1

    Many thanks for sharing this - couldn't have been clearer. I should have started here!

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

    Yayyyyyy! This was excellent! PhD student as welllllll! Hi five!

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

    Very easy to understand after hours struggling to. Thank you!

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

    great explanation - I needed a refresher, thanks!

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

    Thank you so much! This explanation was great! You won a new fan! =D

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

    Excellent. learn a lot easy to follow. Thank you.

  • @connorjoyce1257
    @connorjoyce1257 6 лет назад +1

    Very helpful! Thank you for the explanatory video!

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

    This was so clear. Thanks so much!

  • @tiaemilie8
    @tiaemilie8 5 лет назад +1

    Thank you so much for this, found it very helpful for my stats assignment!

  • @senioroduro1005
    @senioroduro1005 6 лет назад +1

    Bro, You are the best!

  • @OnlyTeaGuru
    @OnlyTeaGuru 7 лет назад +1

    thanks for the explanations!! Very helpful videos. Regression in SPSS > Regression in Sas

  • @jackhenry4785
    @jackhenry4785 5 лет назад +2

    thank you .you've made it simple and understood

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

    Great explanation Thanks

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

    Brilliant! Thank you

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

    Brilliantly explained, makes it much easier to implement this on python haha, thank you m8!

  • @wumj2412
    @wumj2412 5 лет назад +1

    Very clear explanation thank you

  • @jordan2172
    @jordan2172 5 лет назад

    Fantastic explanation! Thanks for making it easy to understand :)

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

    This is a very good presentation. Thank you for this. Still, I have one confusion, why you didn't see the p-value in every step? Why only in step 4?

  • @manasatilakraj1289
    @manasatilakraj1289 6 лет назад +2

    Why do see the p value in step 4 and not in the previous steps.
    How did you conclude that they are not ststistically significant??

    • @PatObi
      @PatObi  6 лет назад +1

      If p-value < alpha, the coefficient is significant. If p-value > alpha, the coefficient is not significant.

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

    Thany you so much !!!!!!!!!!!

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

    it was very helpful, thanks a lot.

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

    great explanation...Thank you...you are DUDE...................

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

      You're welcome!

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

      @@PatObi could you please create a video on qq plot ?

  • @sandranino5140
    @sandranino5140 5 лет назад +1

    AMAZINGGGGGGGGGGG. NOW I CAN DO MY HOMEWORK FOR ANALYTICS

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

    BEATIFUL!!

  • @reajulchowdhury8534
    @reajulchowdhury8534 6 лет назад +1

    Very helpful

  • @dimitris303
    @dimitris303 5 лет назад +3

    Dear Obi I found you video extremely helpful! Is it possible to share also your presentation?
    Thnx in advance!

    • @PatObi
      @PatObi  5 лет назад

      Thanks. I can send a pdf copy.

    • @dimitris303
      @dimitris303 5 лет назад

      @@PatObi you are great! Sincere thanks once again! My email is anastasioud[at]aueb[dot]gr

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

    Thank you for explaining it well. I have a query if you can be a help. if we are having Rsquare value in 1st step of stepwise regression and having a t-test table for 4 step regression table , how could I calculate R-square value for step 2.

  • @cyborgxxi
    @cyborgxxi 7 лет назад +1

    interesting approach!

  • @magdalenagutierrez7260
    @magdalenagutierrez7260 8 лет назад +3

    Thank you this was a great explanation.

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

    Thanks for a well explained video! I hope you can also share us your csv/excel file so that we can work on it too and experiment.

  • @billaspiel
    @billaspiel 5 лет назад +1

    Hi Obi,
    Thanks for this tutorial . I have one query .
    Do we need to check if p-value < alpha(0.05) in step 1,2,3 as well ?
    if that is the case then From the list of avaible p-values ( p-value < alpha) we need to choose the highest absolute tvalue in it .
    is my understanding right ?
    because only in the step 4 i could see all pvalues > alpha (0.05)

    • @PatObi
      @PatObi  5 лет назад +1

      Yes, you go for the highest absolute t. But also, the p-value corresponding to that t has to be less than alpha.

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

    I like the analogies: comrade & spice

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

    Agree with the use of t-stat and p-value, but shouldn't we also check the adjusted R-square before adding further variables?

  • @EcoresolveInc
    @EcoresolveInc 7 лет назад +1

    Great video!!

  • @empiricistsacademy7181
    @empiricistsacademy7181 6 лет назад

    Awesome video, thanks!

  • @luiszmaciasvalade5807
    @luiszmaciasvalade5807 7 лет назад +1

    Muy claro, gracias

  • @nileshaqua
    @nileshaqua 7 лет назад +1

    Awesome !! Boiler UP :)

  • @flyskypear
    @flyskypear 7 лет назад +1

    very clear. Thank you.

  • @yuhanpan5834
    @yuhanpan5834 5 лет назад

    Great video! I have a couple questions. 1) when you said X5+X2, does it simply mean the two numbers adding together? Or do you multiply X5 by the coefficient, and then add X2? 2) How do you determine Beta 0?

    • @PatObi
      @PatObi  5 лет назад

      X5+X2 simply means X5 and X2

    • @yuhanpan5834
      @yuhanpan5834 5 лет назад

      @@PatObi Thank you so much for your respond. I watched the previous videos and it became much more clear.

    • @fedor6600
      @fedor6600 5 лет назад

      @@PatObi hi prof. pat, how do i get the beta coefficient 0 or B0?

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

    Hello Dr Pat Obi, thank you for your great efforts and sharing. May I ask for a question? At Step 2, may I know how did you calculate the X5+X1 for b2(0.001), t-statistic(1.422), and p-value(0.162)? I tried to sum up the numbers by X5+X1 from Step 1, but I couldn't get the same numbers. May I know how should I calcuate them correctly? Thank you for your advice in advance. Regards, Raymond from Hong Kong and Macau

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

      Thanks for the question, Raymond. Each step is a separate regression, independent of the regression in the previous step. In this step, the regression is: Y = B0 + B1X5 + B2X1. The coefficients and stats are obtained from running this regression.

  • @g.r.bayazid1546
    @g.r.bayazid1546 6 лет назад +1

    Thank you

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

    Clair comme l'h2o de roche. thks

  • @yassinwessam3500
    @yassinwessam3500 6 лет назад +1

    Thanks a lot

  • @aakupsp
    @aakupsp 4 года назад

    I have a question. I am trying to find the correlation between multiple signals. Is this a good technique to apply to find which signals are flat signals and present very little correlation between other signals?

  • @peanutbrittle7577
    @peanutbrittle7577 5 лет назад

    Sir sorry can I ask another question because I was studying this subject in Udemy; instead of taking the independent variable according to the t-statistic, they take the one with the lowest P-value. I read in the following comments in this video that was possible too. However, in scenarios that both of the independent variable having the same P-value or t-statistic, which one is taken to the basket? Thank you so much

    • @PatObi
      @PatObi  5 лет назад

      You could select both, in so far as they are both statistically significant.

  • @peanutbrittle7577
    @peanutbrittle7577 5 лет назад

    Hello sir @7:26 of the video, why did you select X4? It's t- value was the least actually because it's 'negative' 2. Please correct me if I were wrong, shouldn't that be X1 '

    • @PatObi
      @PatObi  5 лет назад +1

      Please refer to 1:56 minute of the video. It's based on the ABSOLUTE VALUE of the t statistics.

    • @peanutbrittle7577
      @peanutbrittle7577 5 лет назад +1

      Pat Obi oh yes its absolute thank u so much sir

  • @r.a.5625
    @r.a.5625 5 лет назад

    Hi. So, are we doing the same process for all control variables such as demographic variables we include in the model? Thank you.

    • @PatObi
      @PatObi  5 лет назад

      So sorry for late response. In my opinion, the process should apply to all variables. However you should retain any variables you feel particularly confident should be retained in the final model regardless of what the process suggests. This is because a regression model should have sound logic and theory. Refer to the final part of the video.

  • @derrik-bosse
    @derrik-bosse 6 лет назад

    What made you decide to go with a four variable model as opposed to a say, 3 variable model?

    • @PatObi
      @PatObi  6 лет назад

      Thanks Derrik, for your Q. The final model - shown in the 8th min - was simply based on the forward-selection criterion, described earlier in the 2nd min.

  • @TheOraware
    @TheOraware 5 лет назад

    Thanks for it, but here in stepwise regression there is penalty used in form of AIC , without this penalty term is it not same as simple Forward selection which is purely a greedy approach?

    • @PatObi
      @PatObi  5 лет назад +1

      You could say that!

    • @TheOraware
      @TheOraware 5 лет назад

      @@PatObi you mean to say both are correct , i can say this video describing as stepwise regression without AIC penalty term? I think something more detail you could give me for my understanding please. There is difference of stepwise regression and simple forward how can i say this video as describing stepwise regression without objective function AIC?

    • @PatObi
      @PatObi  5 лет назад

      @@TheOraware Sorry, I'm unfamiliar with the application of AIC in this rather simple variable selection process. Please check other sources help.

  • @luyennguyen-ri9kp
    @luyennguyen-ri9kp 4 года назад

    How about the logistic regression.Can we use this way to find the best logistic regression model?

    • @PatObi
      @PatObi  4 года назад

      I'm not sure Van. As you know, the logit model stimates probabilities using max likelihood. Perhaps it might be more suited for the linear probability model which estimates probabilities using OLS.

  • @sandyyuumr4644
    @sandyyuumr4644 6 лет назад

    how about if the variable is latter ? how can i regression on latter variable ?

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

    - 2 would not be the lowest?

  • @richardfamson1182
    @richardfamson1182 4 года назад

    how did you regress 2 or more variables with y? and also can i get your data pls? thanks

    • @PatObi
      @PatObi  4 года назад

      If using Excel, place the columns of the independent variables side by side. Sorry, the data are not available for sharing.

    • @richardfamson1182
      @richardfamson1182 4 года назад

      I see.... Thank you so much!

  • @batrapiyushajay8771
    @batrapiyushajay8771 7 лет назад

    Can we get any link which directs us to the dataset used in the video ?

    • @PatObi
      @PatObi  7 лет назад

      BATRA PIYUSH AJAY I'm sorry, it's not available for general use. Hopefully though the video is helpful.

    • @batrapiyushajay8771
      @batrapiyushajay8771 7 лет назад

      Oh, alright. I have a question. In MATLAB, how does the stepwiselm function work ? Does it only perform forward stepwise or backward stepwise or uses both ?

  • @thomasleong3510
    @thomasleong3510 7 лет назад

    i think is select the lower p - values

    • @PatObi
      @PatObi  7 лет назад +1

      thomas leong: Yes, you can use that criterion too.

  • @fedor6600
    @fedor6600 5 лет назад

    @Pat Obi hi prof. pat, how do i get the beta coefficient 0 or B0?

    • @PatObi
      @PatObi  5 лет назад

      By running the regression

  • @karzatben8828
    @karzatben8828 5 лет назад

    @pat obi: can u show logistic reg

    • @PatObi
      @PatObi  5 лет назад

      I have complete RUclips videos on logit regressions. Please visit my channel.

  • @hollywood632
    @hollywood632 4 года назад

    throw x4 into the basket to be with his other friends, x1 and x2. lololo

  • @m35926
    @m35926 6 лет назад

    You sound like Gus Fring

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

    AU RAID