[R] stepwise regression

Spencer Graves spencer.graves at pdf.com
Fri Jun 20 19:07:38 CEST 2003


Have you considered stepAIC in library(MASS) or step?

hth.  spencer graves

Andrew Taylor wrote:
> Hi,
> 
> S-PLUS includes the function "stepwise" which can use a variety of
> methods to conduct stepwise multiple linear regression on a set of
> predictors.  Does a similar function exist in R?  I'm having difficulty
> finding one.  If there is one it must be under a different name because
> I get an error message when I try 'help(stepwise)' in R.
> 
> Thanks for your help,
> Andy Taylor
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list