Re: [R] Problem about step and stepAIC

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 27 Apr 2011 11:12:46 +0100 (BST)

On Wed, 27 Apr 2011, Maggie Wong wrote:

> Hello,
>
> I am now running a multiple linear regression program, but I do not know the
> difference between the command step and stepAIC.

And what is the 'problem about step and stepAIC'? You can find out by reading the help, as the posting guide asked you to do before posting. But to remind you, ?step says

Author(s):

      B. D. Ripley: Ħstep˘ is a slightly simplified version of ĦstepAIC˘
      in package ĦMASS˘ (Venables & Ripley, 2002 and earlier editions).

      The idea of a Ħstep˘ function follows that described in Hastie &
      Pregibon (1992); but the implementation in R is more general.

If you really want to know what 'slightly simplified' means you would need to specify the 'at a minimum' information the posting guide asked you to supply, for it depends on the versions of R and MASS. However, the best way to find out is to read the code for yourself: it is uniikely that anyone will be prepared to do so for you.

> Thanks.
>
> Maggie
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
>
https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

PLEASE do not send HTML when expressly asked not to in the posting guide.

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Received on Wed 27 Apr 2011 - 10:20:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Apr 2011 - 10:20:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive