Skip to content
Prev 16188 / 20628 Next

Repeated Measures Design With lme Function

Dear Telli,

When you nest question in category, you assume that you have 25 (= 5 x
5) different question which are grouped into 5 categories.

In lme4 notation the random effects (1|SubjectID/Category/Question)
translate more verbose into (1|SubjectID) + (1|SubjectID:Category) +
(1|SubjectID:Category:Question). This make it more clear that you have
3 random intercepts: one per SubjectID, one per combination of
SubjectID and Category and one per combination of SubjectID, Category
and Question. That last random intercept has only one observation per
level and thus doesn't make sense. So I'd go for lme(Essen ~
AgeinYears * Category * Question, random = ~1|SubjectID/Category) Note
that I've rearraged the order of the fixed effects. This is yield a
different parametrisation which seems a bit more appropriate for this
case.

Best regards,

ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkelinx at inbo.be
Havenlaan 88 bus 73, 1000 Brussel
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
///////////////////////////////////////////////////////////////////////////////////////////




2018-02-10 21:59 GMT+01:00 Telli Davoodi <telli at bu.edu>: