GET FILE="E:\osc_work\tempwork\test_data.sav". Comment Design with only some interactions. UNIANOVA var1 BY group time heat /METHOD = SSTYPE(3) /INTERCEPT = INCLUDE /PRINT = OPOWER ETASQ /CRITERIA = ALPHA(.05) /DESIGN = group time group*time heat*group*time.
Output Created | 25-JUN-2003 12:22:56 | |
---|---|---|
Comments | ||
Input | Data | E:\osc_work\tempwork\test_data.sav |
Filter | <none> | |
Weight | <none> | |
Split File | <none> | |
N of Rows in Working Data File | 36 | |
Missing Value Handling | Definition of Missing | User-defined missing values are treated as missing. |
Cases Used | Statistics are based on all cases with valid data for all variables in the model. | |
Syntax | UNIANOVA var1 BY group time heat /METHOD = SSTYPE(3) /INTERCEPT = INCLUDE /PRINT = OPOWER ETASQ /CRITERIA = ALPHA(.05) /DESIGN = group time group*time heat*group*time. |
|
Resources | Elapsed Time | 0:00:00.00 |
N | ||
---|---|---|
GROUP | 1.0000 | 12 |
2.0000 | 12 | |
3.0000 | 12 | |
TIME | 1.0000 | 18 |
2.0000 | 18 | |
HEAT | 1.0000 | 12 |
2.0000 | 12 | |
3.0000 | 12 |
Source | Type III Sum of Squares | df | Mean Square | F | Sig. | Partial Eta Squared | Noncent. Parameter | Observed Power(a) |
---|---|---|---|---|---|---|---|---|
Corrected Model | 15832.250(b) | 17 | 931.309 | 34.888 | .000 | .971 | 593.092 | 1.000 |
Intercept | 43472.250 | 1 | 43472.250 | 1628.513 | .000 | .989 | 1628.513 | 1.000 |
GROUP | 14882.000 | 2 | 7441.000 | 278.747 | .000 | .969 | 557.494 | 1.000 |
TIME | 20.250 | 1 | 20.250 | .759 | .395 | .040 | .759 | .131 |
GROUP * TIME | 126.000 | 2 | 63.000 | 2.360 | .123 | .208 | 4.720 | .415 |
GROUP * TIME * HEAT | 804.000 | 12 | 67.000 | 2.510 | .038 | .626 | 30.119 | .825 |
Error | 480.500 | 18 | 26.694 | |||||
Total | 59785.000 | 36 | ||||||
Corrected Total | 16312.750 | 35 | ||||||
a Computed using alpha = .05 | ||||||||
b R Squared = .971 (Adjusted R Squared = .943) |
Comment RESIDUAL PLOTS. UNIANOVA var1 BY group /METHOD = SSTYPE(3) /INTERCEPT = INCLUDE /PRINT = ETASQ OPOWER /PLOT = RESIDUALS /SAVE = resid zresid /CRITERIA = ALPHA(.05) /DESIGN = group .
Output Created | 25-JUN-2003 12:22:56 | |
---|---|---|
Comments | ||
Input | Data | E:\osc_work\tempwork\test_data.sav |
Filter | <none> | |
Weight | <none> | |
Split File | <none> | |
N of Rows in Working Data File | 36 | |
Missing Value Handling | Definition of Missing | User-defined missing values are treated as missing. |
Cases Used | Statistics are based on all cases with valid data for all variables in the model. | |
Syntax | UNIANOVA var1 BY group /METHOD = SSTYPE(3) /INTERCEPT = INCLUDE /PRINT = ETASQ OPOWER /PLOT = RESIDUALS /SAVE = resid zresid /CRITERIA = ALPHA(.05) /DESIGN = group . |
|
Variables Created or Modified | RES_1 | Residual for VAR1 |
ZRE_1 | Standardized Residual for VAR1 | |
Resources | Elapsed Time | 0:00:00.02 |
N | ||
---|---|---|
GROUP | 1.0000 | 12 |
2.0000 | 12 | |
3.0000 | 12 |
Source | Type III Sum of Squares | df | Mean Square | F | Sig. | Partial Eta Squared | Noncent. Parameter | Observed Power(a) |
---|---|---|---|---|---|---|---|---|
Corrected Model | 14882.000(b) | 2 | 7441.000 | 171.625 | .000 | .912 | 343.251 | 1.000 |
Intercept | 43472.250 | 1 | 43472.250 | 1002.680 | .000 | .968 | 1002.680 | 1.000 |
GROUP | 14882.000 | 2 | 7441.000 | 171.625 | .000 | .912 | 343.251 | 1.000 |
Error | 1430.750 | 33 | 43.356 | |||||
Total | 59785.000 | 36 | ||||||
Corrected Total | 16312.750 | 35 | ||||||
a Computed using alpha = .05 | ||||||||
b R Squared = .912 (Adjusted R Squared = .907) |
Comment I used the /SAVE switch above to save the residuals (resid) and standard ized residuals (zresid) to the dataset. These are two of a bunch of predefine d variables that can be saved. Comment I now save all of the dataset including the new variables and rename the m at the same time. save outfile="E:\osc_work\tempwork\residdata" /RENAME = (res_1=resid) (zre_1=sta nres). Comment I now call back the new datafile (although there are other methods like having hidden datasets like in SAS, I prefer this approach. get file="E:\osc_work\tempwork\residdata". Comment And use the plot command to plot what I want. There are many options for plotting. PLOT FORMAT=OVERLAY /TITLE="Residual Plot" /VERTICAL="Residuals" /HORIZONTAL="Group" /PLOT=resid WITH group.
Output Created | 25-JUN-2003 12:22:56 | |
---|---|---|
Comments | ||
Input | Data | E:\osc_work\tempwork\residdata |
Filter | <none> | |
Weight | <none> | |
Split File | <none> | |
N of Rows in Working Data File | 36 | |
Syntax | PLOT FORMAT=OVERLAY /TITLE="Residual Plot" /VERTICAL="Residuals" /HORIZONTAL="Group" /PLOT=resid WITH group. |
|
Resources | Elapsed Time | 0:00:00.00 |
Comment MANCOVA. MANOVA var1 BY fact1(1,4) fact2(1,3) WITH covar /DESIGN.
Output Created | 25-JUN-2003 12:22:56 | |
---|---|---|
Comments | ||
Input | Data | E:\osc_work\tempwork\residdata |
Filter | <none> | |
Weight | <none> | |
Split File | <none> | |
N of Rows in Working Data File | 36 | |
Syntax | MANOVA var1 BY fact1(1,4) fact2(1,3) WITH covar /DESIGN. |
|
Resources | Elapsed Time | 0:00:00.00 |
The default error term in MANOVA has been changed from WITHIN CELLS to WITHIN+RESIDUAL. Note that these are the same for all full factorial designs. * * * * * * A n a l y s i s o f V a r i a n c e * * * * * * 18 cases accepted. 18 cases rejected because of out-of-range factor values. 0 cases rejected because of missing data. 6 non-empty cells. 1 design will be processed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Redundancies in Design Matrix Column Effect 6 FACT2 8 FACT1 BY FACT2 9 (SAME) 10 (SAME) 11 (SAME) 12 (SAME) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * W A R N I N G * UNIQUE sums-of-squares are obtained assuming * * * the redundant effects (possibly caused by * * * missing cells) are actually null. * * * The hypotheses tested may not be the * * * hypotheses of interest. Different reorderings * * * of the model or data, or different contrasts * * * may result in different UNIQUE sums-of-squares. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Significance for VAR1 using UNIQUE sums of squares Source of Variation SS DF MS F Sig of F WITHIN CELLS 6201.65 11 563.79 REGRESSION 836.35 1 836.35 1.48 .249 FACT1 139.81 3 46.60 .08 .968 FACT2 37.50 1 37.50 .07 .801 FACT1 BY FACT2 11.40 1 11.40 .02 .890 (Model) 1044.35 6 174.06 .31 .919 (Total) 7246.00 17 426.24 R-Squared = .144 Adjusted R-Squared = .000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Regression analysis for WITHIN CELLS error term --- Individual Univariate .9500 confidence intervals Dependent variable .. VAR1 COVARIATE B Beta Std. Err. t-Value Sig. of t COVAR 3.16800 .35307 2.601 1.218 .249 COVARIATE Lower -95% CL- Upper COVAR -2.557 8.893 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Comment I removed the interaction term by explicitely stating the model with the /DESIGN switch. MANOVA var1 BY fact1(1,4) fact2(1,3) WITH covar /DESIGN fact1 fact2.
Output Created | 25-JUN-2003 12:22:56 | |
---|---|---|
Comments | ||
Input | Data | E:\osc_work\tempwork\residdata |
Filter | <none> | |
Weight | <none> | |
Split File | <none> | |
N of Rows in Working Data File | 36 | |
Syntax | MANOVA var1 BY fact1(1,4) fact2(1,3) WITH covar /DESIGN fact1 fact2. |
|
Resources | Elapsed Time | 0:00:00.00 |
The default error term in MANOVA has been changed from WITHIN CELLS to WITHIN+RESIDUAL. Note that these are the same for all full factorial designs. * * * * * * A n a l y s i s o f V a r i a n c e * * * * * * 18 cases accepted. 18 cases rejected because of out-of-range factor values. 0 cases rejected because of missing data. 6 non-empty cells. 1 design will be processed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Redundancies in Design Matrix Column Effect 6 FACT2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * W A R N I N G * UNIQUE sums-of-squares are obtained assuming * * * the redundant effects (possibly caused by * * * missing cells) are actually null. * * * The hypotheses tested may not be the * * * hypotheses of interest. Different reorderings * * * of the model or data, or different contrasts * * * may result in different UNIQUE sums-of-squares. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Significance for VAR1 using UNIQUE sums of squares Source of Variation SS DF MS F Sig of F WITHIN+RESIDUAL 6213.05 12 517.75 REGRESSION 826.29 1 826.29 1.60 .230 FACT1 138.86 3 46.29 .09 .964 FACT2 27.69 1 27.69 .05 .821 (Model) 1032.95 5 206.59 .40 .840 (Total) 7246.00 17 426.24 R-Squared = .143 Adjusted R-Squared = .000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Regression analysis for WITHIN+RESIDUAL error term --- Individual Univariate .9500 confidence intervals Dependent variable .. VAR1 COVARIATE B Beta Std. Err. t-Value Sig. of t COVAR 3.11024 .34663 2.462 1.263 .230 COVARIATE Lower -95% CL- Upper COVAR -2.254 8.475 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -