One-Way ANOVA in SPSS

How to Perform One-Way ANOVA in SPSS | Complete Step-by-Step Guide and Example

How to Perform One-Way ANOVA in SPSS

A Detailed Step-by-Step Guide on the Effect of Teaching Methods

Introduction to SPSS One-Way ANOVA

One-Way ANOVA (Analysis of Variance) is a powerful statistical test that allows you to compare means across three or more groups. In this tutorial, we will learn how to perform One-Way ANOVA using SPSS software and explain it with a practical example.

Example Scenario

Suppose we are conducting a study in which we want to check the effect of three different teaching methods (Method A, Method B, Method C) on students’ test scores.

Data Details

  • Dependent Variable: Test Score (Continuous variable, in the form of marks)
  • Independent Variable: Teaching Method (Categorical variable, with three groups: Method A, Method B, Method C)

Our data looks something like this:

Method A Method B Method C
85 78 90
90 80 93
88 82 95
92 79 91
87 81 94

Now we will perform One-Way ANOVA in SPSS and check whether there is a significant difference in test scores between these teaching methods.

1 Data Entry in SPSS

  1. Open SPSS: Launch SPSS software and create a new data set.
  2. Define Variables:
    • Variable 1: Test_Score (Type: Numeric, Label: Test Score)
    • Variable 2: Teaching_Method (Type: Numeric, Label: Teaching Method, Values: 1 = Method A, 2 = Method B, 3 = Method C)
  3. Enter Data:
    • Enter the scores given above in the Test_Score column.
    • In the Teaching_Method column, enter the code (1, 2, or 3) corresponding to each score.
Test_Score Teaching_Method 85 1 90 1 88 1 92 1 87 1 78 2 80 2 82 2 79 2 81 2 90 3 93 3 95 3 91 3 94 3

The above shows how the Data View will look in SPSS.

2 Performing One-Way ANOVA

  1. Go to Menu:
    • In the SPSS menu bar, click on Analyze > Compare Means > One-Way ANOVA.
  2. Select Variables:
    • The One-Way ANOVA dialog box will open.
    • Add Test_Score to the Dependent List (click and use the right arrow).
    • Add Teaching_Method to the Factor box.
  3. Set Options:
    • Click on the Options button.
    • Check these options:
      • Descriptive: For group means, standard deviation, and sample size.
      • Homogeneity of variance test: For Levene’s test (this checks the assumption that variances are equal).
      • Means plot: For visual representation.
    • Click Continue.
  4. Post Hoc Tests (Optional):
    • If ANOVA gives a significant result, you need to perform post hoc tests to find out which groups differ.
    • Click on the Post Hoc button.
    • Select the Tukey option (this is a common post hoc test when variances are equal).
    • Click Continue.
  5. Click OK:
    • After confirming all settings, click OK.
    • The results will appear in the SPSS Output window.

3 Analyzing the Output

The SPSS output will show several tables. We will understand the main tables:

Descriptive Statistics Table

This table shows the mean, standard deviation, and sample size for each group.

Teaching_Method Mean Std. Deviation N Method A 88.40 2.70 5 Method B 80.00 1.58 5 Method C 92.60 2.07 5

Interpretation: Method C has the highest mean score (92.60), and Method B has the lowest (80.00).

Levene’s Test for Homogeneity of Variances

This test checks whether the variances of the groups are equal.

If the Sig. value > 0.05, the variances are equal (assumption met).

Example: If Sig. = 0.153, the assumption is met.

ANOVA Table

This table indicates whether there is a statistically significant difference between the group means.

Source Sum of Squares df Mean Square F Sig. Between Groups 462.933 2 231.467 24.193 .000 Within Groups 114.800 12 9.567 Total 577.733 14

Interpretation:

  • Sig. value (p-value) = 0.000, which is less than 0.05.
  • This means the null hypothesis (that all group means are equal) is rejected.
  • Conclusion: There is a significant difference in test scores between teaching methods.

Post Hoc Tests (Multiple Comparisons)

This table shows which specific group means differ.

(I) Teaching_Method (J) Teaching_Method Mean Difference (I-J) Sig. Method A Method B 8.40 0.015 Method A Method C -4.20 0.236 Method B Method C -12.60 0.001

Interpretation:

  • There is a significant difference between Method A and Method B (p = 0.015 < 0.05).
  • The difference between Method A and Method C is not significant (p = 0.236 > 0.05).
  • There is a significant difference between Method B and Method C (p = 0.001 < 0.05).

Means Plot

This is a graph that visually shows the mean scores for each group.

It allows you to see that Method C’s scores are higher than Method A and Method B.

4 Reporting Results (APA Style)

To report results in APA format, you can write:

A One-Way ANOVA revealed that teaching methods had a significant effect on test scores, F(2, 12) = 24.193, p < 0.001. Tukey HSD post hoc tests indicated that Method B (M = 80.00, SD = 1.58) scores were significantly lower than Method A (M = 88.40, SD = 2.70, p = 0.015) and Method C (M = 92.60, SD = 2.07, p = 0.001). There was no significant difference between Method A and Method C scores (p = 0.236).

Checking ANOVA Assumptions

It is essential to check some assumptions for One-Way ANOVA:

  1. The dependent variable must be continuous: Test scores are continuous, so this assumption is met.
  2. The independent variable must be categorical: Teaching method is categorical (3 groups), so this is also met.
  3. No significant outliers: Check using a boxplot (Graphs > Chart Builder > Boxplot). If there are no extreme values, the assumption is met.
  4. Normality: Check using the Shapiro-Wilk test (Analyze > Descriptive Statistics > Explore > Plots > Normality plots with tests). If p > 0.05, the data is approximately normal.
  5. Homogeneity of variances: Already checked using Levene’s test (Sig. > 0.05).

Note: If any assumption is violated, you can use alternatives in SPSS like Welch ANOVA or non-parametric tests (Kruskal-Wallis).

Conclusion

In this SPSS One-Way ANOVA tutorial, we learned how to:

  • Enter data and set up variables in SPSS
  • Perform One-Way ANOVA
  • Interpret results
  • Analyze post hoc comparisons
  • Check assumptions for ANOVA
  • Report findings in APA style

Based on the example of the effect of teaching methods, we found that there is a significant difference in students’ scores across different teaching methods, with Method C appearing the most effective and Method B the least effective.

SPSS Tutorials | Your Guide for All Statistical Analysis

Updated: April 18, 2025

Leave a Reply

Your email address will not be published. Required fields are marked *