Hi all- relatively new to SAS, and I'm running some GEE models (with repeated measures). Some are successful, but on the following U am having problems:
My log reads:
proc genmod data=work.opioid27;
class BJH_MedRec countx (ref="1") racex (ref="1") agegrp (ref="2") narcanx (ref="1") alcoholx (ref="1") moodx (ref="1") sudx (ref="1") yr (ref="2005") suicidex (ref="1") / param=glm;
model psychx=countx racex agegrp narcanx alcoholx moodx sudx suicidex yr / dist=bin link=logit;
repeated subject=BJH_MedRec / type=cs;
lsmeans countx racex agegrp narcanx alcoholx moodx sudx suicidex yr /diff oddsratio cl;
run;
It seems to be an issue with the dependent variable because whenever I remove any predictors the same thing happens. Thanks!
Often this issues indicates a model that does not fit the data. The poor fit can be due to many reasons, and it is impossible to say more without seeing your data, Some reasons include collinearity and over-specified models.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.