/************************************************************/ /* The initial code/statements to read in the data to allow */ /* students to complete problem set 3 on regression in SAS */ /* This is not a full solution. */ /************************************************************/ /* file: ps3sas.sas */ /* data: regdat.txt */ /* out: NA */ title 'SAS-Problem Set 3 -- Regression -- your name'; options nocenter; data ps3; 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 ps3; read all var {x1 x2 x3 x4} into x; read all var {y} into y; /* remaining iml statements, etc. */