Given the SAS data set birth:
NAME STATE
Tim CA
Sue IN
Bill NY
The following SAS program is submitted:
data birthregion;
set birth;
if state='CA' then do;
region='West';
end;
else if state='NY' then do;
region='East';
run;
然后,这个程序的结果是三个OBSERVATION和三个VARIBLES,我不明白三个观测值分别是什么,三个变量又分别是什么。还有下面这个程序: Given the input data set products:
CODE PRODUCT
A123 Sandal
A234 Slipper
B345 Boot
B456 Sneaker
Given the input data set costs:
CODE COST
A123 19.99
A234 9.99
B456 25.99
The following program is submitted:
data prodcost;
merge products(in=p) costs(in=c);
by code;
if p and c;
run;
这个程序结果也是三个OBSERVATION和三个VARIBLES,请问有没有人知道三个观测值和三个变量分别对应什么啊,通过这两个题也许我就可以明白了