The functions find statistics that
resemble deviance
and AIC
in constrained
ordination. Actually,
constrained ordination methods do not have log-Likelihood, which means
that they cannot have AIC and deviance. Therefore you should not use
these functions, and if you use them, you should not trust them. If
you use these functions, it remains as your responsibility to check
the adequacy of the result. The deviance of cca
is equal to Chi-square of
the residual data matrix after fitting the constraints. The deviance of
rda
is defined as the residual sum of squares.
The deviance function of rda
is also used for
capscale
.
Function extractAIC
mimics
extractAIC.lm
in translating deviance to AIC.
There is little need to call these functions directly. However, they
are called implicitly in step
function used in automatic
selection of constraining variables. You should check the
resulting model with some other criteria, because the statistics used
here are unfounded. In particular, the penalty k
is not properly
defined, and the default k = 2
is not justified
theoretically. If you have only continuous covariates, the step
function will base the model building on magnitude of eigenvalues, and
the value of k
only influences the stopping point (but
variable with highest eigenvalues is not necessarily the most
significant one in permutation
tests in anova.cca
). If you also
have multi-class factors, the value of k
will have a
capricious effect in model building.