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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 4915 views
  • 1 like
  • 4 in conversation