[R] Forward stepwise LOGISTIC regression

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Dec 16 16:01:00 CET 2003


On Tue, 16 Dec 2003, Karl Knoblick wrote:

> Does anybody know how to do a forward stepwise
> LOGISTIC regression? 
> 
> (I found lrm(), fastbw() and validate() in the Design
> package concerning backward logistic regression - but
> no forward)

Try using R itself: glm + step.

help.search("logistic")
help.search("stepwise")

found both of those, so how come *you* failed to?

I'll not comment on how bad an idea this would be, as maybe you just wish 
to illustrate that.

-- 
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




More information about the R-help mailing list