[R] All possible subset selection?

zhu wang anoy69 at yahoo.com
Thu May 8 02:35:19 CEST 2003


I am wondering if there is a function in R to do all
possible subset selection, e.g. using AIC/BIC. It
seems to me the function step can not do all possible

I am also want to know why the following functions
give me different results. It seems I missed some
points here.

lm <- lm(y ~., data=somedata)

Many thanks,

Zheng Huang

More information about the R-help mailing list