search for: ytraindata

Displaying 1 result from an estimated 1 matches for "ytraindata".

Did you mean: traindata
2012 Mar 05
1
Forward stepwise regression using lmStepAIC in Caret
...seems to default to "backward". Any thoughts on how I can make this work? Here is what I tried: itemonly <- susbstitute(~i1+i2+i3+i4+i5+i6+i7+i8+i9+i10) #this is my full model #I want my "lower" model to consist of the intercept only stepLmFit.i <- train(xtraindata.i, ytraindata,"lmStepAIC", scope=list(upper=itemonly,lower=~1),direction="forward") Any guidance on how I can make this work would be greatly appreciated. Dan [[alternative HTML version deleted]]