Top of page
Skip to main content

T-Tests and One-Way ANOVA in SPSS: Choosing the Right Test and Interpreting Effect Sizes

The number of groups is only the starting point for choosing a test. Establish whether groups are independent or repeated, whether variances are equal, and whether the difference is large enough to matter.

KEY ARGUMENT

Use an independent t-test for two independent groups, a paired t-test for linked measurements, and one-way ANOVA for three or more independent groups. Report means/SDs, differences, CIs, effect sizes and appropriate post hoc tests.

Start reading

Comparing means: design first, test second

  1. Design

    Independent groups or repeated measures?

  2. Measurement

    Ensure scores are comparable

  3. Test

    Choose for the groups and assumptions

  4. Reporting

    Difference, effect size and CI

Conceptual diagram. Statistical significance does not establish practical importance.

Source: Lê Minh · Conceptual illustration, not software output.

1. Choose by design, not group count alone

Table 1
DesignTest
One group versus a reference valueOne-sample t-test
Two independent groupsIndependent-samples t-test
Two occasions/matched pairsPaired-samples t-test
≥ 3 independent groupsOne-way ANOVA or Welch ANOVA
≥ 3 repeated measurementsRepeated-measures ANOVA or a mixed model

2. Assumptions to check

Independence comes from sampling design and cannot be established by a p-value. Inspect normality in residuals, or paired differences for a paired t-test; with moderate/large samples, these tests are reasonably robust to mild departures (George & Mallery, 2022).

Levene’s test examines variance equality. For unequal variances in two groups, read Welch’s t-test; with multiple groups, use Welch ANOVA and Games–Howell post hoc comparisons.

p > 0.05 does not prove an assumption holds

Assumption tests may lack power. Combine them with plots, group sizes, skewness and robust methods.

The source t-test output includes Levene, two variance-assumption rows and effect sizes. Use the appropriate row and inspect differences, confidence intervals and effect sizes.
Application screenshot 1. The source t-test output includes Levene, two variance-assumption rows and effect sizes. Use the appropriate row and inspect differences, confidence intervals and effect sizes. Source: amosleminh.com · View full size

3. Omnibus ANOVA and post hoc comparisons

A significant F-test indicates that at least one mean differs, without identifying the pair. Tukey comparisons suit reasonably homogeneous variances; Games–Howell is useful for unequal variances or group sizes.

Do not run every pairwise t-test without adjustment, because family-wise error increases with the number of comparisons.

Table 2
TestSuggested effect sizeAlso report
Independent tCohen's d or Hedges' gCI for the difference
Paired tdz or standardized mean changeCI for the mean difference
ANOVAω² or η²Post hoc effect sizes and CIs
The source example places Levene, ANOVA and Robust Tests of Equality of Means together. An ANOVA p-value should not be interpreted apart from assumptions and design.
Application screenshot 2. The source example places Levene, ANOVA and Robust Tests of Equality of Means together. An ANOVA p-value should not be interpreted apart from assumptions and design. Source: amosleminh.com · View full size

4. SPSS workflow

Check the design and group codes

Confirm independence or pairing, group coding and missingness.

Describe the data

Examine N, mean, SD, boxplots and outliers by group.

Select the test

Use the design, group count and variance assumptions.

Read the omnibus test

For ANOVA, interpret F before post hoc comparisons.

Report an effect size

Go beyond the p-value: report differences and CIs.

Analyze → Compare Means → Independent-Samples T Test in the original SPSS interface. Command locations may differ in newer versions.
Application screenshot 3. Analyze → Compare Means → Independent-Samples T Test in the original SPSS interface. Command locations may differ in newer versions. Source: amosleminh.com · View full size

5. Reporting template

Reporting example in English

[Y] differed between [group A] (M = [ ], SD = [ ]) and [group B] (M = [ ], SD = [ ]), Welch t(df) = [ ], p = [ ], mean difference = [ ], 95% CI [ ; ], Hedges' g = [ ]. / Welch ANOVA indicated an overall difference, F(df1, df2) = [ ], p = [ ], ω² = [ ]; Games–Howell identified [pairs].
  • Distinguish independent from paired observations.
  • Use Welch results for unequal variances.
  • Use appropriate post hoc comparisons with ANOVA.
  • Report means, SDs, differences and CIs.
  • Include an effect size.
  • Do not interpret p > 0.05 as proof that groups are identical.

Conclusion

T-tests and ANOVA address mean differences; effect sizes and CIs describe their magnitude and precision.

References

Methodological note: For ordinal outcomes, extreme skewness, very small groups or strong outliers, consider robust methods, permutation tests or a more appropriate model.