Це відео не доступне.
Перепрошуємо.

Variable selection procedures in R: Forward, backward, stepwise, and best-subsets regression (2020)

Поділитися
Вставка
  • Опубліковано 6 сер 2024
  • This video demonstrates the use of the R package 'olsrr' to carry out various variable selection procedures (forward regression, backward regression, stepwise regression, all subsets/best subsets regression). A copy of the text file referenced in the video can be downloaded here (drive.google.com/open?id=1l_z...) .
    A copy of the .RData file can be obtained here drive.google.com/file/d/1_cRu...
    A Powerpoint containing supplemental information can be downloaded here: drive.google.com/open?id=1F5u...
    Link to 'olsrr' package documentation: cran.r-project.org/web/packag...

КОМЕНТАРІ • 60

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

    You are the savior as all my classmates are using SAS and I am the only guy using R. Thanks Mike

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

    Mike, you made a great job! Thank you so much!!! Explained in detail.

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

    Thank you so much Prof. Crowson for this very insightful video and also the additional educational materials. They have been very useful to me as a PhD candidate and I am very happy that I found your video.

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

      You are very welcome! Best wishes in your studies!

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

    honestly man thank you, you're a life saver

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

    Thank you very much. Not tried yet but looking for this since 2 days

  • @ethanthealien
    @ethanthealien 4 роки тому

    This is fantastic ! Thank you. =)

  • @wildvineyard
    @wildvineyard 4 роки тому

    Very useful! Thank you!

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

    Thank you so much,for deeper explanation

  • @MrAMerang
    @MrAMerang 8 місяців тому

    Thank you so much for sharing. I watched so many before I found your video and they were either using other softwares, not very clear or not covered the key points like the one at the end on "best subset" r function.

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

    Dr. Crowson Good work!

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

    An attractive video show, thanks so much

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

    thank you so much sir , such a great video

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

    Thank you for this

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

    Thanks a lot sir.... very informative..

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

    Hello Mike, thank you for providing the best description of these methods! One question I have is...do I always just use the best subset method to find my model? If not, when should I use forward vs. backward?

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

    Thank you so much

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

    Good evening Mike, first of all thank you for the video :D. And second, does olsrr works with logistic regression? What i've read is just for linear models, (lm class, and not glm).

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

    EXCELLENT

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

    good job done.

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

    Thank you

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

    Hi Mike Crowson, your video provides the best explanation that I can find so far. Thank you a lot for making this video. I have some concerns related to applying this package to my project. Would you mind if I can contact you to ask for some advice?

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

    Hello, I have a question. Can we use this for ordinal logistic regression? I used mass package to perform my ordered logit model

  • @denSILVA25
    @denSILVA25 4 роки тому

    Thank you very much! When I run FWDfit.p

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

    how is this process done for a logistic regression (binary) model?

  • @HarpreetKaur-bx1ej
    @HarpreetKaur-bx1ej 2 роки тому

    When i am running ols step forward p i am getting na in two of rows which are in including parts of variable

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

    Thanks for the video. How can I do variable selection for the linear mixed model

  • @shahja4497
    @shahja4497 4 роки тому

    Would you please describe the process of these model selection process (forward/backward stepwise regression) in MATLAB?

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

    Thanks you for the video .I have a huge data with 537 obs of 22 variables. I couldn't do the
    modcompare

  • @DB-in2mr
    @DB-in2mr 4 роки тому +2

    After this one Mike, (great again!) what about something on ridge, lasso elastic net regularization methods,... and ...then please make an entry on Machine Learning methods...courious to check out how you tackle them : ) Daniele

    • @mikecrowson2462
      @mikecrowson2462  4 роки тому

      Hi Daniele, thanks for your message. Those are not procedures that I'm up on at this point. However, I DO enjoy learning new things, so I'll certainly see what I can do to oblige :)

  • @davemakafui4367
    @davemakafui4367 4 роки тому

    thanks

  • @hai-hoanguyen6653
    @hai-hoanguyen6653 4 роки тому +1

    Great job! please me tell the package of "olsrr" works well with which version of R? 3.6.2 seems not to be suitable?

    • @galan8115
      @galan8115 4 роки тому

      It works in mine, and i got R\R-3.6.2

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

    nice video, just wanted to know any similar package for Poisson regression analysis

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

    nice video, is there any similar function for using Poisson regression

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

    what did i do wrong if um only getting the summary after fitting the forward selection

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

    Do you also fit lasso regression

  • @manishadinesh2797
    @manishadinesh2797 8 місяців тому

    Hi , can i get more information on the dataset what are we analyzing? can I get description of the variables?

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

    Does this fit only the forward selection ?
    Using the o value method

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

    dear mike , This line FWDfit.p

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

    How can you do this for logistic regression?

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

    Extended regression models dear 😉🤝💪

  • @sarbajitg
    @sarbajitg 4 роки тому

    Sir, what is the procedure for step-wise regression, does it starts from full model then add/remove or it starts from NULL model and then add/remove variables. In step-wise regression what is the sequence action I am little confused.

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

      depend if you choose forward or backward selection

  • @jolima2045
    @jolima2045 8 місяців тому

    please how to do step with glmer? Is there a package?

  • @spencerantoniomarlen-starr3069

    I am getting completely different results, could this be because you didn't set a seed before running your regressions?

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

    Isn't a smaller value of AIC better than a larger one?

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

      Yes. When using Aic to compare models, the model with the smaller Aic is preferred.

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

    Pls The olsrr package doesn't work on my system. It's saying the package is developed under R 4.2.0.
    Any suggestions pls
    I've an assignment to submit by monday

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

      I believe it should work. When you type library (olsrr) it will likely say what version of R it was developed on. This is generally the case when you call up any package. You should be able to use the olsrr functions after calling it up

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

      Unless the package gets retired or degraded, it should work with later versions of R

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

      Okay.
      I'll try and install the 4.2.0

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

      Is it a must I get the same model when I used forward selection or backward selection

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

      @@odudeyusuf5644 Forward and backward selection are two different empirically-based variable selection procedures. Sometimes they can yield the same model, but they can also yield different results. It really depends on your preference for selecting predictors for your model. You don't generally choose an approach based on what it gives you, but rather your reasons for a particular strategy for empirically-based entering or deletion of variables. Cheers!

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

    Hi Mike, a student was using this video for one of my classes and they shared the link for the regData is dead.

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

      Hi Ryan, thanks for letting me know! It's driving me crazy that some of these links have stopped working. I've fixed the link under the video description, so your student should be good to go. I appreciate it!

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

      @@mikecrowson2462 I definitely felt like a bit of a turd putting that comment in there just now. Thank you for fixing it though. I appreciate it very much!

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

      @@drryangagnon Hi Ryan, it's all good. I appreciate you letting me know. You have a great evening!