Hi,
In the below I want to create a new variable new_code which groups all the codes in the 45 series....
I have shown it for some on the extreme right of the table..
Thanks
Would something as below work?
new_code=floor(code);
I don't follow the logic for the new_code variable. What drives whether the value is kept with the new value versus whether the new value is missing?
Steve Denham
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.