Statistical Procedures

Programming the statistical procedures from SAS
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.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 1 reply
  • 1362 views
  • 6 likes
  • 2 in conversation