Proc GEMMOD
proc genmod data= ;
class ;
model y = x / type3 ;
repeated subject= / ;
lsmeans x / diff=control ('ref') cl adjust=Dunnett(or tukey);
run;
Parameters estimated with maximum likelihood methods.
Repeated statement: specifies the covariance structure of multivariate responses and iterative fitting algorithm for GEE model fitting.
- 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 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).