周一考试,最后问两题,如果通过了再上来讲讲,多谢
Given the contents of the raw data file TYPECOLOR.DAT:
----+----10---+----20---+----30
daisyyellow
The following SAS program is submitted:
data FLOWERS;
infile 'TYPECOLOR.DAT' truncover;
length
Type $ 5
Color $ 11;
input
Type $
Color $;
run;
What are the values of the variables Type and Color?
A. Type=daisy, Color=yellow
B. Type=daisy, Color=w
C. Type=daisy, Color=daisyyellow
D. Type=daisy, Color=
Answer: D
------------------------------------------------------------------------------
EMPLOYEE SALARY
name age name salary
Bruce 30 Bruce 40000
Dan35 Bruce 35000
Dan 37000
Dan.
The following SAS program is submitted:
data work.empsalary;
merge work.employee(in=inemp)
work.salary(in=insal);
by name;
if inemp and insal;
run;
how many observations will the data set WORK.EMPSALARY contain?
4
有in=不明白为什么答案是四个
不是要match么