BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
JonKetchup
Obsidian | Level 7

Is there a way to output the covariance parameter estimates in proc genmod in a similar way to the covtest statment in glimmix? I know I can output the working correlation structure. I prefer the method of moments method over likelihood based techniques for GEEs, hence why I am trying to use genmod.

 

PROC GLIMMIX data = DATA 
class CLUSTER OUTCOME VAR1 VAR2;
model OUTCOME (event='1')= VAR1 VAR2
			/ dist=bin link=logit ;
RANDOM _residual_ / SUBJECT=CLUSTER TYPE=cs 
covtest '1'/ wald;
RUN;

PROC GENMOD data = DATA 
class CLUSTER OUTCOME VAR1 VAR2;
model OUTCOME (event='1')= VAR1 VAR2
			/ dist=bin link=logit;
REPEATED SUBJECT=CLUSTER /  TYPE=cs corrw ;
RUN;
1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ
No. GENMOD does not fit a random effects model so there are no random effects to estimate covariances for. As you note, GENMOD fits a Generalized Estimating Equations model and instead estimates a correlation matrix among the repeated measures. GEE is not a likelihood-based estimation method. The estimation method is outlined in the Details: Generalized Estimating Equations section of the GENMOD documentation.

View solution in original post

1 REPLY 1
StatDave
SAS Super FREQ
No. GENMOD does not fit a random effects model so there are no random effects to estimate covariances for. As you note, GENMOD fits a Generalized Estimating Equations model and instead estimates a correlation matrix among the repeated measures. GEE is not a likelihood-based estimation method. The estimation method is outlined in the Details: Generalized Estimating Equations section of the GENMOD documentation.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 390 views
  • 1 like
  • 2 in conversation