No, GENMOD does not have the variance estimators necessary for proper analysis of survey data. But you don't need GENMOD for this. You can use PROC SURVEYLOGISTIC and then follow by using the NLMeans macro with OPTIONS=RATIO in the same was as shown in this note with PROC LOGISTIC.
Thank you for your response. I tried to use this SAS syntax but got a warning message. Could you please check if 'ods output coef=coeffs;' and 'store out=ques;' are correct? Thank you again!
proc surveylogistic data=c8_ncsr;
strata sestrat;
cluster seclustr;
weight ncsrwtlg;
class ag4cat (ref=first) sex (ref=last) ed4cat (ref=first) mar3cat (ref=first)
/ param=ref;
model mde (event='Yes')=ag4cat sex ald ed4cat mar3cat;
format ag4cat af. sex sf. ed4cat edf. mar3cat mf. mde yn.;
ods output coef=coeffs;
store out=ques;
run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.