Programming the statistical procedures from SAS

Generating the AUC with proc logistic

Reply
Contributor
Posts: 37

Generating the AUC with proc logistic

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

Contributor
Posts: 37

Re: Generating the AUC with proc logistic

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
Respected Advisor
Posts: 2,655

Re: Generating the AUC with proc logistic

Yes.  Mark yourself as correct.

Steve Denham

Contributor
Posts: 37

Re: Generating the AUC with proc logistic

Thank you Steve!

Ask a Question
Discussion stats
  • 3 replies
  • 201 views
  • 0 likes
  • 2 in conversation