BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mlamias
Fluorite | Level 6

I noticed that that you can place the "COVB" option after the model statement or after the repated statement when building a GEE model using genmod.  The resulting matrices are totally different.  Does anyone know what the difference is between the covariance matrices that are produced?  I realize that the COVB after the reapeated statement produces both a model-based covariance matrix as well as the empiracal-based one, but I would have thought the COVB option on the model statement would have been the same.  The documentation doesn't make it clear how these are different.

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

The doc does make it clear, but you might be looking in the worng place.

On the model statment, the COVB option estimates the usual covariance of the parameters for the fixed effects. This is explained in the section on "Generalized Models Theory".  It is related to the Hessian (second derivative matrix) of the likelihood function.

 

For GEEs, you can also model the covariance between repeated measures for each subject. That matrix is explained in the section for "Generalized Estimating Equations."

 

View solution in original post

3 REPLIES 3
Ksharp
Super User
Just guess Maybe the type of correlation matrix is different .
Check option type=
 type=exch (exchangeable) OR Independent .
Rick_SAS
SAS Super FREQ

The doc does make it clear, but you might be looking in the worng place.

On the model statment, the COVB option estimates the usual covariance of the parameters for the fixed effects. This is explained in the section on "Generalized Models Theory".  It is related to the Hessian (second derivative matrix) of the likelihood function.

 

For GEEs, you can also model the covariance between repeated measures for each subject. That matrix is explained in the section for "Generalized Estimating Equations."

 

mlamias
Fluorite | Level 6

Perfect.  Thanks so much!  If I couldn't find this information under the COVB option in the genmod documenation, then no, the documenation didn't make it clear.  I'd ask that this information be added or at least hyperlinked to in the genmode documentation under the COVB options.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 3 replies
  • 2993 views
  • 1 like
  • 3 in conversation