Skip to content
Prev 13417 / 20628 Next

Compute a repeated measures model in lme4

Hi again,
I got another question regarding the random factors.
when I compare models with nested random structures using REML as Zuur
recommended, I found this
this but I am not very sure about the significance of it
Data:
Models:
lme1: O2.intake4days ~ 1 + (1 | indiv)
lme2: O2.intake4days ~ 1 + (daytype | indiv)
lme3: O2.intake4days ~ 1 + (time | indiv)
lme4: O2.intake4days ~ 1 + (time + daytype | indiv)
     Df     AIC     BIC logLik deviance    Chisq Chi Df Pr(>Chisq)
lme1  3 -1115.6 -1106.2 560.81  -1121.6
lme2  5 -1111.6 -1096.0 560.81  -1121.6   0.0070      2     0.9965
lme3  5 -1388.2 -1372.6 699.09  -1398.2 276.5637      0     <2e-16 ***
lme4  8 -1384.7 -1359.7 700.33  -1400.7   2.4701      3     0.4807

*Daytype* is time before and after a treatment and *time* is if is night or
day. I know that individuals consumption is clearly different between night
and day.
So for each individual I got 4 data points. One for day before, one for day
after one for night before and one for night after. If there are changes
should be comparing day before and after and night before and after.
Got the random effect (time|indiv) sense in this way??
I looked in several place but I am not still sure.

Thanks, and sorry for such specific question


2015-06-08 21:41 GMT+03:00 Mario Garrido <gaiarrido at gmail.com>: