[R] How does the lm() function work?

Roger D. Peng rpeng at jhsph.edu
Fri May 7 16:28:11 CEST 2004


lm() itself does not implement any model selection procedures.  step() 
and stepAIC() in the MASS library do.

-roger

Phillip Good wrote:
> Does the lm() function use forward, backward, stepwise or some other method of multivariable regression?  Where can I look up the details?
> 
> Phillip Good
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list