Lecture 8: Analysis of Variance ANOVA, Part 2

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

flashcard set

Earn XP

Description and Tags

Alternative forms of ANOVA (for repeated measures)

Last updated 1:38 AM on 8/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

26 Terms

1
New cards

Purpose of using ANOVA

  • for repeated measures designs

    • A variable is measured repeatedly

    • e.g. drug 1, drug 2, drug 3, and placebo

    • Need three or more points of measures

      • Otherwise use related samples t-test

2
New cards

RM measures and RM ANOVA

  • sometimes the way how you measure sometimes is more difficult to make causal inference (e.g. age and problem solving ability)

    • age and problem solving ability is a non-experimental design

3
New cards

RM-ANOVA vs IM-ANOVA

for RM-ANOVA

  • same hypothesis as IM-ANOVA

    • Means of the population means are identical

    • H1 is there is at least one difference

    • Then use post-hoc like in IM-ANOVA

  • similar but not identical assumptions (not tested)

    • equality of variance

    • observations are not independent (compared to IM)

  • Similar F-ratio but slightly difference

<p>for RM-ANOVA</p><ul><li><p>same hypothesis as IM-ANOVA</p><ul><li><p>Means of the population means are identical</p></li><li><p>H1 is there is at least one difference</p></li><li><p>Then use post-hoc like in IM-ANOVA</p></li></ul></li><li><p>similar but not identical assumptions (not tested)</p><ul><li><p>equality of variance</p></li><li><p>observations are not independent (compared to IM)</p></li></ul></li><li><p>Similar F-ratio but slightly difference</p></li></ul><p></p>
4
New cards

Issue with IM-ANOVA that RM-ANOVA can solve

  • individual differences between subjects is alway an issue for both parts of the fraction in the F-ratio

  • RM-ANOVA focuses on testing the same individual, therefore there is less of in issue within-treatments

5
New cards

RM-ANOVA

  • who si participating

  • the same individual is participating in all conditions

  • - the random, unsystematic error attributed to individual difference is mostly eliminated from the numerator and remove it from the deominator

6
New cards

What variable for RM-ANOVA help control?

  • confounding variables (e.g. weird scores)

7
New cards

F-ratio for RM-ANOVA: 2 stage process

  • numerator calculations similar

  • more work for the denominator

<ul><li><p>numerator calculations similar</p></li><li><p>more work for the denominator</p></li></ul><p></p>
8
New cards

RM-ANOVA notation

  • k

  • n

  • N

  • T

  • G

  • P

  • k = number of groups

  • n = size of a particular samples

  • N is all observations (because there is not more people, just repeated tests for the same participants)

  • T = sum of all scores in a single condition

  • G = sum of all scores in all conditions

  • P = sum of scores for each participant

9
New cards

Stage 1 of RM-ANOVA

SStotal = sum X² - G2 / N

df total = N – 1

Numerator

SSbetween treatments = sum (T² / n) - (G² / N)

dfbetween treatments = k − 1

  • thats it for the numerator

Denominator

SSwithin treatments = sum SS inside each treatment

dfwithin treatments = sum df inside each treatment

<p>SStotal = sum X² - G2 / N</p><p class="p1">df total = N – 1</p><p class="p2"><strong>Numerator</strong></p><p class="p3">SSbetween treatments = sum (T² / n) - (G² / N)</p><p class="p3">dfbetween treatments = k − 1</p><ul><li><p class="p3">thats it for the numerator</p></li></ul><p class="p3"><strong>Denominator</strong></p><p class="p3">SSwithin treatments = sum SS inside each treatment</p><p class="p3">dfwithin treatments = sum df inside each treatment</p><p class="p4"></p><p class="p4"></p>
10
New cards

Stage 2 of RM-ANOVA

  • assume SS within = SS between + SS error

    • SSbetween-subjects = sum (P2/k) – G2/N

    • solve for SS error

  • Assume df error = (n-1)(k-1)

    • dfbetween-subjects = n – 1 

  • Because RM-ANOVA does not have individual differences, between subjects has been removes, and we use SS error and df error for the no treatment effect calculate or MS

11
New cards

F critical value and F ditribution

  • F critical value requires the a value, the df error and the df between treatments

12
New cards

Effect size calculations

partial N² =

<p>partial N² = </p>
13
New cards

What is the Two-Factor ANOVA? Compared to IM and RM- ANOVA

  • given def for IM, RM, and then two factor

  • Give example for two factor

  • IM: different groups of observations

    • e.g. phones and attentions (1 factor with three levels)

  • RM: more than two points of observation in the same subject

    • Study strategy and performance

      • 1 factor multiple levels but same subject

  • Two factors ANOVA is two factor! (2 dependent things you are measuring)

    • gender, level of violence in video games and aggression

      • Factor A: gender

      • Factor B: level of violence

14
New cards

Vocabulary for two-factor ANOVAs

  • what are the categories called

    • What is the entire thing, including all categories/level combinations called

  • Give a sentence for a two-factor ANOVA


  • is A a row or column

  • is factor B a row or colum

  • Cells

    • Matrix

for a 2 by 2 matrix of 4 cells

  • A is rows

  • B is columns

<ul><li><p>Cells</p><ul><li><p>Matrix</p></li></ul></li></ul><p></p><p>for a 2 by 2 matrix of 4 cells</p><ul><li><p>A is rows</p></li><li><p>B is columns</p></li></ul><p></p>
15
New cards
<p>Multiple conclusions/<strong>possibilities</strong> with 2 factors</p><ul><li><p>e.g. of gender, violence and aggression</p></li></ul><div data-type="horizontalRule"><hr></div><ul><li><p>based on the graph, what can you conclude?</p><ul><li><p>Two things</p></li></ul></li></ul><p></p>

