/* Lesson 12-2 */ /* File Name = les1201.sas 07/04/02 */ options linesize=72 pagesize=20; data gakusei; infile 'all02.prn' firstobs=2; input sex $ height weight chest jitaku $ kodukai carrier $ tsuuwa; proc print data=gakusei(obs=10); run; proc reg data=gakusei; model weight=height; output out=outreg1 predicted=pred1 residual=resid1; run; proc print data=outreg1(obs=15); run; proc plot data=outreg1; plot height*weight; plot weight*height; plot pred1*weight; plot resid1*pred1; plot resid1*height; plot resid1*weight; run;