Тёмный

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

Mike Crowson
Подписаться 39 тыс.
Просмотров 35 тыс.
50% 1

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

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@sandiprijal9521
@sandiprijal9521 2 года назад
You are the savior as all my classmates are using SAS and I am the only guy using R. Thanks Mike
@nilufarrashitova3254
@nilufarrashitova3254 3 года назад
Mike, you made a great job! Thank you so much!!! Explained in detail.
@letho3110
@letho3110 3 года назад
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!
@hayatizengin6483
@hayatizengin6483 3 года назад
Thank you very much. Not tried yet but looking for this since 2 days
@thebutcher573
@thebutcher573 2 года назад
honestly man thank you, you're a life saver
@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.
@ethanthealien
@ethanthealien 4 года назад
This is fantastic ! Thank you. =)
@wildvineyard
@wildvineyard 4 года назад
Very useful! Thank you!
@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?
@kelvinkipsang3600
@kelvinkipsang3600 2 года назад
Thank you so much,for deeper explanation
@acpdevo
@acpdevo 3 года назад
Dr. Crowson Good work!
@galan8115
@galan8115 4 года назад
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).
@sabrinaladouali5020
@sabrinaladouali5020 Год назад
thank you so much sir , such a great video
@bachlam9841
@bachlam9841 3 года назад
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?
@reshmawagh8355
@reshmawagh8355 2 года назад
Thanks a lot sir.... very informative..
@larryboateng1452
@larryboateng1452 3 года назад
Thank you for this
@ahmedelbeltagi6132
@ahmedelbeltagi6132 3 года назад
An attractive video show, thanks so much
@denSILVA25
@denSILVA25 4 года назад
Thank you very much! When I run FWDfit.p
@ishmanedu
@ishmanedu 3 года назад
good job done.
@shoumicshahid9315
@shoumicshahid9315 4 года назад
Hello, I have a question. Can we use this for ordinal logistic regression? I used mass package to perform my ordered logit model
@jeffreylau2093
@jeffreylau2093 4 года назад
how is this process done for a logistic regression (binary) model?
@KareemLongwe
@KareemLongwe 3 года назад
Thanks for the video. How can I do variable selection for the linear mixed model
@krishnaiyer2556
@krishnaiyer2556 2 года назад
EXCELLENT
@wasafisafi612
@wasafisafi612 Месяц назад
Thank you so much
@edmondmalepane3141
@edmondmalepane3141 Год назад
Thank you
@marjanhajizadeh5213
@marjanhajizadeh5213 3 года назад
Thanks you for the video .I have a huge data with 537 obs of 22 variables. I couldn't do the modcompare
@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
@shahja4497
@shahja4497 4 года назад
Would you please describe the process of these model selection process (forward/backward stepwise regression) in MATLAB?
@DB-in2mr
@DB-in2mr 4 года назад
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 :)
@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
@davemakafui4367
@davemakafui4367 4 года назад
thanks
@hai-hoanguyen6653
@hai-hoanguyen6653 4 года назад
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
@edmondmalepane3141
@edmondmalepane3141 Год назад
dear mike , This line FWDfit.p
@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 Год назад
what did i do wrong if um only getting the summary after fitting the forward selection
@edmondmalepane3141
@edmondmalepane3141 Год назад
Do you also fit lasso regression
@spencerantoniomarlen-starr3069
I am getting completely different results, could this be because you didn't set a seed before running your regressions?
@kevins6732
@kevins6732 3 года назад
How can you do this for logistic regression?
@jolima2045
@jolima2045 8 месяцев назад
please how to do step with glmer? Is there a package?
@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
@refji8378
@refji8378 4 года назад
Extended regression models dear 😉🤝💪
@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 года назад
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 года назад
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 года назад
Unless the package gets retired or degraded, it should work with later versions of R
@odudeyusuf5644
@odudeyusuf5644 3 года назад
Okay. I'll try and install the 4.2.0
@odudeyusuf5644
@odudeyusuf5644 2 года назад
Is it a must I get the same model when I used forward selection or backward selection
@mikecrowson2462
@mikecrowson2462 2 года назад
@@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 Год назад
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!
Далее
R package reviews | glmulti | Find The Best Model !
13:27
The lightweights ended Round One with a BANG 💪
00:10
Иран и Израиль. Вот и всё
19:43
Просмотров 1,5 млн
ТЫ С ДРУГОМ В ДЕТСТВЕ😂#shorts
01:00
Regression analysis in R: backward selection
22:42
Просмотров 4,2 тыс.
Stepwise Regression
11:30
Просмотров 104 тыс.
Adding variables to your multiple regression model
28:40
The lightweights ended Round One with a BANG 💪
00:10