Q 67
Consider the following data step:
data WORK.NEW;
set WORK.OLD(keep=X);
if X < 10 then X=1;
else if X >= 10 AND X LT 20 then X=2;
else X=3;
run;
In filtering the values of the variable X in data set WORK.OLD, what value new value would be assigned to X if its original value was a missing value?
A. X would get a value of 1.
B. X would get a value of 3.
C. X would retain its original value of missing.
D. This step does not run because of syntax errors.
答案:A
为什么X的值是1?