BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
proc logistic data=sashelp.class;
model sex=weight height/rocci;
run;

Ksharp_0-1677242983124.png

 

View solution in original post

7 REPLIES 7
JoséQ
SAS Employee

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.

Rick_SAS
SAS Super FREQ

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?

Ksharp
Super User
proc logistic data=sashelp.class;
model sex=weight height/rocci;
run;

Ksharp_0-1677242983124.png

 

Quodly
Obsidian | Level 7

The standard error of D is then twice the standard error of C, I suppose.

Rick_SAS
SAS Super FREQ

Yes, that's correct. Somers' D is related to the C=AUC by 

C = (D+1)/2

so 

SE(D) = 2*SE(C)

SAS Innovate 2025: Call for Content

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!

Submit your idea!

What is ANOVA?

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.

Discussion stats
  • 7 replies
  • 1199 views
  • 6 likes
  • 4 in conversation