Chapter 13: Factorial ANOVA Flashcards
Theory of Factorial ANOVA
- When an experiment has two or more independent variables
Types of factorial design:
- Independent factorial design
- Repeated-measures (related) factorial design
- Mixed design
Independent factorial design
- In this type of experiment there are several independent variables or predictors and each has been measured using different entities (between groups)
Repeated-measures (related) factorial design
- This is an experiment in which several independent variables or predictors have been measured, but the same entities have been used in all conditions.
Mixed design:
- This is a design in which several independent variables or predictors have been measured; some have been measured with different entities whereas others used the same entities
Naming ANCOVA
Number of Independent Variables-way-how these variables were measured
- one-way independent ANOVA;
- two-way repeated-measures ANOVA;
- two-way mixed ANOVA;
- three-way independent ANOVA.
Factorial ANOVA as linear model: Equation
Outcome= bo + b1predictor1 + b2predictor2 + b3interaction
- we need dummy variables
- interaction variable is simply value of gender dummy variable multiplied by value of alcohol dummy variable
Mean of men who drank no alcohol=bo+b1(0)+b2(0)+b3(0)
- constant bo: mean of the group for which all variables are coded as 0
Breaking down Variance in two-way ANOVA
- SSa: variance explained by variable a
- SSb: variance explained by variable b
- SSaxb: variance explained by interaction of both variables
- SSR: unexplained variance
Two-way ANOVA: SST
- SST= sum(obs.data-grand mean)^2
- SST= grand variance (N-1)
—> SST = s^2 (grand) x (N-1)
Two-way ANOVA: Grand Variance
- variance of all scores when we ignore the group to which they belong
- grand variance s^(grand)=SST/dfT
- dfT=N-1
Two-way ANOVA:
- Model Sum of Squares (SSM)
- total variation explained by model
- SSM=sum[nk (group mean - grand mean)^2]
- nk: no. of people in each group
- How many groups in total= no. of categories of IV1 x no. of Categories of IV2
- dfM= (no. of groups in total) - 1
Two-way ANOVA: Main Effect of Variable 1
-SSM1
- ignore the effect of other variable
- SSM1=sum[nk(group mean-grand mean)
Example:
Variable 1: Gender
Categories of gender: female and male
—> SSMg=10(60-58)^2 +10(62-58)^2
~ Multiply the number of people in each category by the squared difference of category mean and grand mean
~ Add the values from each category
~ dfM= (no. of categories)-1
Two-way ANOVA: Interaction effect
- SSMaxb
- SSMaxb= SSM-SSM1-SSM2
—> Total model-main effect of variable 1- main effect of variable 2 - dfaxb= dfM-dfM1-dfM2
- dfaxb= dfM1 x dfM2
Two-way ANOVA: SSR
- unexplained variance
- SSR=sum[s^2(nk-1)]
—> variance of each group x (nk-1) - dfR= (overall no. of categories) x (nk-1)
Assumptions of Factorial ANOVA:
- Linearity
- Normality
- Homogeneity of Variance
- Independence of Errors