BookmarkSubscribeRSS Feed
Ksharp
Super User

Open dataset "group" or "fmt_purpose".

Ksharp_0-1725755918558.png

 

Ronein
Onyx | Level 15

Hello,

In your code what is the meaning of symbol #?

woe[i]=(Bad_Dist-Good_Dist)#log(Bad_Dist/Good_Dist);
Ronein
Onyx | Level 15

I think that in your code 

instead of 

woe[i]=(Bad_Dist-Good_Dist)#log(Bad_Dist/Good_Dist);

it should be 
woe[i]=log(Bad_Dist/Good_Dist);

Ksharp
Super User
Nope.
That is really not a WOE. I wrote that is just for calculating IV .
You could see the following code:
if countmiss(woe)=0 then iv=sum(woe) ;

Here IV is a really IV value. Since I only care about IV is the biggest or not .
Ksharp
Super User
it stands for multiply. Like:
a b a#b
1 2 2
2 3 6
4 5 20
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 19 replies
  • 5392 views
  • 1 like
  • 4 in conversation