<P>1.A raw data file is listed below:<BR>----|----10---|----20---|----30<BR>John McCloskey 35 71<BR>June Rosesette 10 43<BR>TinekeJones 9 37<BR>The following SAS program is submitted using the raw data file as input:<BR>data work.homework;<BR>infile 'file-specification';<BR>input name $ age height;<BR>if age LE 10;<BR>run;<BR>How many observations will the WORK.HOMEWORK data set contain?</P>
<P>A. 0<BR>B. 2<BR>C. 3<BR>D. No data set is created as the program fails to execute due to errors.<BR>Answer: C </P>
<P>Why the answer is not B.2???</P>
<P>2.The following SAS program is submitted:<BR>data work.test;<BR>set work.staff (keep = jansales febsales marsales);<BR>array diff_sales{3} difsales1 - difsales3;</P>
<P>array monthly{3} jansales febsales marsales;<BR>run;<BR>Which one of the following represents the new variables that are created?<BR>A. JANSALES, FEBSALES and MARSALES<BR>B. MONTHLY1, MONTHLY2 and MONTHLY3<BR>C. DIFSALES1, DIFSALES2 and DIFSALES3<BR>D. DIFF_SALES1, DIFF_SALES2 and DIFF_SALES3</P>
<P>Answer: C</P>
<P>I think if use ARRAY to create new var. it does not include elements list.Here two array statement all include elements name,how to get c is correct answer??</P>
<P>3xxxxx guys</P>


雷达卡


京公网安备 11010802022788号







