Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Creating Dummy Variable in SAS Enterprise Miner

Reply
Contributor
Posts: 42

Creating Dummy Variable in SAS Enterprise Miner

Can any one suggest as to how can we create custom dummy variables in SAS Enterprise Miner?

For eg say I have a variable Var1 & I want to create a dummy variable Var2 when Var1 >=1 

if Var1>=1 the Var2=1; else Var2=0;

Can this be achieved using SAS miner?

 

Thanks in advance

Contributor
Posts: 42

Re: Creating Dummy Variable in SAS Enterprise Miner

Thanks for going through the post but I have figured it out!!

Community Manager
Posts: 486

Re: Creating Dummy Variable in SAS Enterprise Miner

Hi Lopa2016,

 

I'm glad you figured this out. Can you share your solution on this thread? Others in the community may have the same question and would be interested.

 

Thanks so much!

Anna

Ask a Question
Discussion stats
  • 2 replies
  • 273 views
  • 0 likes
  • 2 in conversation