Note that this message is cross-posted in cross-validated ...
http://stats.stackexchange.com/questions/68250/selection-of-regressors
Jean
On Sat, Aug 24, 2013 at 11:48 AM, beginner wrote:
> I have a question about the package leaps which I am using for model
> selection.
>
> I would like to co
I have a question about the package leaps which I am using for model
selection.
I would like to compare 4 different selection methods: forward, backward,
stepwise and best subset. I used the code below:
library(leaps) forward <- regsubsets(Response ~.,data = mydata, method =
"forward", nbest=1)
b
2 matches
Mail list logo