Hi there,
I'm trying to obtain the AUC with proc logistic. I have something like this:
proc logistic data=MyData;
model DepVar = Var1 Var2 Var3;
run;
or
proc logistic data=MyData;
model DepVar = Var1 Var2 Var3 / selection=stepwise;
run;
What options do I need to add to get the AUC statistic?
Thank you!
Jason
Is it just the "c" statistic in the following table?
Association of Predicted Probabilities and Observed Responses
Percent Concordant | 68.3 | Somers' D | 0.374 |
Percent Discordant | 30.9 | Gamma | 0.377 |
Percent Tied | 0.8 | Tau-a | 0.100 |
Pairs | 1919 | c | 0.687 |
Yes. Mark yourself as correct.
Steve Denham
Thank you Steve!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.