BookmarkSubscribeRSS Feed
FO
Calcite | Level 5 FO
Calcite | Level 5

Hi all!

 

My first question is about WOE transformations.

I am using interactive grouping node and miner by default assigns positive WOE values to below average bad rate and negative WOE values to above average bad rate. I would like to reverse the signs, where is the button with this option?

 

Thank you very much in advance for your help!

 

1 REPLY 1
M_Maldonado
Barite | Level 11

Hi FO,

Weight of evidence is different from the bad rate.

Considering that an event is an applicaiton flagged as credit default or "bad", and a non-event is a non-default or "good" application, we have that:

 

WOE is the log transformation of the percentage distribution of events to non-events, or in other words the log(event_i%/non-events_i%), where the ith % stands for the percentage of events or nonevents in that bin, relative to the total number of events or non-events.

Bad rate or event rate is the rate calculated as events/(events+non_events).

 

For certain cases you might want to reverse the woe lines by changing the order of your binary target from descending to ascending, but just make sure that your scorecard makes sense in terms of the higher the score, the lower the odds of an event happening. Another setting that might come handy is the option for reverse scorecard in the properties for the Scorecard node.

 

I hope this helps!

-Miguel

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1274 views
  • 0 likes
  • 2 in conversation