29.The following SAS program is sumbitted:
data WORK.INFO;
infile'DATAFILE.TXT';
input @1Company $20. @25 State $2. @;
if State=' 'then input @30 Year;
else input @30City Year;
inputNumEmployees;
run;
How many raw data records are read during each iteration of the DATA step?
这题是在70真题上面的,个人感觉答案是2. 答案上面是红色的1个.求解答
同样类似的一题,在123题的15题。上面也是说1个。为什么呢
data numredcords;
infile 'file-spec';
input@1 patient $15.
relative $16-26 @;
if relative = 'children' then
input @54 diagnosis $15.@;
else if relative ='parents' then
input @28 doctor $15.
clinic $44-53
@54 diagnosis $15. @;
input age;
run;
how many raw data records are read during each iteration of the data step?
其实我不太明白raw data records的意思。是一行的数据?还是每个variable? 在最后input,这个地方也不太懂。那个input age(input employee),没说明位置,但是在每次iteration应该是输入到pdv上面吗,missing value? 算不算raw data records?
求教了