/************************************************************/ /* The initial code/statements to read in the data to allow */ /* students to complete problem set 4 problem 15 */ /* This is not a full solution. */ /************************************************************/ /* file: ps4sas.sas */ /* data: regdat.txt */ /* out: NA */ title 'SAS-Problem Set 4 -- Regression -- your name'; options nocenter; data ps4; infile 'a:\regdat.txt'; input case 1-2 x1 3-5 x2 6-8 x3 9-11 x4 12-14 y 15-17; proc iml; reset print; edit ps4; read all var {x1 x2 x3 x4} into x; /* remaining iml statements, etc. */