<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></P>
<P>根据偶对二楼解释的理解:</P>
<P>根据IF语句,要满足age less equal 10;如果不符合条件的话,就被认为是missing value.在name,age, height三个值中,除了age,其他两个仍然存在.</P>
<P>1.John McCloskey missing 71<BR>2.June Rosesette 10 43<BR>3.TinekeJones 9 37</P>
<P>最后的结果还是3个obs.</P>
<P>PS:不肯定一定对,还望高手指正.</P>


雷达卡
京公网安备 11010802022788号