Multiple conclusions/possibilities with 2 factors

  • e.g. of gender, violence and aggression


  • based on the graph, what can you conclude?

    • Two things

  • gender associated with aggression (main effect of gender)

  • video game associated with aggression (main effect of video games)

  • gender and video games interact in a complex way to influence aggression (interaction)

  • Main effect of gender: aggression is higher in males

  • Main effect of video games: aggression is higher in violent games

<ul><li><p>gender associated with aggression (<strong>main effect of gende</strong>r)</p></li><li><p>video game associated with aggression (<strong>main effect of video games</strong>)</p></li><li><p>gender and video games interact in a complex way to influence aggression (<strong>interaction</strong>)</p></li></ul><p></p><ul><li><p>Main effect of gender: aggression is higher in males</p></li><li><p>Main effect of video games: aggression is higher in violent games</p></li></ul><p></p>
16
New cards
<p>What does <strong>interaction</strong> mean?</p><ul><li><p>give an example with aggression and violent video games in the table provided</p></li><li><p>Give a famous example</p></li></ul><p></p>

What does interaction mean?

  • give an example with aggression and violent video games in the table provided

  • Give a famous example

  • the cell shows a diff value than predicted by the main effects

  • e.g. table

    • If video games increase aggression, it doesn’t in all genders (not predicting as it should)

    • females have no change in aggression while only males do

  • Harlow’s study with the monkey and the stuffed mother

    • The milk has a greater effect when comparing time spend with cloth vs wire mother

<ul><li><p>the cell shows a diff value than predicted by the main effects</p></li><li><p>e.g. table</p><ul><li><p>If video games increase aggression, it doesn’t in all genders (not predicting as it should)</p></li><li><p>females have no change in aggression while only males do</p></li></ul></li><li><p>Harlow’s study with the monkey and the stuffed mother</p><ul><li><p>The milk has a greater effect when comparing time spend with cloth vs wire mother</p></li></ul></li></ul><p></p>
17
New cards

Practice: The the table provided an interaction?

  • no surprises = no interactions

<ul><li><p>no surprises = no interactions</p></li></ul><p></p>
18
New cards

Hypothesis (list all possible scenarios)

For Factor A

  • H0: no difference among the means of A: muA1 = muA2

  • H1: at least one difference among the means of A

Factor Factor B

  • H0: no difference among the means of B: muB1 = muB2

  • H1: at least one difference among the means of B

For Interaction (A X B)

  • H0: there is not interaction between the factors, The Mean difference between cells are explained by additive effects of the factors

  • H1: There is an interaction

19
New cards

calculating the F ratio - for the first two hypotheses

  • How do you calculate it (how many do you need)?

  • need an F ratio or separate F statistic for both factors

<ul><li><p>need an F ratio  or separate F statistic for both factors</p></li></ul><p></p>
20
New cards

What is the F statistics for the Interactive hypothesis

knowt flashcard image
21
New cards

2 stage process for calculating F stats

  • describe each step breifly

  • 1: separate variances from between and within treatments

  • 2: separate the variances from between into three separate components to then calculate each F ratio

<ul><li><p>1: separate variances from between and within treatments</p></li><li><p>2: separate the variances from between into three separate components to then calculate each F ratio</p></li></ul><p></p>
22
New cards

Two-Factor ANOVA notation

  • k

  • n

  • N

  • T, T col, T row

  • G

  • k = number of groups

  • n = number of individuals in one particular group

  • N is the total number of individuals

  • T the total sum of scores in each group: T col is the tot sum of scores in a particular column, T row is the tot sum of scores in a particular row

23
New cards

Stage one calculations

  • Six steps

  • M, T, and SS for each cell

  • calculate T for each row and column

  • calculate N, G, and sum(X²)

  • calculate for SS tot, SS between and SS within treatments

  • df tot = N - 1, df between = numbers of cells - 1, df within = tot df of each cell

  • Calculate for the MS within treatment

    • Denominator will be the same for all three F ratios going forward

<ul><li><p>M, T, and SS <strong><em>for each cell</em></strong></p></li><li><p><strong>calculate T for each row and column</strong></p></li><li><p>calculate N, G, and sum(X²)</p></li><li><p>calculate for SS tot, SS between and SS within treatments</p></li><li><p>df tot = N - 1, df between = numbers of cells - 1, df within = tot df of each cell</p></li><li><p>Calculate for the MS within treatment</p><ul><li><p>Denominator will be the same for all three F ratios going forward</p></li></ul></li></ul><p></p>
24
New cards

Stage 2 calculations

  • Factor A variance and df

  • Factor B variance and df

  • Interaction variance and df

  • How to calculate for the df for all

  • SS A = sum T² row/n row - G²/N

  • df A = rows - 1

  • SS B = sum T² column/n column - G²/N

  • df B = columns - 1

  • SS AXB = SS between - SS A - SS B

  • df A X B = df between - df A - df B

  • Look at all F ratios

25
New cards

How to predict if it will be an interaction for the study?

  • if the values in the table cross over

<ul><li><p>if the values in the table cross over</p></li></ul><p></p>
26
New cards

Measuring effect sizes, don’t have to remember

knowt flashcard image