Skip to content
Prev 13475 / 20628 Next

correct specification and interpretation of multivariate mixed-model in lme

Dear David,

1. It's best to use a "timer" variable. You want either
corAR1(form=~timer|id) or corAR1(form=~timer|id:trait). Note that the
correlation only works on the residuals within the same grouping
level. Residuals among levels are assumed to be be independent;
2. You allow for a difference residual variance among trait. It's up
to you to decide whether this makes sense.
3. trait-1 is equivalent with a different intercept for each trait. It
makes sense to always include the interaction between trait and the
other covariates.
4. You'll have to try it.

Note that the INLA packages allows for multivariate mixed models too.
It allows for correlated random effects (rather than correlated
residuals). You can find INLA at R-inla.org

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-06-22 11:16 GMT+02:00 David Villegas R?os <chirleu at gmail.com>: