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

Hi

 

I have a fraud vendor model for which I have the score and I have identified the TP, TN, FP and FN. I have been asked to graph ROC and calculate AUC for this model in order to assess the performance of the model. However, I am trying to figure out when in this case which we don't have access to the actual model since it is proprietary information how is it possible to calculate AUC ?

The way I know to calculate AUC is to create ROC first and for that we need to have the model in order to identify the confusion matrix for different cut offs, but in this case when we cannot do that, is there anything we can do?

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

You have all the information you need. The ROC curve plots the False Positive Rate (FP divided by number of obs) as X and the True Positive Rate as Y.  Be sure to sort the (FPR, TPR) pairs by the FPR. To find the UAC, you can use the trapezoid rule to find the exact area. See

"The area under an ROC curve", which refers to the article "The trapezoidal rule of integration."

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

You have all the information you need. The ROC curve plots the False Positive Rate (FP divided by number of obs) as X and the True Positive Rate as Y.  Be sure to sort the (FPR, TPR) pairs by the FPR. To find the UAC, you can use the trapezoid rule to find the exact area. See

"The area under an ROC curve", which refers to the article "The trapezoidal rule of integration."

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 526 views
  • 1 like
  • 2 in conversation