Skip to content

Backward Elimination Library

4 messages · Thomas Fischer, Sundar Dorai-Raj, Spencer Graves +1 more

#
Hello,

I am looking for a library or script for R to run a backward elimination 
automatically on a linear regression. Does anybody know where to find 
such a thing or has a code snipplet lying around?

Bye,
Thomas
#
?stepAIC in package MASS.
Thomas Fischer wrote:
#
Have you considered stepAIC in MASS?

hth.  spencer graves
Thomas Fischer wrote:
#
Dear Thomas,
At 07:16 AM 6/11/2003 +0200, Thomas Fischer wrote:

            
See ?step. The step function is part of the base package.

I hope that this helps,
  John
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox