/* Lesson 08-1 */ /* File Name = les0801Rename.sas 11/22/06 */ options linesize=72 pagesize=20; data gakusei; infile 'all06be.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;