Hello,
I want to know how to get r-square in the logistic regression. My code is below.
Thank you!
proc surveylogistic data=nh.diseases_pa1836_1 nomcar;
class t180 age RIAGENDR PIR SDDSRVYR RIDRETH1/ param=glm;
strata SDMVSTRA;
cluster SDMVPSU;
weight glucwt4yr;
domain eligible;
model BMI_outcome= age RIAGENDR PIR SDDSRVYR RIDRETH1 totalcounts t180/ vadjust=none df=none link=glogit;
lsmeans t180/ cl oddsratio adjust =tukey;
run;