标题: please help with a SAS problem in Base SAS [打印本页] 作者: shiyiming 时间: 2006-8-27 08:58 标题: please help with a SAS problem in Base SAS Suppse data set AA has 3 observations and 2 variables.
DATA BB;
DO i=1 to 3;
SET AA; /* Yes, SET is within the loop */
var3=var1+var2; /* var1 and var2 are the two variables in AA */
END;
RUN;
Thanks a lot!
Which related material should I read?作者: shiyiming 时间: 2006-8-27 10:35 标题: to honeyamy 你只能读到一个观测值,因为你没用output语句。作者: shiyiming 时间: 2006-9-3 13:44 标题: Thanks, I met this kind of problem in my base exam! Good luck for you all !
The exam is not hard but it's in much detail! 2/3 of them are tricky but if you the material in the online tutor material, 90 percent is no problem.