【发布时间】:2016-07-24 09:06:40
【问题描述】:
我对 SAS what if 语句有疑问。假设我们有以下程序:
data work.stress;
infile tests;
input ID Name $ Tolerance;
if tolerance <= 5 then tolerance = "Low";
else if tolerance >= 6 then tolerance = "High";
run;
我知道我们应该始终确保数据间隔之间没有间隙,但只要说这是我们正在运行的程序,如果有一个观测值的容差为 5.5,该怎么办?输出会显示语法错误吗?
谢谢!
JessX
【问题讨论】:
标签: sas