BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DocMartin
Quartz | Level 8

Many statisticians know about the area under the Receiver Operating Characteristic Curve (AUROC). But for moderate to severely unbalanced data (i.e. outcome <<< 0.5), the area under the Precision-Recall Curve (AUPRC) is less biased. The AUPRC calculates the area under the curve for a graph of positive predicted value (y-axis) vs. sensitivity (x-axis).

 

SAS automatically calculates AUROC in PROC LOGISTIC. But I'm not aware of any s8uch calculation for AUPRC. Does one exist within SAS? If not, has someone written a macro to obtain the AUPRC?

 

Thanks!

 

Andrew

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

Always check the list of Frequently Asked-for Statistics (FASTats) in the Important Links section of the Statistical Procedures Community page. You will find info on the precision-recall curve and a link to the PRcurve macro.

View solution in original post

1 REPLY 1
StatDave
SAS Super FREQ

Always check the list of Frequently Asked-for Statistics (FASTats) in the Important Links section of the Statistical Procedures Community page. You will find info on the precision-recall curve and a link to the PRcurve macro.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1 reply
  • 977 views
  • 6 likes
  • 2 in conversation