turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Data Mining
- /
- Automatization ROC

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-28-2012 12:17 PM

Hi!

I'm doing a process automation in the modeling of decision trees taking the code that generates the Enterprise Miner and trying to make it work on SAS 9.2. My problem is that I want to calculate the ROC of each model generated but I just don't know how to do that. I'm taking the code of the "Model Comparison Node" where the area under the ROC curve is calculated but it shows many mistakes when I run this at SAS 9.2. It seems like the code of the tree isn't saving all the information table that the Model Comparison needs to work.

Find enclosed the code that I'm using.

Hoping someone can help me.

Many thanks

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-28-2015 03:16 AM

Hi MMM,

Actually i have the same issue, i need a code to calculate the auc and plot the ROC for two columns (score and Binary indicator) where score is calculated using a model other than Logistic regression.

Did you find a solution?

Thanks

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-28-2015 08:55 AM

Hey MMM,

I googled how to calculate the AUC using SAS and I stumbled upon this blog.

Give it a try using this macro.

SAS Programming for Data Mining: AUC calculation using Wilcoxon Rank Sum Test

I hope it helps,

Miguel