Sample SPSS Programs
One-factor ANOVA TO TOP
data list list /y group. begin data 16 1 18 1 10 1 12 1 19 1 4 2 6 2 8 2 10 2 2 2 2 3 10 3 9 3 13 3 11 3 end data. manova y by group (1,3). For HP-UX 10.0 Arizona State University SPSS ID 198670 1 0 set width=80.
Preceding task required .02 seconds CPU time; .38 seconds elapsed. 20 manova y by group (1,3). - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f
V a r i a n c e * * * * * *
15 cases
accepted.
1 design will be processed. - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Significance for Y using UNIQUE sums
of squares
WITHIN CELLS
170.00 12 14.17
(Model)
210.00 2 105.00
7.41 .008
R-Squared =
.553
One-factor ANOVA with contrasts TO TOP
title 'one factor with contrasts'. data list file='kep1.dat' /y 1-2 group 4. manova y by group (1,3) /contrast (group) = special (1 1 1, 1 -1 0, 0 1 -1) /design=group(1) group(2) /contrast (group) = special (1 1 1, -1 -1 2, 1 0 -1) /design=group(1) group(2). * * * * * * A n a l y s i s o f
V a r i a n c e -- design 1 * * * * * *
WITHIN+RESIDUAL
170.00 12 14.17
(Model)
210.00 2 105.00
7.41 .008
R-Squared =
.553
2 9.00000000 2.38048 3.78076 .00262 3.81339 14.18661 GROUP(2)
3
-3.0000000 2.38048 -1.26025
.23153 -8.18661 2.18661
WITHIN+RESIDUAL
170.00 12 14.17
(Model)
210.00 2 105.00
7.41 .008
R-Squared =
.553
2 -3.0000000 4.12311 -.72761 .48081 -11.98348 5.98348 GROUP(2)
3
6.00000000 2.38048 2.52050
.02688 .81339 11.18661
One-factor ANOVA with correction for alpha inflation TO TOP
title 'Corrections for experimentwise error'. data list file='kep1.dat' /y 1-2 group 4. oneway y by group (1,3) /ranges=scheffe /ranges=tukey /ranges=lsd. 30 Sep 98 Corrections for experimentwise error
Page 2
- - - - - O N E W A Y - - - - -
Variable Y
Analysis of Variance
Sum of Mean
F F
Between Groups
2 210.0000
105.0000 7.4118 .0080
Multiple Range Tests: Scheffe test with significance level .05 The difference between two means is significant if
(*) Indicates significant differences
which are shown in the lower triangle
2 3 1
6.0000
Grp 2
Homogeneous Subsets (highest and lowest means are not significantly different) Subset 1
Subset 2
Multiple Range Tests: Tukey-HSD test with significance level .05 The difference between two means is significant if
(*) Indicates significant differences
which are shown in the lower triangle
2 3 1
6.0000
Grp 2
Homogeneous Subsets (highest and lowest means are not significantly different) Subset 1
Subset 2
Multiple Range Tests: LSD test with significance level .05 The difference between two means is significant if
(*) Indicates significant differences
which are shown in the lower triangle
2 3 1
6.0000
Grp 2
Homogeneous Subsets (highest and lowest means are not significantly different) Subset 1
Subset 2
Two-factor ANOVA TO TOP
title 'Two factor ANOVA'. data list /facta 1 factb 3 y 5-6. begin data 1 1 1 1 1 4 1 1 0 1 1 7 2 1 13 2 1 5 2 1 7 2 1 15 3 1 9 3 1 16 3 1 18 3 1 13 1 2 15 1 2 6 1 2 10 1 2 13 2 2 6 2 2 18 2 2 9 2 2 15 3 2 14 3 2 7 3 2 6 3 2 13 end data. manova y by facta (1,3) factb (1,2) /print=cellinfo(means). - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
FACTA
1
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Significance for Y using UNIQUE sums
of squares
WITHIN CELLS
330.00 18 18.33
(Model)
280.00 5 56.00
3.05 .036
R-Squared =
.459
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Three-factor ANOVA TO TOP
title 'Three factor between subjects design'. data list list /facta factb factc y. begin data 1 1 1 7 1 1 1 4 1 1 1 5 1 1 1 6 1 1 2 7 1 1 2 5 1 1 2 5 1 1 2 6 1 2 1 2 1 2 1 4 1 2 1 3 1 2 1 3 1 2 2 2 1 2 2 3 1 2 2 4 1 2 2 1 1 3 1 4 1 3 1 3 1 3 1 0 1 3 1 3 1 3 2 1 1 3 2 3 1 3 2 2 1 3 2 2 2 1 1 10 2 1 1 7 2 1 1 6 2 1 1 8 2 1 2 6 2 1 2 5 2 1 2 5 2 1 2 6 2 2 1 4 2 2 1 6 2 2 1 3 2 2 1 5 2 2 2 1 2 2 2 3 2 2 2 4 2 2 2 5 2 3 1 7 2 3 1 4 2 3 1 5 2 3 1 5 2 3 2 1 2 3 2 3 2 3 2 3 2 3 2 0 3 1 1 13 3 1 1 10 3 1 1 13 3 1 1 8 3 1 2 12 3 1 2 13 3 1 2 11 3 1 2 12 3 2 1 9 3 2 1 8 3 2 1 9 3 2 1 10 3 2 2 7 3 2 2 6 3 2 2 7 3 2 2 6 3 3 1 8 3 3 1 5 3 3 1 6 3 3 1 6 3 3 2 7 3 3 2 7 3 3 2 4 3 3 2 6 end data. manova y by facta (1,3) factb (1,3) factc(1,2) /print=cellinfo(means). * * * * * * A n a l y s i s o f V a r i a n c e * * * * * * 72 cases
accepted.
1 design will be processed. - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
FACTA
1
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Significance for Y using UNIQUE sums
of squares
WITHIN CELLS
94.50 54 1.75
(Model)
593.28 17 34.90
19.94 .000
R-Squared =
.863
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Four-factor ANOVA TO TOP
data list /facta 1 factb 2 factc 3 factd 4 y 5. begin data 11113 11112 11127 11125 11212 11211 11226 11225 12119 12118 12123 12123 12217 12214 12228 12226 21111 21112 21124 21124 21217 21213 21222 21221 22116 22115 22129 22127 22215 22214 22223 22226 end data. manova y by facta (1,2) factb (1,2) factc (1,2) factd (1,2). * * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Significance for Y using UNIQUE sums
of squares
WITHIN CELLS
27.00 16 1.69
(Model)
146.50 15 9.77
5.79 .001
R-Squared =
.844
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9448 bytes of memory are needed for MANOVA execution.
Preceding task required .08 seconds CPU time; .11 seconds elapsed. 38 37 command lines read.
One-factor within ANOVA set width=80.
* * * * * * A n a l y s i s o f
V a r i a n c e * * * * * *
6
cases accepted.
1 design will be processed. - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
For entire sample 8.000 4.336 6 - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
For entire sample 15.000 2.280 6 - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
For entire sample 11.000 4.561 6 - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Between-Subjects Effects. Tests of Significance for T1 using UNIQUE sums
of squares
WITHIN CELLS
67.33 5 13.47
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'SCORE' Within-Subject Effect.
Mauchly sphericity test, W =
.98732
Greenhouse-Geisser Epsilon =
.98748
AVERAGED Tests of Significance that follow multivariate
tests are equivalent to
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * EFFECT .. SCORE
Test Name Value Exact F Hypoth. DF Error DF Sig. of F Pillais
.65613 3.81623 2.00
4.00 .118
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'SCORE' Within-Subject Effect. AVERAGED Tests of Significance for SCORE using
UNIQUE sums of squares
WITHIN CELLS
156.67 10 15.67
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5736 bytes of memory are needed for MANOVA execution.
Preceding task required .05 seconds CPU time; .26 seconds elapsed. 16 manova score1 score2 score3
>Warning # 12252 on line 19 in column 20. Text:
SPECIAL
The default error term in MANOVA has been changed
from WITHIN CELLS to
* * * * * * A n a l y s i s o f
V a r i a n c e * * * * * *
6
cases accepted.
1 design will be processed. - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Between-Subjects Effects. Tests of Significance for MEAN using UNIQUE
sums of squares
WITHIN CELLS
67.33 5 13.47
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
CONSTANT Parameter Coeff. Std. Err. t-Value Sig. t Lower -95% CL- Upper 1 19.6299092 1.49815 13.10279 .00005 15.77880 23.48102 - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'SCORE' Within-Subject Effect.
Mauchly sphericity test, W =
.98732
Greenhouse-Geisser Epsilon =
.98748
AVERAGED Tests of Significance that follow multivariate
tests are equivalent to
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * EFFECT .. SCORE
Test Name Value Exact F Hypoth. DF Error DF Sig. of F Pillais
.65613 3.81623 2.00
4.00 .118
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
Variable Hypoth. SS Error SS Hypoth. MS Error MS F Sig. of F FIRST 121.00000
71.66667 121.00000 14.33333 8.44186
.034
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'SCORE' Within-Subject Effect. AVERAGED Tests of Significance for SCORE using
UNIQUE sums of squares
WITHIN CELLS
156.67 10 15.67
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
SCORE Parameter Coeff. Std. Err. t-Value Sig. t Lower -95% CL- Upper 1 -4.4907312 1.54560 -2.90549 .03358 -8.46383 -.51763 - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
SCORE Parameter Coeff. Std. Err. t-Value Sig. t Lower -95% CL- Upper 1 -2.1213203 1.68325 -1.26025 .26319 -6.44825 2.20561 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5808 bytes of memory are needed for MANOVA execution.
Preceding task required .04 seconds CPU time; .15 seconds elapsed. 22 manova score1 score2 score3
* * * * * * A n a l y s i s o f
V a r i a n c e * * * * * *
6
cases accepted.
1 design will be processed. - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * EFFECT .. CONSTANT
Test Name Value Exact F Hypoth. DF Error DF Sig. of F Pillais
.98885 88.67165 3.00
3.00 .002
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
Variable Hypoth. SS Error SS Hypoth. MS Error MS F Sig. of F MEAN 6936.00000
202.00000 6936.00000 40.40000 171.68317
.000
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5232 bytes of memory are needed for MANOVA execution.
Preceding task required .02 seconds CPU time; .09 seconds elapsed. 27 26 command lines read.
Two-factor within ANOVA set width=80.
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Between-Subjects Effects. Tests of Significance for T1 using UNIQUE sums
of squares
WITHIN CELLS
272.59 3 90.86
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'FREQ' Within-Subject Effect. Tests of Significance for T2 using UNIQUE sums
of squares
WITHIN CELLS
5.84 3
1.95
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'TRIALS' Within-Subject Effect.
Mauchly sphericity test, W =
.11105
Greenhouse-Geisser Epsilon =
.58676
AVERAGED Tests of Significance that follow multivariate
tests are equivalent to
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * EFFECT .. TRIALS
Test Name Value Exact F Hypoth. DF Error DF Sig. of F Pillais
.99231 43.01657 3.00
1.00 .112
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
Variable Hypoth. SS Error SS Hypoth. MS Error MS F Sig. of F T3
124.25625 7.56875 124.25625 2.52292
49.25103 .006
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'TRIALS' Within-Subject Effect. AVERAGED Tests of Significance for MEAS.1 using
UNIQUE sums of squares
WITHIN CELLS
31.78 9
3.53
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'FREQ BY TRIALS' Within-Subject Effect.
Mauchly sphericity test, W =
.00000
Greenhouse-Geisser Epsilon =
.34752
AVERAGED Tests of Significance that follow multivariate
tests are equivalent to
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * EFFECT .. FREQ BY TRIALS
Variable Hypoth. SS Error SS Hypoth. MS Error MS F Sig. of F T6
2.25625 1.36875 2.25625
.45625 4.94521 .113
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'FREQ BY TRIALS' Within-Subject Effect. AVERAGED Tests of Significance for MEAS.1 using
UNIQUE sums of squares
WITHIN CELLS
3.03 9
.34
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 18072 bytes of memory are needed for MANOVA execution.
Preceding task required .07 seconds CPU time; .38 seconds elapsed. 15 14 command lines read.
Two-factor mixed ANOVA set width=80.
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests of Between-Subjects Effects. AVERAGED Tests of Significance for B using UNIQUE
sums of squares
WITHIN CELLS
302.13 9 33.57
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'FACTB' Within-Subject Effect.
Mauchly sphericity test, W =
.64018
Greenhouse-Geisser Epsilon =
.82977
AVERAGED Tests of Significance that follow are equivalent
to
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * * Tests involving 'FACTB' Within-Subject Effect. AVERAGED Tests of Significance for B using UNIQUE
sums of squares
WITHIN CELLS
90.38 27 3.35
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Back to the ANOVA HomePage |