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.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.