Progress 8/10
Lesson 8

Hypothesis Testing and T-Tests in SPSS

Learn the fundamentals of hypothesis testing and how to perform T-tests in SPSS to compare group means.

April 11, 2026

What is Hypothesis Testing?

Hypothesis testing is a statistical method to determine whether there is enough evidence in a sample to support a claim about a population.

Key Concepts

  • Null Hypothesis (Hβ‚€): There is NO significant difference/relationship
  • Alternative Hypothesis (H₁): There IS a significant difference/relationship
  • Significance Level (Ξ±): Usually 0.05 (5%)
  • P-value: The probability of getting results as extreme as observed if Hβ‚€ is true

Decision Rule

ConditionDecision
P-value < 0.05Reject Hβ‚€ β†’ Statistically significant difference exists
P-value β‰₯ 0.05Fail to reject Hβ‚€ β†’ No statistically significant difference

Independent Samples T-Test

When to use: Compare means between two independent groups (e.g., males vs. females).

Example Hypothesis:

"There is a statistically significant difference in job satisfaction between male and female employees."

SPSS Steps:

  1. Analyze β†’ Compare Means β†’ Independent-Samples T Test
  2. Move the dependent variable (e.g., Satisfaction_Avg) to "Test Variable(s)"
  3. Move the grouping variable (e.g., Gender) to "Grouping Variable"
  4. Click Define Groups: Group 1 = 1, Group 2 = 2
  5. Click OK

Reading the Output:

  1. Check Levene's Test first (tests equality of variances):
    • If Sig. > 0.05 β†’ use "Equal variances assumed" row
    • If Sig. ≀ 0.05 β†’ use "Equal variances not assumed" row
  2. Look at Sig. (2-tailed) in the appropriate row:
    • If < 0.05 β†’ significant difference β†’ reject Hβ‚€
    • If β‰₯ 0.05 β†’ no significant difference β†’ fail to reject Hβ‚€

One-Sample T-Test

When to use: Compare the sample mean against a known/hypothetical value.

Example: "Is the average satisfaction score significantly different from 3 (neutral)?"

SPSS Path: Analyze β†’ Compare Means β†’ One-Sample T Test

Set Test Value = 3

Paired Samples T-Test

When to use: Compare means for the same group at two different times (pre-test vs. post-test).

SPSS Path: Analyze β†’ Compare Means β†’ Paired-Samples T Test

Remember: The T-test only works for comparing two groups. For three or more groups, use ANOVA (next lesson).