two-way anova - up · experimental design two-way anova nested (hierarchical) anova observation:...
TRANSCRIPT
10/02/12 1
Experimental Design Two-way ANOVA
Two-way ANOVA
10/02/12 2
Experimental Design Two-way ANOVA
Two-way ANOVAOrthogonal (Factorial) ANOVA
Nested (Hierarchical) ANOVA
All possible combinations between factor levels are represented in the analysis
Levels of a hierarchically inferior factor are exclusive of the hierarchically superior factor
10/02/12 3
Experimental Design Two-way ANOVA
Orthogonal Analysis of VarianceRecall the “Lakes” experiment
Suppose that we want to search for differences among Lakes, but we also want to test if male and female fish differ in average length
Two orthogonal factors
● Lakes (Fixed, with a=3 levels)● Sex (Fixed, with b=2 levels)
10/02/12 4
Experimental Design Two-way ANOVA
Orthogonal Analysis of Variance
● L = Lakes (Fixed, with a=3 levels)● S = Sex (Fixed, with b=2 levels)● n = 5
10/02/12 5
Experimental Design Two-way ANOVA
Orthogonal Analysis of Variance● L = Lakes (Fixed, with a=3 levels)● S = Sex (Fixed, with b=2 levels)● n = 5
Source of Variation
SS DF MS F P After
L
S
Error
Total
10/02/12 6
Experimental Design Two-way ANOVA
Orthogonal Analysis of Variance● L = Lakes (Fixed, with a=3 levels)● S = Sex (Fixed, with b=2 levels)● n = 5
Source of Variation
SS DF MS F P After
L
S
Error
Total
Degrees of Freedom
Lake → a-1 = 2Sex → b-1 = 1Error → ab(n-1) = 24Total → abn-1 = 29
10/02/12 7
Experimental Design Two-way ANOVA
Orthogonal Analysis of Variance● L = Lakes (Fixed, with a=3 levels)● S = Sex (Fixed, with b=2 levels)● n = 5
Source of Variation
SS DF MS F P After
L 2
S 1
Error 24
Total 29
Degrees of Freedom
Lake → a-1 = 2Sex → b-1 = 1Error → ab(n-1) = 24Total → abn-1 = 29
Something is missing!
10/02/12 8
Experimental Design Two-way ANOVA
Orthogonal Analysis of Variance● L = Lakes (Fixed, with a=3 levels)● S = Sex (Fixed, with b=2 levels)● n = 5
Interaction
Every orthogonal factor creates an interaction with any other orthogonal factor
10/02/12 9
Experimental Design Two-way ANOVA
Orthogonal Analysis of Variance● L = Lakes (Fixed, with a=3 levels)● S = Sex (Fixed, with b=2 levels)● n = 5
Source of Variation
SS DF MS F P After
L 2
S 1
L*S
Error 24
Total 29
Degrees of Freedom
L → a-1 = 2S → b-1 = 1L*S → (a-1)(b-1) = 2Error → ab(n-1) = 24Total → abn-1 = 29
10/02/12 10
Experimental Design Two-way ANOVA
Orthogonal Analysis of Variance● L = Lakes (Fixed, with a=3 levels)● S = Sex (Fixed, with b=2 levels)● n = 5
Source of Variation
SS DF MS F P After
L 2
S 1
L*S 2
Error 24
Total 29
Degrees of Freedom
L → a-1 = 2S → b-1 = 1L*S → (a-1)(b-1) = 2Error → ab(n-1) = 24Total → abn-1 = 29
10/02/12 11
Experimental Design Two-way ANOVA
Orthogonal Analysis of Variance● L = Lakes (Fixed, with a=3 levels)● S = Sex (Fixed, with b=2 levels)● n = 5
10/02/12 12
Experimental Design Two-way ANOVA
Orthogonal Analysis of VarianceInteraction
Measures the degree of dependency of one factor (X) on the other (Y) and vice-versa
If it is non-significantDifferences among levels of X do not depend on the levels of Y and vice-versa
If it is significantDifferences among levels of X depend on the levels of Y and vice-versa
10/02/12 13
Experimental Design Two-way ANOVA
Orthogonal Analysis of VarianceNon-significant Interaction (α=0.05)
Source of Variation
SS DF MS F P After
L 1.650 2 0.825 13.333 0.000 Error
S 0.041 1 0.041 0.657 0.426 Error
L*S 0.090 2 0.045 0.731 0.492 Error
Error 1.485 24 0.062
Total 3.266 29
10/02/12 14
Experimental Design Two-way ANOVA
Orthogonal Analysis of VarianceSignificant Interaction (α=0.05)
Source of Variation
SS DF MS F P After
L 1.650 2 0.825 13.333 0.000 Error
S 0.041 1 0.041 0.657 0.426 Error
L*S 0.090 2 0.045 0.731 0.012 Error
Error 1.485 24 0.062
Total 3.266 29
You cannot use these!
10/02/12 15
Experimental Design Two-way ANOVA
Orthogonal Analysis of VarianceNo interaction Significant interaction
10/02/12 16
Experimental Design Two-way ANOVA
Orthogonal Analysis of VarianceModel I (Factor A Fixed, Factor B Fixed)
10/02/12 17
Experimental Design Two-way ANOVA
Orthogonal Analysis of VarianceModel II (Factor A Random, Factor B Random)
10/02/12 18
Experimental Design Two-way ANOVA
Orthogonal Analysis of VarianceModel III (Factor A Fixed, Factor B Random)
10/02/12 19
Experimental Design Two-way ANOVA
Nested (Hierarchical) ANOVAObservation: Eucalyptus forests strive in drier soils and apparently their pedofauna (soil fauna) is less diversified than that of Pine or Oak forests. Oak forests are likely to have the most diversified soil fauna.
10/02/12 20
Experimental Design Two-way ANOVA
Nested (Hierarchical) ANOVA
Xijk=μ+Ai+B(A)j(i)+εijk
10/02/12 21
Experimental Design Two-way ANOVA
Nested (Hierarchical) ANOVA
10/02/12 22
Experimental Design Two-way ANOVA
Nested (Hierarchical) ANOVA
10/02/12 23
Experimental Design Two-way ANOVA
Nested (Hierarchical) ANOVA
Nested ANOVA after orthogonalization