全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1084 2
2013-10-25
Which one of the following is true of the RETAIN statement in a SAS DATA step
program?
A. It can be used to assign an initial value to _N_ .
B. It is only valid in conjunction with a SUM function.
C. It has no effect on variables read with the SET, MERGE and UPDATE statements.
D. It adds the value of an expression to an accumulator variable and ignores missing
values.
Answer: C
请解释一下为什么选C,其他几项错在哪里,谢谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-10-29 07:28:06
_N_是系统变量,不能改但可用;
retain可以给变量赋值retain x y ‘阿百川’;
缺失值,retain x;retain变量的缺失值取决于时间情况,本身没有忽略确实值得作用
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-10-29 10:05:53
rdwalk 发表于 2013-10-29 07:28
_N_是系统变量,不能改但可用;
retain可以给变量赋值retain x y ‘阿百川’;
缺失值,retain x;retain ...
明白了,感激不尽
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群