You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Proc GEMMOD

proc genmod data= ;

class ;

model y = x / dist= link= type3 ;

repeated subject= / corr= type= ;

lsmeans x / diff=control ('ref') cl adjust=Dunnett(or tukey);

run;


distributionlink functionnote
normalidentitycontinuous dependent variable, mean difference
binomiallogrisk ratio from exponentiation of the parameter estimate 
binomiallogitodds ratio
poissonlogrisk ratio from exponentiation of the parameter estimate; used for robust error estimate with repeated subject statement



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. 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.
  • Corr= specifies the correlation structure: Un unstructured; IND independent.
  • No labels