BookmarkSubscribeRSS Feed
Lopa2016
Fluorite | Level 6

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

2 REPLIES 2
Lopa2016
Fluorite | Level 6

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

AnnaBrown
Community Manager

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


Join us for SAS Community Trivia
SAS Bowl XXIX, The SAS Hackathon
Wednesday, March 8, 2023, at 10 AM ET | #SASBowl

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 2 replies
  • 1748 views
  • 0 likes
  • 2 in conversation