Usage
step(model, ddf="Satterthwaite", type=3, alpha.random = 0.1, alpha.fixed = 0.05,
reduce.fixed = TRUE, reduce.random = TRUE, lsmeans.calc=TRUE,
difflsmeans.calc=TRUE, test.effs=NULL, method.grad="simple", ...)
Arguments
model
linear mixed effects model (lmer object).
ddf
approximation for denominator degrees of freedom. By default Satterthwaite's approximation. ddf="Kenward-Roger"" calculates Kenward-Roger approximation
type
type of hypothesis to be tested (SAS notation). Either type=1 or type=3.
alpha.random
significance level for elimination of the random part (for LRT test)
alpha.fixed
significance level for elimination of the fixed part (for F test and t-test for least squares means)
reduce.fixed
logical for whether the reduction of the fixed part is required
reduce.random
logical for whether the reduction of the random part is required
lsmeans.calc
logical for whether the calculation of LSMEANS(population means) is required
difflsmeans.calc
logical for whether the calculation of differences of LSMEANS is required
test.effs
charachter vector specifying the names of terms to be tested in LSMEANS. If NULL all the terms are tested. If lsmeans.calc==FALSE then LSMEANS are not calculated.
method.grad
approximation method for the grad function, which is used in calculation of denominator degrees of freedom. Could be "simple" or "Richardson". "simple" is the default one.
...
other potential arguments.