/* Lesson 11-2 */ /* File Name = les1102Rename.sas 06/19/08 */ options linesize=72 pagesize=20; data gakusei; infile 'all08ae.prn' firstobs=2; input sex $ shintyou taijyuu kyoui jitaku $ kodukai carryer $ tsuuwa; if carryer="au+willc" then carryer="au+Willc"; if carryer="docomo" then carryer="DoCoMo"; if carryer="docomo+w" then carryer="DoCoMo+W"; if carryer="vodafone" then carryer="Vodafone"; proc print data=gakusei(obs=5); run; proc freq data=gakusei; tables sex jitaku carryer; run; proc freq data=gakusei; tables sex*jitaku; tables sex*carryer; tables jitaku*carryer; run;