I have a dataset in long format where each eye had the same measurement (a continuous variable) taken by 3 different machines. Some subjects have measurements on both the right and left eye, while others have measurements on just 1 of their 2 eyes. I would like to compare the measurements of eyes that are taken by the 3 machines to see if they are different, and also reflect the fact that the measurements on 2 eyes are nested within subjectid (i.e. right and left eye within the same subject are likely correlated). I am not sure if the code should be the following:
anova measurement machine subjectid / eye, repeated (machine)
versus
anova measurement machine subjectid / eye | subjectid, repeated (machine)
Thank you for your help
anova measurement machine subjectid / eye, repeated (machine)
versus
anova measurement machine subjectid / eye | subjectid, repeated (machine)
Thank you for your help
Comment