I'm trying to model a group level attribute that is only measured once during study using individual level predictor that was measured anywhere from 1 to 111 times/per person with 660 observations and 60 people. How do I specify that my outcome is a group level attribute that has only been measured once per subject? I think with code my outcome is being analyzed as if it were dis-aggregated across all time points. proc mixed data = analysis.labshmp9 noclprint empirical ; class subjectid ; model sspg = shannon | shannon /solution ; repeated / subject = subjectid ; run;
... View more