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
| Condition | Decision |
|---|---|
| P-value < 0.05 | Reject Hβ β Statistically significant difference exists |
| P-value β₯ 0.05 | Fail 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:
- Analyze β Compare Means β Independent-Samples T Test
- Move the dependent variable (e.g., Satisfaction_Avg) to "Test Variable(s)"
- Move the grouping variable (e.g., Gender) to "Grouping Variable"
- Click Define Groups: Group 1 = 1, Group 2 = 2
- Click OK
Reading the Output:
- 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
- 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).