Skip to content
Prev 4338 / 20628 Next

Modelling heterogeneity and crossed random effects

Dear Thierry,

Thanks a lot for your answer. I was hoping that year as a random effect
would 1) account for the study design (I have several points per individual
for each year and I wanted to quantify the correlation of 2 observations
from the same individual within a year vs. across years) and 2) capture
other year effects that would not be accounted for by my fixed effects. And
indeed, all my models including year as a random effect performed better, in
terms of AIC, than those that did not include year. Otherwise, yes, it would
easier to model the variance in nlme. In either package though, I'm not sure
that I found the right structure model that would correspond to the study
design (longitudinal study with replicated points within years) and I would
welcome any suggestion.

Best,

Amelie

-----Original Message-----
From: ONKELINX, Thierry [mailto:Thierry.ONKELINX at inbo.be] 
Sent: Wednesday, August 18, 2010 10:30 AM
To: Amelie Lescroel; r-sig-mixed-models at r-project.org
Subject: RE: [R-sig-ME] Modelling heterogeneity and crossed random effects

Dear Amelie,

Do you expect a common effect of year on all individuals that is not
captured by your fixed effects? If not, you do not need to add year as a
random effect and only  a random effect of individual will do. Hence you
could switch back to nlme which has more features in terms of variance and
correlation structures.

HTH,

Thierry

----------------------------------------------------------------------------
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek
team Biometrie & Kwaliteitszorg
Gaverstraat 4
9500 Geraardsbergen
Belgium

Research Institute for Nature and Forest
team Biometrics & Quality Assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium

tel. + 32 54/436 185
Thierry.Onkelinx at inbo.be
www.inbo.be

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
Druk dit bericht a.u.b. niet onnodig af.
Please do not print this message unnecessarily.

Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer

en binden het INBO onder geen enkel beding, zolang dit bericht niet
bevestigd is
door een geldig ondertekend document. The views expressed in  this message 
and any annex are purely those of the writer and may not be regarded as
stating 
an official position of INBO, as long as the message is not confirmed by a
duly 
signed document.