Hi, I am trying to create a new variable from information already in my data set. I used an if then statement to do so, however the code is reading but it will not make it a new variable in my data set. When I try to use a Acecutoff variable later in my code, it tells me it is not found. When I do proc print then it variable has a a triangle looking shape with an A inside of it, not a circle with a number let the rest. It would be greatly appreciated if someone could tell me where I am going wrong. data aces2; set b.aces; if ACE_SCORE >=4.0 then Acecutoff="4 or greater"; else if ACE_SCORE <3.0 then Acecutoff="less than 4"; run; proc print; run;
... View more