/* Lesson 12-1 */ /* File Name = les1201.sas 10/14/99 */ options linesize=72 pagesize=20; data gakusei; infile 'all99.dat'; input seibetsu $ height weight chest jitaku $ kodukai; proc print data=gakusei(obs=10); run; proc reg data=gakusei; model weight=height chest; output out=o_reg1 predicted=pred1 residual=resid1; run; proc print data=o_reg1(obs=15); run; proc plot data=o_reg1; where weight^=. and height^=. and chest^=.; plot weight*height; plot weight*chest; plot pred1*weight; plot resid1*pred1; plot resid1*height; plot resid1*chest; plot resid1*weight; run;