BookmarkSubscribeRSS Feed
JasonL
Quartz | Level 8

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

3 REPLIES 3
JasonL
Quartz | Level 8

Is it just the "c" statistic in the following table?

Association of Predicted Probabilities and Observed Responses      

Percent Concordant68.3Somers' D0.374
Percent Discordant30.9Gamma0.377
Percent Tied0.8Tau-a0.100
Pairs1919c0.687
SteveDenham
Jade | Level 19

Yes.  Mark yourself as correct.

Steve Denham

JasonL
Quartz | Level 8

Thank you Steve!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 3 replies
  • 2442 views
  • 0 likes
  • 2 in conversation