Skip to content
Prev 309142 / 398506 Next

backward stepwise model selection

Hui Du <Hui.Du <at> dataventures.com> writes:
and get a new regression model.
There is a fastbw function in the rms package that will do something
like this.  However, I'm now going to SHOUT AT YOU A LITTLE BIT (sorry).

  THERE ARE VERY, VERY FEW SITUATIONS WHERE STEPWISE REGRESSION BASED
ON P-VALUES MAKES SENSE.  IF YOU'RE PLANNING TO USE THIS IN A REAL
STATISTICAL SETTING, PLEASE GOOGLE "stepwise regression bad", READ
SOME OF THE ENSUING LINKS, AND REEVALUATE YOUR PLANS.

  We now return you to your regular programming, and remind you
that all advice from r-help comes with a 100% money-back guarantee ...

  Ben Bolker