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

Hi everyone,

I used PROC GENMOD using GEE for repeated measures to find an association between dichotomized outcome and continuous exposure. Then to see difference by sex, I used interaction term and reported sex stratified results if the interaction term was significant. However, reviewer is not satisfied with this method and wants some kind of comparison between the models and test if the difference is significant.

 

I browsed the internet and is seems that using a CONTRAST statement would have solved the issue but unfortunately it cannot be used with repeated measures (GEE). However, if I use CONSTRACT in PROC GENMOD with GEE it produces a test score for hypothesis. but I am not sure if it is the same thing.

 

Can you kindly guide how to do this correctly? I have written below a code for the main model and the interaction model which I used separately and now I am looking for a comparison between these two models to test if the models are different.

 

Main model:

proc genmod data=dateused descending;
class sex id v1(ref='0') v2(ref='0') v3(ref='1') v4(ref='1') v5(ref='0') ;
model outcome_dichotomized = exposure_continous sex age v1 v2 v3 v4 v5 / dist=bin link=logit type3;
estimate 'exposure_continous ' exposure_continous -1 /exp;
repeated subject=id/ type=exch;
run;

 

Interaction model:

proc genmod data=dateused  descending;
class sex id v1(ref='0') v2(ref='0') v3(ref='1') v4(ref='1') v5(ref='0') ; ;
model outcome_dichotomized = exposure_continous sex age v1 v2 v3 v4 v5 exposure_continous *sex / dist=bin link=logit type3;
estimate 'exposure_continous ' exposure_continous -1 /exp;
repeated subject=id/ type=exch;
run;

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ
Your reviewer is thinking of a likelihood ratio test which is computed that way by fitting the separate models and comparing their likelihood values. And that is an excellent test to use, but it requires that the models be fit using maximum likelihood estimation. Unfortunately, the GEE method is not a likelihood-based method, so that test is not possible. The parameter test is directly analogous to what you would do for an ordinary regression model to assess this question and should be perfectly acceptable.

View solution in original post

9 REPLIES 9
sbxkoenk
SAS Super FREQ

Have moved this from 'Programming' to 'Statistical Procedures' board.

Koen

sbxkoenk
SAS Super FREQ

Sample 26100: QIC goodness of fit statistic for GEE models
https://support.sas.com/kb/26/100.html

 

These statistics allow comparisons of GEE models (model selection) and selection of a correlation structure.

 

Koen

Raza_M
Obsidian | Level 7

But QIC does not tell if two models are different and interaction is significant

Raza_M
Obsidian | Level 7
Ok, Thank you!
StatDave
SAS Super FREQ
The question of whether your exposure variable has difference effects in each sex is directly answered by the test of the interaction parameter in your model that includes the interaction. If the test of that parameter (or its type 3 test) is significant, then exposure has different effects in the two sexes.
Raza_M
Obsidian | Level 7

Yes, I know but reviewer does not accept this and want us to run some kind of test to compare the models to show that the main model is different from the model with interaction term

Raza_M
Obsidian | Level 7

Reviewer wants something like  I run two models: One with all main effects and one with the main effects and interaction terms. If the explanatory power of the interaction model is significantly higher, I interpret the interaction. But I do not know how to achieve this in SAS

StatDave
SAS Super FREQ
Your reviewer is thinking of a likelihood ratio test which is computed that way by fitting the separate models and comparing their likelihood values. And that is an excellent test to use, but it requires that the models be fit using maximum likelihood estimation. Unfortunately, the GEE method is not a likelihood-based method, so that test is not possible. The parameter test is directly analogous to what you would do for an ordinary regression model to assess this question and should be perfectly acceptable.
sbxkoenk
SAS Super FREQ

Hello,

 

On top of what @StatDave has written :

 

You might have a look into this (1993 Sep 30) article by T Park :

A comparison of the generalized estimating equation approach with the maximum likelihood approach for repeated measurements

https://pubmed.ncbi.nlm.nih.gov/8248664/

 

I think it's safe to say GEE is QMLE (Quasi-Maximum-Likelihood-Estimation), but it is definitely not MLE !

 

Koen

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 9 replies
  • 1136 views
  • 5 likes
  • 3 in conversation