Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

If/Then Statement Help

$
0
0
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!

Viewing all articles
Browse latest Browse all 310

Trending Articles