
Since each subject contributes both eyes (my prof wants me to use both eyes to do the analysis), and I wanted to find out if the distribution of gender is different between myopes and non-myopes, I read up online that I can do an adjusted chi square: Chi-Square Test for R×CContingency Tables with Clustered Data by Jung et al (2003).
I am not sure if this is the right test to use, but i tried to run a test using clchi2 command and this is what I typed in:
clchi2 gender childmyopia, cluster(ID2)
But the error message was: gender not grouped within ID2
Can anyone tell me what went wrong or if there are alternative ways for me to do it??
Or is GEE the only way to do this??
0 Response to statistical analysis on two-eye dataset
Post a Comment