- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
proc logistic data=sashelp.class; model sex=weight height/rocci; run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
proc logistic data=sashelp.class; model sex=weight height/rocci; run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Of course, thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The standard error of D is then twice the standard error of C, I suppose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that's correct. Somers' D is related to the C=AUC by
C = (D+1)/2
so
SE(D) = 2*SE(C)