Hi Everyone,
I am trying to create an if then statement that states if my variable (WWT) is between this range then it equals a set value.
This is how I am trying to code it in SAS:
if WWT >0 and <4 then WWT=6;
However, this does not seem to work. I have looked at some online resources and none of them seem to address this particular question.
Any input would be greatly appreciated!
I am trying to create an if then statement that states if my variable (WWT) is between this range then it equals a set value.
This is how I am trying to code it in SAS:
if WWT >0 and <4 then WWT=6;
However, this does not seem to work. I have looked at some online resources and none of them seem to address this particular question.
Any input would be greatly appreciated!