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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1638 views
  • 0 likes
  • 2 in conversation