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!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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