Currently, comparison of the terms of a single model or multiple
models is only implemented based on the deviance
statistic.
Specifying a single object gives a sequential analysis of deviance
table for that fit. That is, the reductions in the residual
deviance as each term of the formula is added in turn are given in
as the rows of a table, plus the residual deviances themselves.
If more than one object is specified, the table has a row for the
residual degrees of freedom and deviance for each model. For all
but the first model, the change in degrees of freedom and deviance
is also given. (This only makes statistical sense if the models
are nested.) It is conventional to list the models from smallest
to largest, but this is up to the user.
The table will contain test statistics (and P values) comparing
the reduction in deviance for the row to the
residuals. Only a comparison of models or
contributions of their components by the chi-squared test has
been implemented.
The comparison between two or more models by anova
or
anova.ndlClassifylist
will only be valid if they are
fitted to the same dataset. If anova.ndlClassifylist
detects this, it will stop and report an error.