732A35 1

advertisement
732A35
1
We remember the cell means model:
π‘Œπ‘–π‘— = πœ‡π‘– + πœ€π‘–π‘—
The error terms πœ€π‘–π‘— are assumed to:

Be normally distributed

Be independent

Have constant variance
732A35
2
The error terms are estimated with the residuals.
𝑒𝑖𝑗 = π‘Œπ‘–π‘— − π‘Œπ‘–βˆ™ = π‘Œπ‘–π‘— − π‘Œπ‘–βˆ™
The residuals should be plotted…

… against fitted values

… in a normal probability plot

… in a dot plot

… in a sequence plot (if ordered observations)
732A35
3
We can also calculate:

Semistudentized residuals
𝑒𝑖𝑗
∗
𝑒𝑖𝑗 =
𝑀𝑆𝐸
Studentized residuals
𝑒𝑖𝑗
𝑒𝑖𝑗
π‘Ÿπ‘–π‘— =
=
𝑠 𝑒𝑖𝑗
𝑀𝑆𝐸(𝑛𝑖 − 1)
𝑛𝑖

Studentized deleted residuals

𝑑𝑖𝑗 = 𝑒𝑖𝑗
𝑛𝑇 − π‘Ÿ − 1
1
2
𝑆𝑆𝐸 1 −
− 𝑒𝑖𝑗
𝑛𝑖
2
732A35
4
When the ANOVA model assumptions are violated, a
transformation of the response can be useful.

πœŽπ‘–2 proportional to πœ‡π‘– :
π‘Œ′ = π‘Œ

πœŽπ‘– proportional to πœ‡π‘– :
π‘Œ ′ = log π‘Œ

πœŽπ‘– proportional to
πœ‡π‘–2 :

Response is a proportion:
π‘Œ′
=
1
π‘Œ
π‘Œ ′ = 2π‘Žπ‘Ÿπ‘π‘ π‘–π‘› π‘Œ
In practice: test which transformation that’s useful.
732A35
5
In two-way ANOVA, one more factor is added. The
advantage in doing so is:

Time-saving studying two factors at the same time

Interactions can be found
In this course, we’re only studying two-way ANOVA
with equal sample sizes.
732A35
6
Cell means model
π‘Œπ‘–π‘—π‘˜ = πœ‡π‘–π‘— + πœ€π‘–π‘—π‘˜
Factor effects model
π‘Œπ‘–π‘—π‘˜ = πœ‡βˆ™βˆ™ + 𝛼𝑖 + 𝛽𝑗 + 𝛼𝛽
𝑖𝑗
+ πœ€π‘–π‘—π‘˜
732A35
7
Two-way ANOVA is calculated in different ways
whether the factor effects are fixed or random.


Fixed
We only want to draw conclusions about the
observed factor levels
Random
The factor levels are a random sample of a big
number of factor levels
732A35
8

Chapter 18.1, 18.3, 18.5 (not Box-Cox)

Start reading chapter 19
732A35
9
Download