/* Lesson 8-4 */ /* File Name = les0804.sas 06/24/99 */ options linesize=72 pagesize=20; data gakusei; infile 'all99.dat'; input seibetsu $ height weight chest jitaku $ kodukai; proc format; value clheight low-<150=' -149' 150-<160='150-159' 160-<170='160-169' 170-high='170- ' other ='missing'; run; proc print data=gakusei(obs=10); run; proc tabulate data=gakusei; class height seibetsu; var weight; tables weight*(n mean std),height*seibetsu; format height clheight.; run;