Continuous Variables for Two or More Groups

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

CONTINUOUS VARIABLES FOR TWO OR MORE GROUPS

2
New cards

What does a one-way ANOVA test evaluate? (aov(), then summary())

Full name: analysis of variance

ANOVA tests whether three or more group means are significantly different.

  • H₀: all population means are equal

    • the population means are the same for all groups

  • H₁: at least one population mean is different

    • the population means are not the same for all groups

3
New cards

What is the ANOVA test statistic and how are degrees of freedom calculated?

Test statistic: F

  • Higher F values = lower probability of H₀ being true

2 degrees of freedom:

  • Between groups: G − 1

    • G = number of groups

  • Within groups: N − G

    • N = total number of observations

*exact rejection regions depend on degrees of freedom

4
New cards

What do you do after a significant ANOVA?

Use post-hoc tests to determine which groups are significantly different from each other:

  • Pairwise comparisons: TurkeyHSD() or posthocPairwiseT()

  • Planned comparisons: for contrasts of a prior interest

    • Specify comparisons of interest

*Adjust p-values for multiple comparisons using Bonferroni correction: p′ = p*m  

  • m = total number of comparisons

5
New cards

What is eta squared (η²) and how is it interpreted? - Effect size

Eta squared measures the proportion of variance explained by the group differences:

  • 0.01: small

  • 0.06: medium

  • 0.14: large

*larger values correspond to more unequal means

  • (Alternate scale: 0.02 / 0.13 / 0.26 from lecture slides) (?? sooo which scale)

6
New cards

What assumptions does ANOVA make?

  • Normality of residuals: the residuals are normally distributed

    • Check with: Shapiro-Wilk test (shapiro.test()), histogram, QQ plot

    • If violated: use Kruskal-Wallis sum test (kruskal.test())

  • Homogeneity of variance: the variance is the same in both groups

    • Check with: leveneTest())

    • If violated: use Welch’s one-way test (oneway.test())

  • Independence of residuals: The residuals are independent