Step-by-Step Guide Assignment Problem 3.4
2-Way ANOVA
Problem 4. Conduct two-way ANOVA with interaction and post hoc analysis (as appropriate) using Tukey to correct for multiple comparisons. Provide relevant SPSS output.
Step 1. In the Practice_Week03_dataset.sav, go to Analyze ( General linear model (Univariate. There is only one dependent variable (Steps per month [EXERCISE]), so this is basically a univariate model.
image1.png
Step 2. In the Univariate window, transfer Steps per month [EXERCISE] to the Dependent Variable box. Transfer Education level [EDUC] and Sex [SEX] to the Fixed Factor(s) box. Click Post Hoc.
image2.png
Step 3. In Univariate: Post Hoc… window, transfer both EDUC and SEX to the Post Hoc Tests for box. Check Tukey. Click Continue.
image3.png
Step 4. Click Options.
image4.png
Step 5. Transfer EDUC and SEX to the Display Means for box. Since we are interested in the interaction between Education level and sex, also transfer EDUC*SEX to the Display Means for box. Although we have already completed Descriptive Statistics and Homogeneity tests, check them here for reference. Click Continue. Click OK
image5.png
SPSS Output
Tests of Between-Subjects Effects
Dependent Variable: Steps per month
Source
Type III Sum of Squares
df
Mean Square
F
Sig.
Corrected Model
5955549373.489a
5
1191109874.698
4.211
.002
Intercept
44707311147.288
1
44707311147.288
158.038
.000
EDUC
4092792467.648
2
2046396233.824
7.234
.001
SEX
1602183746.129
1
1602183746.129
5.664
.019
EDUC * SEX
37044447.218
2
18522223.609
.065
.937
Error
26591552884.511
94
282888860.474
Total
104212533874.000
100
Corrected Total
32547102258.000
99
a. R Squared = .183 (Adjusted R Squared = .140)
Multiple Comparisons
Dependent Variable: Steps per month
Tukey HSD
(I) Education level
(J) Education level
Mean Difference (I-J)
Std. Error
Sig.
95% Confidence Interval
Lower Bound
Upper Bound
No or some high school
High school diploma
-6644.59
5177.451
.408
-18974.18
5685.01
College Degree
-16153.45*
4797.716
.003
-27578.74
-4728.16
High school diploma
No or some high school
6644.59
5177.451
.408
-5685.01
18974.18
College Degree
-9508.86*
3803.022
.037
-18565.38
-452.34
College Degree
No or some high school
16153.45*
4797.716
.003
4728.16
27578.74
High school diploma
9508.86*
3803.022
.037
452.34
18565.38
Based on observed means.
The error term is Mean Square(Error) = 282888860.474.
*. The mean difference is significant at the .05 level.