Module 12 Flashcards
What is two factor analysis of variance?
- builds on the single factor ANOVA
- looks at the effect of two categoircal variables, we can look at the effect that each level has on the numerical variable, as well as the interaction between the categorical variables
How can two factor anova be visualized?
as a two dimensional grid. one factor shown as columns, one as rows
What is the factor?
the categorical variables are called factors, and the different types within each factor are called levels
What is a cell?
the intersection of two levels is called a cell. within each cell, there will typically be several sampling units and numericalvariable is measured on each sampling unit
What 3 questions does two factor ANOVAs answer?
- main effects A are questions about the differences among the levels of factor A averaging across the levels of factor B. These are comparisons among full columns (or full rows)
- Main effects B are questions about the differences among the levels of factor B averaging across the levels of factor A. these are comparisons among full rows (or full columns)
- interactions are questions about the differences among the levels of one factor within each level of the other factor. these are cell by cell comparisons
What is the most valuable part of a two factor ANOVA?
can evaluate whether there is an interaction between the factors
What is an interactions?
a deviation from the assumption that the levels of each factor simply add together. this is called additivity
what is additivity?
Additivity is when the response to the combination of two levels is simply the sum of the two.
What is the best way to visualize interactions?
- interactions plot
- use the same information as a box plot, but present the data in a way that showcases the relationship between the categorical variables
How are interaction plots set up?
- the y axis shows the numerical variable in the same way as box plots
- the x axis shows the levels one categorical variable
- lines are used to connect cells across the x-axis according to the levels of the other categorical variable
If the categorical variables are additive, how does the interaction plot appear?
the lines on an interaction plot will be parallel
if the categorical variables are not additive, how will the interaction plot appear?
the lines of the plot are not parallel
what are the fout steps a two factr anova tests follow for the hypothesis test?
- define the null and alternative hypothesis
- establish the null distribution
- conduct the statistical test
- draw scientific conclusions
Null and alternative hypothesis for main effects A?
null: the means are the same across all levels of factor A
alternative: the means are different somewhere.
Null and alternative hypothesis for main effects B?
null: the means are the same across all levels
alternative: means are different somewhere