/* Lesson 06-5 */ /* File Name = les0605.sas 11/12/19 */ options nocenter linesize=78 pagesize=30; proc printto log = 'Kougi19/les0605_log.txt' print = 'Kougi19/les0605_Results.txt' new; /* ods listing gpath='Kougi19/SAS_ODS99'; */ data food; infile 'Kougi19/food.dat'; input X01-X10; label X01='M(-15)' X02='M(16-20)' X03='M(21-30)' X04='M(31-40)' X05='M(41-)' X06='F(-15)' X07='F(16-20)' X08='F(21-30)' X09='F(31-40)' X10='F(41-)'; proc print data=food(obs=10); run; proc factor data=food; var X01-X10; run;