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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 902 views
  • 6 likes
  • 4 in conversation