Skip to content
Prev 311476 / 398513 Next

Stepwise analysis with fixed variables

Hi

I am not at all an expert in step. From the help page I inferred that

step(lm1, scope=list(lower=~Catholic))

keeps Catholic in model.

So something like

step(RegModel, direction ="backward",scope=list(lower=~sex+height))

shall leave those two in a model.

AFAIK there is no parameter alpha in a step function.

Regards
Petr