*************************************************************** ** The initial code/statements to read in the data to allow ** ** students to complete problem set 3 on regression in SPSS ** ** This is not a full solution. ** *************************************************************** ** file: ps3sps.sps ** ** data: regdat.txt ** ** out: NA ** title "SPSS-Problem Set 3 - Regression -- your name". data list file='a:\regdat.txt' /case 1-2 x1 3-5 x2 6-8 x3 9-11 x4 12-14 y 15-17. matrix. get x/var=x1 x2 x3 x4. get y/var=y. ** matrix statements etc. go here ** end matrix.