Module 12 - Two-factor ANOVA

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

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.

17 Terms

1
New cards

Two-factor ANOVA

Used to evaluate the change in a numerical variable across two categorical variables. Builds on the single-factor ANOVA, can look at the effect that each level has on the numerical variable and the interaction between categorical variables

2
New cards
<p>Structure of a two-factor ANOVA</p>

Structure of a two-factor ANOVA

Can be visualized as a two-dimensional grid. One factor can be columns and the other rows

3
New cards

Main effects

Answered in a two-factor ANOVA — can be for factor A: asking about differences among the levels of factor B. These are comparisons among full columns (or full rows) AND for factor B: asking 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).

4
New cards

Interactions

Questions about the differences among the levels of one factor within each level of the other factor. These are cell-bycell comparisons.

5
New cards

Evaluation of if there is an interaction between the factors

Asks if there is an interaction — any deviation from the assumption that the levels of each factor simply add together (additivity)

6
New cards

Assumption of additivity

The response to the combination of two levels is simply the sum of the two — ie. stacking two 1kg rocks on a scale will result in a measurement of 2kg

7
New cards

Interaction plot

A common way to visualize data - a specialized plot that highlights the interaction pattern between two categorical variables. Use the same information as a box plot but presents the data in a way that showcases the relationship.

8
New cards

Setup for an interaction plot

  1. The y-axis shows the numerical variable in the same way as box plots

  2. The x-axis shows the levels one categorical variable

  3. Lines are used to connect cells across the x-axis according to the levels of the other categorical variable

9
New cards

Representation of categorical variables on an interaction plot

If the categorical variables are additive (no interaction), the lines will be parallel. If the categorical variables are not additive, the lines are not parallel. Antagonistic interactions have lines that cross. Synergistic interactions have non-parallel lines that don’t cross

10
New cards

Null and alternative hypotheses for main effects (ie., A)

Null: The means Ai) are the same across all levels (i) of factor A: HO: μA1A2=...=μAk-1=μAk

Alternative: The means are different somewhere: HA: μA1≠μA2≠...≠μAk-1≠μAk

11
New cards

Null and alternative hypotheses for interaction

Null: the deviation of each cell relative to additivity is zero (notation AiBj refers to the cell that corresponds to the ith level of factor A and the jth level of factor B): HO: δA1B1A1B2=...=δAkBk-1AkBk=0

Alternative: There is a non-zero deviation from additivity. Does not indicate which cells or how many have non-zero deviations. HA: δA1B1≠δA1B2≠...≠δAkBk-1≠δAkBk≠0

12
New cards

Group variation factor A (MSA)

The variation among the means of the levels of factor A. Calculated as MSA=SSA/dfA, where SSA is the total group variation and dfA is the degrees of freedom. Degrees of freedom are dfA= a-1, where a is the number of levels in factor A.

13
New cards

Group Variation factor B (MSB)

The variation among the means of the levels of factor B. Calculated as MSB=SSB/dfB, where SSB is the total group variation and dfB is the degrees of freedom. Degrees of freedom are dfB= b-1, where b is the number of levels in factor B.

14
New cards

AB interaction (MSAB)

The amount of variation attributable to the deviation from additivity. Calculated as MSAB=SSAB/dfAB, where SSAB is the total variation of the cell deviations from additivity and dfAB is the degrees of freedom. Degrees of freedom are dfAB= (a-1)(b-1), where a is the number of levels in factor A and b is the number of levels in factor B.

15
New cards

Residual Variation (MSE)

The variation among sampling units within a cell. Calculated as MSE=SSE/dfE, where SSE is the total residual variation and dfE is the degrees of freedom. Degrees of freedom are dfE= ab(n-1), where a is the number of levels in factor A, b is the number of levels in factor B and n is the number of sampling units in each cell.

16
New cards

Three F-tests

Main effects A/B: (ie. A) The F-score is F=MSA/MSE, where MSA is the group variation for factor A and MSE is the residual variation. This ratio of variances evaluates mean differences among factor A levels by quantifying the amount of factor A group variation relative to residual variation.

Interactions: The F-score is F=MSAB/MSE, where MSAB is the cell variation attributed to non-additivity and MSE is the residual variation. This ratio of variances evaluates an interaction by quantifying the amount of variation attributable to deviations from additivity relative to residual variation.

17
New cards

Scientific conclusions for a two-factor ANOVA

First: Evaluate the interaction, either:

  1. Reject the null hypothesis and conclude there is evidence that at least one cell deviates from additivity.

  2. Fail to reject the null hypothesis and conclude there is no evidence that the cells deviate from additivity.

If to reject the null hypothesis, main effects should not be evaluates (the presence of interactions says the change in means across levels of one factor differs depending on the level of the other factor)

Second: Evaluate the main effects, if the interaction is not significant, factors are considered additive, can look at main effects for each and conclude:

  1. Reject the null hypothesis and conclude there is evidence that the means of at least two levels are different in the factor.

  2. Fail to reject the null hypothesis and conclude there is no evidence that the means among levels are different in the factor.