PSYC 300 Lecture notes - One-way ANOVA
One-Way ANOVA is a statistical method used to test differences in means among two or more groups.
It is part of the broader Analysis of Variance (ANOVA) techniques.
Basic Concepts
Dependent Variable (DV): Continuous variable being measured (e.g., mean height).
Independent Variable (IV): Categorical variable determining the group comparisons (e.g., type of sport).
Hypotheses in ANOVA
Null Hypothesis (H0): No difference in means across groups.
Example: μ1 = μ2 = μ3 … = μj
Alternative Hypothesis (Ha): At least one group mean is different.
Example: μ ≠ μ
Advantages of ANOVA
Allows comparisons of more than two means simultaneously, reducing the risk of Type I errors associated with multiple t-tests.
Provides a more efficient “one-stop shop” for testing group differences.
Key Assumptions of ANOVA
Independent Sampling: Samples must be randomly selected and independent.
Normality: The distribution of the DV should be approximately normal.
Homogeneity of Variance: Equal variances across groups.
The F-Statistic
The F-statistic is calculated to assess the variance between sample means.
It represents the ratio of variance between the groups to variance within the groups.
Formula: F = MSbetween / MSwithin
Where MS = Mean Square, calculated as:
MSbetween = SSbetween / dfbetween
MSwithin = SSwithin / dfwithin
ANOVA Results Interpretation
ANOVA Table Components: Includes degrees of freedom (df), sum of squares (SS), mean squares (MS), F-value, and p-value for both conditions (IV) and residuals (error).
A significant p-value (p < .05) indicates rejection of the null hypothesis.
If results are significant, post-hoc tests are necessary to identify which groups differ.
Steps for Conducting One-Way ANOVA
Run Levene’s Test for homogeneity of variance.
Null Hypothesis: Variances are equal (p > .05).
Alternative Hypothesis: Variances are not equal (p < .05).
Conduct One-Way ANOVA using the appropriate statistical software (e.g., R).
Example:
lm(y ~ x)followed byanova(modelname)for standard ANOVA.If homogeneity is not met, use
oneway.test(y ~ x)for Welch’s F.
Post-Hoc Tests: If ANOVA shows significance, apply a post-hoc test (e.g., Bonferroni) to investigate specific differences.
Example:
pairwise.t.test(y, x, p.adjust.method = "bonferroni")
Example: Analyzing Well-Being
Research Question: Do self-rated sense of well-being differ based on therapy coping strategies?
Conditions: ACT, CBT, Control (no strategy).
Null Hypothesis: No mean difference in WellBeings across conditions.
Analysis Steps: Run Levene's test, followed by one-way ANOVA and then post-hoc tests if necessary.
Writing and Reporting Results
APA Style Example: Participants’ self-reported well-being did not differ significantly based on their coping strategy type (i.e., condition), F(2, 196) = 2.133, p = .121.
Include means and standard deviations of groups that differ following significant results in post-hoc tests.