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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1575 views
  • 6 likes
  • 2 in conversation