...
model y = x / type3 ;
repeated subject= / corr= ;
lsmeans x / diff=control ('ref') cl adjust=Dunnett(or tukey);
...
- Subject: Responses from different subjects are assumed to be statistically independent, and responses within subjects are assumed to be correlated. A subject-effect must be specified, and variables Variables used in defining the subject-effect must be listed in the CLASS statement. The input data set does not need to be sorted by subject (see the SORTED option). .
- Corr= specifies the correlation structure: Un unstructured; IND independent.