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.
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.
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.