Це відео не доступне.
Перепрошуємо.
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...
You are the savior as all my classmates are using SAS and I am the only guy using R. Thanks Mike
Mike, you made a great job! Thank you so much!!! Explained in detail.
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.
You are very welcome! Best wishes in your studies!
honestly man thank you, you're a life saver
Thank you very much. Not tried yet but looking for this since 2 days
This is fantastic ! Thank you. =)
Very useful! Thank you!
Thank you so much,for deeper explanation
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.
Dr. Crowson Good work!
An attractive video show, thanks so much
thank you so much sir , such a great video
Thank you for this
Thanks a lot sir.... very informative..
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?
Thank you so much
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).
EXCELLENT
good job done.
Thank you
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?
Hello, I have a question. Can we use this for ordinal logistic regression? I used mass package to perform my ordered logit model
Thank you very much! When I run FWDfit.p
how is this process done for a logistic regression (binary) model?
When i am running ols step forward p i am getting na in two of rows which are in including parts of variable
Thanks for the video. How can I do variable selection for the linear mixed model
Would you please describe the process of these model selection process (forward/backward stepwise regression) in MATLAB?
Thanks you for the video .I have a huge data with 537 obs of 22 variables. I couldn't do the
modcompare
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
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 :)
thanks
Great job! please me tell the package of "olsrr" works well with which version of R? 3.6.2 seems not to be suitable?
It works in mine, and i got R\R-3.6.2
nice video, just wanted to know any similar package for Poisson regression analysis
nice video, is there any similar function for using Poisson regression
what did i do wrong if um only getting the summary after fitting the forward selection
Do you also fit lasso regression
Hi , can i get more information on the dataset what are we analyzing? can I get description of the variables?
Does this fit only the forward selection ?
Using the o value method
dear mike , This line FWDfit.p
How can you do this for logistic regression?
Extended regression models dear 😉🤝💪
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.
depend if you choose forward or backward selection
please how to do step with glmer? Is there a package?
I am getting completely different results, could this be because you didn't set a seed before running your regressions?
Isn't a smaller value of AIC better than a larger one?
Yes. When using Aic to compare models, the model with the smaller Aic is preferred.
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
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
Unless the package gets retired or degraded, it should work with later versions of R
Okay.
I'll try and install the 4.2.0
Is it a must I get the same model when I used forward selection or backward selection
@@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!
Hi Mike, a student was using this video for one of my classes and they shared the link for the regData is dead.
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!
@@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!
@@drryangagnon Hi Ryan, it's all good. I appreciate you letting me know. You have a great evening!