Skip to content
Prev 841 / 20628 Next

anova function gives (irrelevant) results on two models with different numbers of observations

On Sat, Apr 12, 2008 at 11:29 AM, Olivier Renaud
<Olivier.Renaud at pse.unige.ch> wrote:
Perhaps you would like to contribute the code that performs the
appropriate checks on the models before creating the analysis of
variance table. Check out a copy of the lme4 package sources from the
R-forge repository and search for

setMethod("anova"

in the file pkg/R/lmer.R  You will see that there are already checks
in that method for the models being fit to the same data argument (if
used).  Patches are welcome.