Skip to content
Prev 5634 / 20628 Next

Linear mixed effect model

On 11-03-19 10:47 AM, Manuel Sp?nola wrote:
A few thoughts:

* you can in principle compare various models (including those
with/without random effects), but it is a crude approximation for
several reasons (boundary issues with random effects, marginal vs
conditional AIC, etc. -- see <http://glmm.wikidot.com/faq> for more
discussion).

* Take a look at very recent discussions on this list about comparing lm
vs gls vs lme; in particular make sure you have REML=TRUE/FALSE set
appropriately.  As you have done it, the fits may not be comparable.

* I think you should retain the random effect of 'otter' in any case
because it is a natural part of the experimental design (although I
think that if you correctly set REML=FALSE you will get identical
likelihoods between gls and lme, and gls will appear better because it
is missing a random-effect variance parameter)