
Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
stepAIC
function in the
stepwise(mod,
direction = c("backward/forward", "forward/backward", "backward", "forward"),
criterion = c("BIC", "AIC"), ...)
stepAIC
."backward/forward"
(the default), selection starts with
the full model and eliminates predictors one at a time, at each step considering whether the
criterion will be improved by adding back in a variable removed at a previous st"BIC"
(the default) or "AIC"
. Note that
stepAIC
labels the criterion in the output as "AIC"
regardless of which
criterion is employed.stepAIC
.stepAIC
.