This is my code to get OR and CIs.
PROC LOGISTIC DATA=thesis;
CLASS RUCA_3CAT (ref = "Urban") / PARAM=REF;
MODEL mdro_res (EVENT = "negative") = RUCA_3CAT / ALPHA=0.03125;
RUN;
I am getting "Invalid reference value for RUCA_3CAT"
the categories for this are: urban,rural, suburban and for mdro_res: positive and negative
Can someone help me figure out what's wrong with my code?
thanks
Just to be pedantic: "Urban" is not equal to "urban".
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.