Skip to content

Forward stepwise procedure w/ stepAIC

3 messages · MZodet@ahrq.gov, Spencer Graves, Brian Ripley

#
What's "m1"?  Is it a fit to a ~1?  I've used my own modification of 
stepAIC many times preceeded by "m1 <- lm(y~1, data=...)", and it has 
worked fine for me.

hth.  spencer graves
MZodet at ahrq.gov wrote:
#
It starts with the initial model you gave it, which contains all your 
explanatory variables already.  You presumably wanted to use a simpler 
model to start with.  As in:

Arguments:

  object: an object representing a model of an appropriate class. This
          is used as the initial model in the stepwise search.
On Wed, 18 Jun 2003 MZodet at ahrq.gov wrote:

            
[output snipped]