Skip to content

Linear mixed effect model

8 messages · Manuel Spínola, Ben Bolker

#
On 11-03-18 08:19 AM, Manuel Sp?nola wrote:
Plausible, yes, except that you have apparently failed to
transform Lure into a factor -- as it stands, lmer is treating
it as a continuous covariate.
  Effects seem quite small.
  I would worry a little about your distribution, because I would guess
that elapsed times are likely to be skewed.  Have you looked at the
residuals/thought about log-transforming?
   You are getting zero variance for the random effect (and a huge
residual variance), which suggests a general lack of power.

  Ben Bolker
1 day later
#
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)
#
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11-03-19 11:27 AM, Manuel Sp?nola wrote:
Yes, although technically I would say that the factors are not useful
for prediction; if you want to test for the presence of a significant
effect, then fit the full model and report the p-values and confidence
intervals from it.  Yes, I would say that the zero variance represents
noise/ low power: if you were to do the equivalent aov()-analysis it
would probably report a negative variance (i.e., among-group mean square
< within-group mean square).

  Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2E0bYACgkQc5UpGjwzenNYEgCfVyZWOsGQKku23cl9P2QYJE2P
xf4AmQESmtzRM01AIdBJ38clLc9c2JXA
=OGDG
-----END PGP SIGNATURE-----