想请问一下下面的if条件语句是什么含义呢? 谢谢啦
data work.empsalary;
set work.people (in=inemp)
work.money (in=insal);
if inemp and insal;
run;
楼主: littlejay
|
2525
3
请教sas base的问题 |
高中生 45%
-
|
回帖推荐In this case it is the same as,
if inemp and insal ; = if inemp and insal then output ;
In other cases it could be different. Forexample,
data t1;
do x=1 to 3;
do x2=1 to 2;
do obs=1 to 10;
z=rannor(123);
y= 1+ x*x2 +1*z+ rannor(7789);
output;
end;
end;
end;
run;
data t2;
set t1;
if x=2;
k= ...
本帖被以下文库推荐
| ||
| ||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明