20 Feb 98 SPSS for Unix, Release 5.0 (IBM RS/6000) Page 1 18:12:32 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. For IBM AIX 3.2. sigma.oac.ucla.edu SPSS ID 265665 -> title 'ATI example -- Pedhazur data p. 464'. -> comment ATI= aptitude x treatment interaction. -> DATA LIST RECORDS=1 -> /Y 1 X1 2 X3 3-4. This command will read 1 records from the command file Variable Rec Start End Format Y 1 1 1 F1.0 X1 1 2 2 F1.0 X3 1 3 4 F2.0 -> begin data. -> 2105 -> 1107 -> 2110 -> 2115 -> 3117 -> 3120 -> 3125 -> 4123 -> 4127 -> 5130 -> 6135 -> 5137 -> 5140 -> 5142 -> 6145 -> 6147 -> 6150 -> 7155 -> 7160 -> 6162 -> 7005 -> 7007 -> 7009 -> 6013 -> 5012 -> 6016 -> 5018 -> 5021 -> 5022 -> 4027 -> 4026 -> 3032 -> 3035 -> 2040 -> 3045 -> 2047 -> 2049 -> 1053 -> 2058 -> 1063 -> end data. Preceding task required .03 seconds CPU time; .15 seconds elapsed. -> COMPUTE X4=X1*X3. -> VAR LABELS Y,RATINGS OF TEACHERS/ -> X1,TEACHING STYLE/ -> X3,TOLERANCE OF AMBIGUITY/ -> X4,INTERACTION--X1*X3. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 2 18:12:38 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. -> VALUE LABELS X1 0 'DIRECTIVE' 1 'NONDIRECTIVE'. -> SET WIDTH=80. -> condescriptive var=y,x3. There are 523,688 bytes of memory available. The largest contiguous area has 523,256 bytes. 152 bytes of memory required for the DESCRIPTIVES procedure. 8 bytes have already been acquired. 144 bytes remain to be acquired. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 3 18:12:38 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. Number of valid observations (listwise) = 40.00 Valid Variable Mean Std Dev Minimum Maximum N Label Y 4.20 1.90 1 7 40 RATINGS OF TEACHERS X3 31.25 17.52 5 63 40 TOLERANCE OF AMBIGUIT 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 4 18:12:38 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. Preceding task required .03 seconds CPU time; .04 seconds elapsed. -> comment regression enters aptitude 1st, treatment 2nd, interaction 3rd. -> REGRESSION VARIABLES=Y,X1,X3,X4/ -> STATISTICS=R,ANOVA,COEFF,CHA/ -> DEPENDENT=Y/ENTER X3/ENTER X1/ENTER X4. There are 523,424 bytes of memory available. The largest contiguous area has 523,008 bytes. 1724 bytes of memory required for REGRESSION procedure. 0 more bytes may be needed for Residuals plots. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 5 18:12:38 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. * * * * M U L T I P L E R E G R E S S I O N * * * * Listwise Deletion of Missing Data Equation Number 1 Dependent Variable.. Y RATINGS OF TEACHERS Block Number 1. Method: Enter X3 Variable(s) Entered on Step Number 1.. X3 TOLERANCE OF AMBIGUITY Multiple R .05785 R Square .00335 R Square Change .00335 Adjusted R Square -.02288 F Change .12758 Standard Error 1.91895 Signif F Change .7229 Analysis of Variance DF Sum of Squares Mean Square Regression 1 .46979 .46979 Residual 38 139.93021 3.68237 F = .12758 Signif F = .7229 ------------------ Variables in the Equation ------------------ Variable B SE B Beta T Sig T X3 -.006264 .017537 -.057845 -.357 .7229 (Constant) 4.395745 .626414 7.017 .0000 End Block Number 1 All requested variables entered. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 6 18:12:38 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. * * * * M U L T I P L E R E G R E S S I O N * * * * Equation Number 1 Dependent Variable.. Y RATINGS OF TEACHERS Block Number 2. Method: Enter X1 Variable(s) Entered on Step Number 2.. X1 TEACHING STYLE Multiple R .12571 R Square .01580 R Square Change .01246 Adjusted R Square -.03740 F Change .46827 Standard Error 1.93252 Signif F Change .4980 Analysis of Variance DF Sum of Squares Mean Square Regression 2 2.21859 1.10930 Residual 37 138.18141 3.73463 F = .29703 Signif F = .7448 ------------------ Variables in the Equation ------------------ Variable B SE B Beta T Sig T X3 -.007210 .017715 -.066580 -.407 .6864 X1 .419466 .612985 .111947 .684 .4980 (Constant) 4.215571 .683585 6.167 .0000 End Block Number 2 All requested variables entered. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 7 18:12:38 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. * * * * M U L T I P L E R E G R E S S I O N * * * * Equation Number 1 Dependent Variable.. Y RATINGS OF TEACHERS Block Number 3. Method: Enter X4 Variable(s) Entered on Step Number 3.. X4 INTERACTION--X1*X3 Multiple R .95233 R Square .90693 R Square Change .89112 Adjusted R Square .89917 F Change 344.67740 Standard Error .60249 Signif F Change .0000 Analysis of Variance DF Sum of Squares Mean Square Regression 3 127.33242 42.44414 Residual 36 13.06758 .36299 F = 116.92981 Signif F = .0000 ------------------ Variables in the Equation ------------------ Variable B SE B Beta T Sig T X3 -.106796 .007699 -.986243 -13.871 .0000 X1 -5.999715 .395057 -1.601206 -15.187 .0000 X4 .205155 .011050 2.217581 18.565 .0000 (Constant) 7.193213 .266724 26.969 .0000 End Block Number 3 All requested variables entered. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 8 18:12:38 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. Preceding task required .03 seconds CPU time; .05 seconds elapsed. -> REGRESSION SELECT X1 EQ 1/ -> VARIABLES=Y,X3/ -> STATISTICS=R,ANOVA,COEFF/ -> DEPENDENT=Y/ -> ENTER/ -> SCATTERPLOTS (Y,X3) . There are 523,360 bytes of memory available. The largest contiguous area has 522,976 bytes. 1164 bytes of memory required for REGRESSION procedure. 3272 more bytes may be needed for Residuals plots. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 9 18:12:39 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. * * * * M U L T I P L E R E G R E S S I O N * * * * Listwise Deletion of Missing Data Selecting only Cases for which X1 EQ 1 Equation Number 1 Dependent Variable.. Y RATINGS OF TEACHERS Block Number 1. Method: Enter Variable(s) Entered on Step Number 1.. X3 TOLERANCE OF AMBIGUITY Multiple R .94336 R Square .88993 Adjusted R Square .88381 Standard Error .61970 Analysis of Variance DF Sum of Squares Mean Square Regression 1 55.88756 55.88756 Residual 18 6.91244 .38402 F = 145.53119 Signif F = .0000 ------------------ Variables in the Equation ------------------ Variable B SE B Beta T Sig T X3 .098359 .008153 .943361 12.064 .0000 (Constant) 1.193498 .299751 3.982 .0009 End Block Number 1 All requested variables entered. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 10 18:12:39 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. * * * * M U L T I P L E R E G R E S S I O N * * * * Equation Number 1 Dependent Variable.. Y RATINGS OF TEACHERS Residuals Statistics: Selected Cases: X1 EQ 1 Min Max Mean Std Dev N *PRED 1.6853 7.2918 4.4000 1.7151 20 *RESID -1.2918 1.3639 .0000 .6032 20 *ZPRED -1.5829 1.6861 .0000 1.0000 20 *ZRESID -2.0845 2.2010 .0000 .9733 20 Total Cases = 20 Residuals Statistics: Unselected Cases: X1 NE 1 Min Max Mean Std Dev N *PRED 1.6853 7.3901 4.1344 1.7658 20 *RESID -6.3901 5.3147 -.1344 3.7268 20 *ZPRED -1.5829 1.7434 -.1548 1.0296 20 *ZRESID -10.3117 8.5763 -.2169 6.0140 20 Total Cases = 20 Multiple R for Selected Cases = .94336 R for Unselected Cases -.95865 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 11 18:12:39 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. Standardized Scatterplot - Selected Cases Across - X3 Down - Y Out ++-----+-----+-----+-----+-----+-----++ 3 + + Symbols: | | | | Max N 2 + + | | . 1.0 | .. | : 2.0 1 + . ... . + | | | . .: | 0 + + | .. | | ... | -1 + + | .. . | | | -2 + . + | | | | -3 + + Out ++-----+-----+-----+-----+-----+-----++ -3 -2 -1 0 1 2 3 Out Standardized Scatterplot - Unselected Cases Across - X3 Down - Y Out ++-----+-----+-----+-----+-----+-----++ 3 + + Symbols: | | | | Max N 2 + + | | . 1.0 | :. | : 2.0 1 + .. + | | | . .: | 0 + + | : | | .. . | -1 + + | . .. . | | | -2 + . . + | | | | -3 + + Out ++-----+-----+-----+-----+-----+-----++ -3 -2 -1 0 1 2 3 Out 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 12 18:12:39 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. Preceding task required .01 seconds CPU time; .14 seconds elapsed. -> REGRESSION SELECT X1 EQ 0/ -> VARIABLES=Y,X3/ -> STATISTICS=R,ANOVA,COEFF/ -> DEPENDENT=Y/ -> ENTER/ -> SCATTERPLOTS (Y,X3) . There are 523,360 bytes of memory available. The largest contiguous area has 522,976 bytes. 1164 bytes of memory required for REGRESSION procedure. 3272 more bytes may be needed for Residuals plots. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 13 18:12:41 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. * * * * M U L T I P L E R E G R E S S I O N * * * * Listwise Deletion of Missing Data Selecting only Cases for which X1 EQ 0 Equation Number 1 Dependent Variable.. Y RATINGS OF TEACHERS Block Number 1. Method: Enter Variable(s) Entered on Step Number 1.. X3 TOLERANCE OF AMBIGUITY Multiple R .95865 R Square .91901 Adjusted R Square .91451 Standard Error .58477 Analysis of Variance DF Sum of Squares Mean Square Regression 1 69.84487 69.84487 Residual 18 6.15513 .34195 F = 204.25354 Signif F = .0000 ------------------ Variables in the Equation ------------------ Variable B SE B Beta T Sig T X3 -.106796 .007473 -.958651 -14.292 .0000 (Constant) 7.193213 .258880 27.786 .0000 End Block Number 1 All requested variables entered. 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 14 18:12:41 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. * * * * M U L T I P L E R E G R E S S I O N * * * * Equation Number 1 Dependent Variable.. Y RATINGS OF TEACHERS Residuals Statistics: Selected Cases: X1 EQ 0 Min Max Mean Std Dev N *PRED .4650 6.6592 4.0000 1.9173 20 *RESID -.9214 1.0010 .0000 .5692 20 *ZPRED -1.8437 1.3870 .0000 1.0000 20 *ZRESID -1.5756 1.7118 .0000 .9733 20 Total Cases = 20 Residuals Statistics: Unselected Cases: X1 NE 0 Min Max Mean Std Dev N *PRED .5718 6.6592 3.7116 1.8622 20 *RESID -5.4456 6.2146 .6884 3.6277 20 *ZPRED -1.7880 1.3870 -.1504 .9713 20 *ZRESID -9.3125 10.6274 1.1771 6.2038 20 Total Cases = 20 Multiple R for Selected Cases = .95865 R for Unselected Cases -.94336 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 15 18:12:41 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. Standardized Scatterplot - Selected Cases Across - X3 Down - Y Out ++-----+-----+-----+-----+-----+-----++ 3 + + Symbols: | | | | Max N 2 + + | :. | . 1.0 | | : 2.0 1 + .. + | . .: | | | 0 + : + | .. . | | | -1 + . : . + | . . | | | -2 + + | | | | -3 + + Out ++-----+-----+-----+-----+-----+-----++ -3 -2 -1 0 1 2 3 Out Standardized Scatterplot - Unselected Cases Across - X3 Down - Y Out ++-----+-----+-----+-----+-----+-----++ 3 + + Symbols: | | | | Max N 2 + + | . . | . 1.0 | | 1 + . ... . + | . ... | | | 0 + .. + | ... | | | -1 + .. . + | . | | | -2 + + | | | | -3 + + Out ++-----+-----+-----+-----+-----+-----++ -3 -2 -1 0 1 2 3 Out 20 Feb 98 ATI example -- Pedhazur data p. 464 Page 16 18:12:41 sigma.oac.ucla.edu IBM RS/6000 IBM AIX 3.2. Preceding task required .01 seconds CPU time; .15 seconds elapsed. --========================_48454142==_ Content-Type: text/plain; name="ATI.sps"; charset="us-ascii" Content-Disposition: attachment; filename="ATI.sps" title 'ATI example -- Pedhazur data p. 464'. comment ATI= aptitude x treatment interaction. DATA LIST RECORDS=1 /Y 1 X1 2 X3 3-4. begin data. 2105 1107 2110 2115 3117 3120 3125 4123 4127 5130 6135 5137 5140 5142 6145 6147 6150 7155 7160 6162 7005 7007 7009 6013 5012 6016 5018 5021 5022 4027 4026 3032 3035 2040 3045 2047 2049 1053 2058 1063 end data. COMPUTE X4=X1*X3. VAR LABELS Y,RATINGS OF TEACHERS/ X1,TEACHING STYLE/ X3,TOLERANCE OF AMBIGUITY/ X4,INTERACTION--X1*X3. VALUE LABELS X1 0 'DIRECTIVE' 1 'NONDIRECTIVE'. SET WIDTH=80. condescriptive var=y,x3. comment regression enters aptitude 1st, treatment 2nd, interaction 3rd. REGRESSION VARIABLES=Y,X1,X3,X4/ STATISTICS=R,ANOVA,COEFF,CHA/ DEPENDENT=Y/ENTER X3/ENTER X1/ENTER X4. REGRESSION SELECT X1 EQ 1/ VARIABLES=Y,X3/ STATISTICS=R,ANOVA,COEFF/ DEPENDENT=Y/ ENTER/ SCATTERPLOTS (Y,X3) . REGRESSION SELECT X1 EQ 0/ VARIABLES=Y,X3/ STATISTICS=R,ANOVA,COEFF/ DEPENDENT=Y/ ENTER/ SCATTERPLOTS (Y,X3) .