Two Way/Two Factor Classification
Two Way/Two Factor Classification
Test Statistic:
𝑀𝑆𝐴𝐵
F ab = 𝑀𝑆𝐸
Rejection Region:
If F ab ≱ F α , (a-1)(b-1), ab(n-1) -> without interaction
Conclusion:
H0 is not rejected at α=___. There is no interaction effect between Factor A and Factor B.
The difference in (respond variable) does not depend on Factor B.
(No Interaction, Follow Up Analysis on Factor Main effects) Do Step 4
Hypothesis: Hypothesis:
H0 : α1 = … = αa = 0 vs H1 : at least one αi ≠ 0 H0 : β1 = … = βa = 0 vs H1 : at least one βi ≠ 0
Test Statistic: Test Statistic:
𝑀𝑆𝐴 𝑀𝑆𝐵
Fa = 𝑀𝑆𝐸 Fb = 𝑀𝑆𝐸
Rejection Region: Rejection Region:
If F a ≱ F α , (a-1), ab(n-1) -> H0 : α1 = … = αa = 0 If F b ≱ F a, (b-1), ab(n-1) -> H0 : β1 = … = βa = 0
(no follow up analysis) (no follow up analysis)
Conclusion: Conclusion:
H0 is not rejected at α=___. There is no difference in mean H0 is not rejected at α=___. There is no difference in mean
(Respond Variable) among Factor A. (Respond Variable) among Factor B.
Bonferroni-t Table
Factor A/B Factor B/A (Ȳ ij.- Ȳ i’j. )/ (Ȳ ij.- Ȳ ij’. ) Bonferroni 100%(1-α) C.I. Conclusion
(-,+),(-,-),(+,-),(+,+) S/NS
Duncan Table
p
(r α , p , f )
𝑀𝑆𝐸
√
𝑛
Rp
Solution: Solution:
Factor A: _____- random Factor A: _____- fixed
Treatments: Treatments:
Factor B: _____ - random Factor B: _____ - random
Treatments: Treatments:
Treatment Combination: ab Treatment Combination: ab
Experimental Units: abn Experimental Units: abn
To study the effects of Factor A and Factor B simultaneously on To study the effects of Factor A and Factor B simultaneously on
(Respond Variable). (Respond Variable).
Assumptions: Assumptions:
1. α1, α2, …, αa is a (RS)a from a N(0, σ2a) 1. , fixed Factor A effects
2. β 1, β2, …, β b is a (RS)b from a N(0, σ2b) 2. β 1, β2, …, β b is a (RS)b from a N(0, σ2b)
3. (αβ) 1 1 , , (αβ) 1 2 , …, (αβ) a b is a (RS)ab
3. (αβ) 1 1 , , (αβ) 1 2 , …, (αβ) a b is a (RS)ab
from a a N(0, σ2ab)
from a a N(0, σ2ab)
4. ε i j k are N=abn independent random variables and ε i j k ̴
4. ε i j k are N=abn independent random variables and ε i j k ̴
N(0, σ2e)
5. all a+b+ab+abn random variables are independent N(0, σ2e)
Hence Y i j k ̴ N(µ, σ2a, σ2b, σ2ab, σ2e) 5. all a+b+ab+abn random variables are independent
Step 2: Test for equal variances Step 2: Test for equal variances
If variances are equal -> Step 3 If variances are equal -> Step 3
If variances are not equal-> Nonpara Statistic If variances are not equal-> Nonpara Statistic
Step 3: Test of Factor A random effects Step 3: Test of Interaction Effects
Hypotheses: Hypotheses:
H 0 : σ 2 a = 0 vs H 1 : σ 2 a > 0 H 0 : σ 2 a b = 0 vs H 1 : σ 2 a b > 0
(Factor A do not vary) (No A×B interaction effect)
Test Statistic: Test Statistic:
𝑀𝑆𝐴 𝑀𝑆𝐴𝐵
Fa = 𝑀𝑆𝐴𝐵 Fab = 𝑀𝑆𝐸
Rejection Region: Rejection Region:
If F a ≱ F α , (a-1), (a-1)(b-1) -> H0 : σ a = 0
2
If F ab ≱ F α , (a-1)(b-1), ab(n-1) -> H0 : σ2ab = 0
Conclusion: Conclusion:
H0 is not rejected at α=___. There is no variation among Factor H0 is not rejected at α=___. There is no interaction between Factor
A. A and factor B.
(without interaction)
Rejection Region: Rejection Region:
If F a ≥ F α , (a-1), (a-1)(b-1) -> Reject H0 : σ a = 0
2
If F ab ≥ F α , (a-1)(b-1), ab(n-1) -> Reject H0 : σ2ab = 0
(Factor A vary)
Conclusion: Conclusion:
H0 is rejected at α=___. There are variation among Factor A. H0 is rejected at α=___. There is interaction between Factor A
and Factor B.
Step 4: Test of Factor B random effects Step 4: Test of Factor B random effects
Hypotheses: Hypotheses:
H0 : σ2b = 0 vs H1 : σ2b> 0 H0 : σ2b = 0 vs H1 : σ2b> 0
(Factor B do not vary) (Factor B do not vary)
Test Statistic: Test Statistic:
𝑀𝑆𝐵 𝑀𝑆𝐵
Fb = 𝑀𝑆𝐴𝐵 Fb = 𝑀𝑆𝐸
Rejection Region: Rejection Region:
If F b ≱ F α , (b-1), (a-1)(b-1) -> H0 : σ2b = 0 If F b ≱ F α , (b-1), ab(n-1) -> H0 : σ2b = 0
Conclusion: Conclusion:
H0 is not rejected at α=___. There is no variation among Factor H0 is not rejected at α=___. There is no variation among Factor
B. B.
Rejection Region: Rejection Region:
If F b ≥ F α , (b-1), (a-1)(b-1) -> Reject H0 : σ2b = 0 If F b ≥ F α , (b-1), ab(n-1) -> Reject H0 : σ2b = 0
(Factor B vary) (Factor B vary)
Conclusion: Conclusion:
H0 is rejected at α=___. There is variation among Factor B. H0 is rejected at α=___. There is variation among Factor B.
Step 5: Test of factor A×B interaction effects Step 5: Test of Factor A Fixed Effects
Hypotheses: Hypotheses:
H0 : σ2ab = 0 vs H1 : σ2ab> 0 H0 : α1 = … = αa = 0 vs H1 : at least one αi ≠ 0
(No A×B interaction effect) (Factor A effects do not differ)
Test Statistic: Test Statistic:
𝑀𝑆𝐴𝐵 𝑀𝑆𝐴
Fab = Fa = 𝑀𝑆𝐴𝐵
𝑀𝑆𝐸
Rejection Region: Rejection Region:
If F ab ≱ F α , (a-1)(b-1), ab(n-1) -> H0 : σ2ab = 0 If F a ≱ F α , (a-1), (a-1)(b-1) -> H0 : α1 = … = αa = 0
Conclusion: Conclusion:
H0 is not rejected at α=___. There is no Factor A and Factor B H0 is not rejected at α=___. There is no difference in mean
interaction effect. Factor A does not depend on Factor B and Factor (Respond Variable) among Factor A. No Follow-up Analysis.
B variations does not depend on Factor B. (without interaction)
Rejection Region: Rejection Region:
If F ab ≥ F α , (a-1)(b-1), ab(n-1) -> Reject H0 : σ2ab = 0 If F a ≥ F α , (a-1), (a-1)(b-1) -> Reject H0 : α1 = … = αa = 0
Conclusion: Conclusion:
H0 is rejected at α=___. There is Factor A and Factor B H0 is rejected at α=___. There is a difference in mean (Respond
interaction effect. Factor A depend on Factor B and Factor B Variable) among Factor A. (Follow-up Analysis)
variations depend on Factor B. (with interaction)