Documente Academic
Documente Profesional
Documente Cultură
Chen Zehua
Residual Analysis
For a general linear model
yi = xτi β + i , i = 1, . . . , n,
ri = yi − ŷi = yi − xi β̂, i = 1, . . . , N.
r = y − ŷ, ŷ = X β̂,
For non-normal responses, there are two strategies for the data
analysis:
I Data transformation: make an appropriate transformation of
the responses such that the transformed response has a
constant variance.
We’ll first discuss transformations for some particular
responses, i.e, proportion, counts, time-to-event, etc. and
then discuss the general methodology
I Non-parametric method — Kruskal-Wallis test for one-way
layout data.
Example 5.1
A clinical trial was conducted to compare two methods for the
training of senile dementia patients.
I Two groups of patients with sizes 11 and 8 are recruited.
I The two groups are trained with different methods.
I After the completion of the training, patients are asked to
take 20 tests involving activities of daily living such as
unlocking a door, tying one’s shoe laces, etc.
I The response from each patient is the proportion of his or her
tests that are successful.
Example 5.2
I Purpose: to assesse the effect of vaccination of heat-killed
bacilli.
I Case group (n1 = 7): vaccinated.
I Control group (n2 = 6): not vaccinated.
I Measurements: number of oral lactobacilli in the saliva.
Case √ Control √
X Y = X X Y = X
7,925 89.02 3,158 56.20
15,643 125.07 3,669 60.57
17,462 132.14 5,930 77.01
10,805 103.95 5,697 75.48
9,300 96.44 8,331 91.27
7,538 86.82 11,822 108.73
6,297 79.35
Mean 10,710.0 101.827 6,434.5 78.21
sd 4,266.4 19.946 3,218.8 19.527
i.e., s 2 ∝ X̄ .
I A common feature of counts: the variance is proportional to
the mean.
I Most count response can be approximated by a Poisson
random variable.
I The transformation is given by
√
h(µ) = µ.
√
Z
1
h(µ) = p dµ = arcsin µ.
µ(1 − µ)
I Count: V (µ) = µ,
√
Z
1
h(µ) = √ dµ = µ.
µ
I Time-to-event: V (µ) = µ4 ,
Z
1
h(µ) = p dµ = 1/µ.
µ4
Box-Cox transformation
ln si = β0 + α ln ȳi· + ei .
ln si = β0 + α ln ȳi· + ei ,