proc logistic data=sashelp.class; model sex=weight height/rocci; run;
Hi,
I'm not aware of a way to get it from PROC LOGISTIC.
You can get the Somers' D ASE (Asymptotic Standard Error) from PROC FREQ but PROC FREQ and PROC LOGISTIC analyses are not of the same thing, the PROC FREQ analysis is of the raw, observed data, while the PROC LOGISTIC analysis is of the predicted values from the fitted model.
Question for @JoséQ : From your response, it sounds like the OP could write the predicted value from PROC LOGISTIC to a DATA set and then ask PROC FREQ for the Somers' D ASE on
tables Y*Pred / measures(cl);
Would that provide the correct ASE for the D statistic?
proc logistic data=sashelp.class; model sex=weight height/rocci; run;
Of course, thank you.
The standard error of D is then twice the standard error of C, I suppose.
Yes, that's correct. Somers' D is related to the C=AUC by
C = (D+1)/2
so
SE(D) = 2*SE(C)
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.