732A35 1

advertisement
732A35
1
This method was introduced at the last lecture.
Cell means model
π‘Œπ‘–π‘—π‘˜ = πœ‡π‘–π‘— + πœ€π‘–π‘—π‘˜
Factor effects model
π‘Œπ‘–π‘—π‘˜ = πœ‡βˆ™βˆ™ + 𝛼𝑖 + 𝛽𝑗 + 𝛼𝛽
𝑖𝑗
+ πœ€π‘–π‘—π‘˜
732A35
2
Method of least squares or maximum likelihood is
used to minimize:
𝑄=
π‘Œπ‘–π‘—π‘˜ − πœ‡π‘–π‘—
𝑖
𝑗
2
π‘˜
or
𝑄=
π‘Œπ‘–π‘—π‘˜ − πœ‡βˆ™βˆ™ − 𝛼𝑖 − 𝛽𝑗 − 𝛼𝛽
𝑖
𝑗
2
𝑖𝑗
π‘˜
732A35
3
𝑆𝑆𝑇𝑂 =
π‘Œπ‘–π‘—π‘˜ − π‘Œβˆ™βˆ™βˆ™
𝑖
𝑗
π‘˜
𝑆𝑆𝑇𝑅 = 𝑛
π‘Œπ‘–π‘—βˆ™ − π‘Œβˆ™βˆ™βˆ™
𝑖
𝑆𝑆𝐸 =
𝑗
π‘˜
2
𝑗
π‘Œπ‘–π‘—π‘˜ − π‘Œπ‘–π‘—βˆ™
𝑖
2
2
2
π‘’π‘–π‘—π‘˜
=
𝑖
𝑗
732A35
π‘˜
4
SSTR can be partitioned:
𝑆𝑆𝐴 = 𝑛𝑏
π‘Œπ‘–βˆ™βˆ™ − π‘Œβˆ™βˆ™βˆ™
2
𝑖
𝑆𝑆𝐡 = π‘›π‘Ž
π‘Œβˆ™π‘—βˆ™ − π‘Œβˆ™βˆ™βˆ™
2
𝑗
𝑆𝑆𝐴𝐡 = 𝑛
π‘Œπ‘–π‘—βˆ™ − π‘Œπ‘–βˆ™βˆ™ − π‘Œβˆ™π‘—βˆ™ + π‘Œβˆ™βˆ™βˆ™
𝑖
2
𝑗
732A35
5
As usual, the sum of squares are divided by their
degrees of freedom:
𝑆𝑆𝐴
𝑀𝑆𝐴 =
π‘Ž−1
𝑆𝑆𝐡
𝑀𝑆𝐡 =
𝑏−1
𝑆𝑆𝐴𝐡
𝑀𝑆𝐴𝐡 =
π‘Ž−1 𝑏−1
𝑆𝑆𝐸
𝑀𝑆𝐸 =
π‘Žπ‘ 𝑛 − 1
732A35
6
First of all the means should be visualized in a
treatment means plot (Interaction plot in Minitab).
732A35
7
To test if interactions are important, a F-test is
calculated.
𝐻0 : π‘Žπ‘™π‘™ 𝛼𝛽
𝑖𝑗
π»π‘Ž : π‘›π‘œπ‘‘ π‘Žπ‘™π‘™ 𝛼𝛽
𝐹∗
=0
𝑖𝑗
=0
𝑀𝑆𝐴𝐡
=
𝑀𝑆𝐸
𝐼𝑓 𝐹 ∗ > 𝐹 1 − 𝛼; π‘Ž − 1 𝑏 − 1 , 𝑛 − 1 π‘Žπ‘
732A35
→
𝑅𝑒𝑗𝑒𝑐𝑑 𝐻0
8
If the interactions aren’t important, test for factor
effects.
Factor A
Factor B
𝐻0 : π‘Žπ‘™π‘™ 𝛼𝑖 = 0
𝐻0 : π‘Žπ‘™π‘™ 𝛽𝑗 = 0
π»π‘Ž : π‘›π‘œπ‘‘ π‘Žπ‘™π‘™ 𝛼𝑖 = 0
𝑀𝑆𝐴
∗
𝐹 =
𝑀𝑆𝐸
Critical value with a-1 and
n-1(ab) degrees of freedom.
π»π‘Ž : π‘›π‘œπ‘‘ π‘Žπ‘™π‘™ 𝛽𝑗 = 0
𝑀𝑆𝐡
∗
𝐹 =
𝑀𝑆𝐸
Critical value with b-1 and
n-1(ab) degrees of freedom.
732A35
9
The methods on the following slides are used when
the interaction is considered unimportant.
Point estimators are:
πœ‡π‘–βˆ™ = π‘Œπ‘–βˆ™βˆ™βˆ™
π‘Žπ‘›π‘‘
πœ‡βˆ™π‘— = π‘Œβˆ™π‘—βˆ™
Unbiased estimators of the variances:
𝑀𝑆𝐸
𝑀𝑆𝐸
2
2
𝑠 π‘Œπ‘–βˆ™βˆ™ =
π‘Žπ‘›π‘‘ 𝑠 π‘Œβˆ™π‘—βˆ™ =
𝑏𝑛
π‘Žπ‘›
Confidence interval is created with the t distribution:
π‘Œ ± 𝑑 1 − 𝛼 2 ; 𝑛 − 1 π‘Žπ‘ ∗ 𝑠 π‘Œ
732A35
10
Tukey is used when all pairwise comparisons are to
be made:
𝐷 = π‘Œπ‘–βˆ™βˆ™ − π‘Œπ‘– ′βˆ™βˆ™
1
2𝑀𝑆𝐸
𝐷±
π‘ž 1 − 𝛼; π‘Ž, 𝑛 − 1 π‘Žπ‘ ∗
=
𝑏𝑛
2
𝐷±π‘‡∗𝑠 𝐷
𝐷 = π‘Œβˆ™π‘—βˆ™ − π‘Œβˆ™π‘— ′βˆ™
1
2𝑀𝑆𝐸
𝐷±
π‘ž 1 − 𝛼; 𝑏, 𝑛 − 1 π‘Žπ‘ ∗
π‘Žπ‘›
2
732A35
11
If only a few pairwise comparisons is to be made, the
Bonferroni method usually is the best.
Instead of T, B should be used.
𝐡 = 𝑑 1 − 𝛼 2𝑔 ; 𝑛 − 1 π‘Žπ‘
Where g is the number of comparisons.
732A35
12
Contrasts can also be obtained, with either the
Scheffé procedure or Bonferroni (see p. 852).
Be aware that the standard deviation and the
multiplicator is not the same for the different
factors.
732A35
13
When the interactions are important, only the
treatment (cell) means should be analyzed.
I only show Tukey at the slides.
π‘Œπ‘–π‘—βˆ™ − π‘Œπ‘– ′𝑗 ′βˆ™
1
2𝑀𝑆𝐸
±
π‘ž 1 − 𝛼; π‘Žπ‘, 𝑛 − 1 π‘Žπ‘ ∗
𝑛
2
=𝐷±π‘‡∗𝑠 𝐷
732A35
14
On the upcoming (last) lecture we will discuss:
• Two-way ANOVA with only one case per treatment
(ch 20)
• Randomized complete block designs
(ch 21)
• Analysis of Covariance
(ch 22)
732A35
15

Chapter 19

Start reading chapter 20, 21, 22
732A35
16
Download