I am building an LME model with random effects. My 2 random effects are 'Patient ID' and 'Eye ID'.
I need to nest those 2 random effects because every patient has several visits (is a longitudinal study) and every patient at each visit has 2 eyes. So my question is, in which order should these random effects be nested:
a) ~1|EyeID/PatientID
b)~1|PatientID/EyeID
Thank you very much in advance,
Best regards,
Lili
Aucun commentaire:
Enregistrer un commentaire