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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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