How can I do tests of simple main effects in SPSS?

How can I do tests of simple main effects in SPSS?

The process of conducting tests for simple main effects in SPSS involves analyzing the effects of a single independent variable on a dependent variable, while controlling for the other independent variables. This can be achieved by using the “Split File” function to create separate groups for each level of the independent variable and then performing individual analyses for each group. The results of these analyses can then be compared to determine any significant differences between the groups. Additionally, the use of post-hoc tests such as the Bonferroni or Tukey method can help identify specific group differences. Overall, conducting tests for simple main effects in SPSS allows for a more in-depth understanding of the impact of individual independent variables on the dependent variable.

How can I do tests of simple main effects in SPSS? | SPSS FAQ

Let’s read in an example dataset, crf24, adapted from Kirk (1968,
First Edition).

get file 'c:https://stats.idre.ucla.edu/wp-content/uploads/2016/02/crf24.sav'.

These data are from a 2×4 factorial design.  The variable y is the dependent variable.  The variable a is an independent variable with two levels, while b is an independent variable with four levels.  Let’s look at a table of cell means and standard deviations.

means table = y by a by b.
Case Processing Summary
Cases
IncludedExcludedTotal
NPercentNPercentNPercent
Y * A * B32100.0%0.0%32100.0%
Report
Y
ABMeanNStd. Deviation
113.7541.500
24.004.816
37.004.816
48.004.816
Total5.69162.120
211.754.500
23.004.816
35.504.577
410.004.816
Total5.06163.316
Total12.7581.488
23.508.926
36.2581.035
49.0081.309
Total5.38322.756

Now let’s run the ANOVA.

glm y by a b.
Between-Subjects Factors
N
A116
216
B18
28
38
48

Tests of Between-Subjects Effects
Dependent Variable: Y
SourceType III Sum of SquaresdfMean SquareFSig.
Corrected Model217.000(a)731.00040.216.000
Intercept924.5001924.5001199.351.000
A3.12513.1254.054.055
B194.500364.83384.108.000
A * B19.37536.4588.378.001
Error18.50024.771
Total1160.00032
Corrected Total235.50031
a R Squared = .921 (Adjusted R Squared = .899)

We see that in addition to a significant main effect for b there is a significant a*b interaction effect.  Before we do any of the tests of simple main effects, let’s graph the cell means to get an idea of what the interaction looks like. 
You can include a /plot subcommand with the glm command to get a
plot of the cell means.

glm y by a b
 /plot = profile(b*a).
<output omitted>

B * a

The interaction is clearly shown where the two lines cross over between levels b3 and b4.  We will now do a test of simple main effects looking at differences in a at each level of b.  This is done by including a /emmeans subcommand with the glm
command. 

glm y by a b
 /emmeans = tables(a*b)compare(a).
Between-Subjects Factors
N
A116
216
B18
28
38
48
Tests of Between-Subjects Effects
Dependent Variable: Y
SourceType III Sum of SquaresdfMean SquareFSig.
Corrected Model217.000(a)731.00040.216.000
Intercept924.5001924.5001199.351.000
A3.12513.1254.054.055
B194.500364.83384.108.000
A * B19.37536.4588.378.001
Error18.50024.771
Total1160.00032
Corrected Total235.50031
a R Squared = .921 (Adjusted R Squared = .899)
Estimates
Dependent Variable: Y
MeanStd. Error95% Confidence Interval
ABLower BoundUpper Bound
113.750.4392.8444.656
24.000.4393.0944.906
37.000.4396.0947.906
48.000.4397.0948.906
211.750.439.8442.656
23.000.4392.0943.906
35.500.4394.5946.406
410.000.4399.09410.906

Pairwise Comparisons
Dependent Variable: Y
Mean Difference (I-J)Std. ErrorSig.(a)95% Confidence Interval for Difference(a)
B(I) A(J) ALower BoundUpper Bound
1122.000(*).621.004.7193.281
21-2.000(*).621.004-3.281-.719
2121.000.621.120-.2812.281
21-1.000.621.120-2.281.281
3121.500(*).621.024.2192.781
21-1.500(*).621.024-2.781-.219
412-2.000(*).621.004-3.281-.719
212.000(*).621.004.7193.281
Based on estimated marginal means
* The mean difference is significant at the .050 level.
a Adjustment for multiple comparisons: Least Significant Difference (equivalent to no adjustments).
Univariate Tests
Dependent Variable: Y
BSum of SquaresdfMean SquareFSig.
1Contrast8.00018.00010.378.004
Error18.50024.771
2Contrast2.00012.0002.595.120
Error18.50024.771
3Contrast4.50014.5005.838.024
Error18.50024.771
4Contrast8.00018.00010.378.004
Error18.50024.771
Each F tests the simple effects of A within each level combination of the other effects shown. These tests are based on the linearly independent pairwise comparisons among the estimated marginal means.

Note:
Statisticians do not universally approve of the use of tests of simple
main effects.  In particular, there are concerns over the conceptual error
rate.  Tests of simple main effects are one tool that can be useful in
interpreting interactions.  Caution should be exercised in interpreting
the results of analyses of simple main effects.  In general, the results of tests of simple
main effects should be considered suggestive and not definitive.

You can get more information on this topic by visiting:

Cite this article

stats writer (2024). How can I do tests of simple main effects in SPSS?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-do-tests-of-simple-main-effects-in-spss/

stats writer. "How can I do tests of simple main effects in SPSS?." PSYCHOLOGICAL SCALES, 30 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-do-tests-of-simple-main-effects-in-spss/.

stats writer. "How can I do tests of simple main effects in SPSS?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-do-tests-of-simple-main-effects-in-spss/.

stats writer (2024) 'How can I do tests of simple main effects in SPSS?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-do-tests-of-simple-main-effects-in-spss/.

[1] stats writer, "How can I do tests of simple main effects in SPSS?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I do tests of simple main effects in SPSS?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top