Skip to content
Prev 13300 / 20628 Next

Including an autocorrelation term dramatically reduces random variance (lme)

Dear David,

Please keep the mailing list in cc.

Correlation structures in nlme work on the residuals conditional on the
random effects. This implies that residuals from different levels of the
random effects are assumed to be independent (not correlated). Some of the
information can be described by both the random effect and the correlation
structure. In fact a random intercept is equivalent with a compound
symmetry correlation structure.

You have only 3 observations per random effect level. Then it is hard to
make the difference between the average of within the group (the random
effect) and the correlated residuals. In such cases the shrinkage kick in
very hard, reducing the random effect variance strongly.

IMHO you need choose a model than matches the design. The design dictates
that you need a random effect of fish. This leads to 3 per fish. 3
observations is not enough to estimate a AR1 correlation. Since you have
only 3 observations is doesn't make sense to look at 15 lags. You only have
2...

Best regards,


ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2015-05-06 14:52 GMT+02:00 David Villegas R?os <chirleu at gmail.com>:

  
  
Message-ID: <CAJuCY5xSA3LeQcZOPHGtqMJSx9jO_kyf0E2rYqayBQe3mmKqoA@mail.gmail.com>
In-Reply-To: <CALC46t_8aWzs1JtfiomTWYUGM6K=MCyu8ZQXx_hmnpJvsQ8jEg@mail.gmail.com>