Professional Documents
Culture Documents
MATH2831/2931
Linear Models/ Higher Linear Models.
DFFITS
DFBETAS
COVRATIO
Weighted regression
p
1
E(y ) + p
(y E(y )).
2 E(y )
y is approximately constant.
10
11
12
13
14
15
16
n
X
i=1
(yi f 1 (
zi,i ))2
|yi f 1 (
zi,i )|
17
18
Transformation is improvement.
Still concern that variance increases with the mean - try log?
19
20
Original
log-transformed
Pn
f 1 (
zi,i ))2
172,738
137,603
122,704
Pn
|yi f 1 (
zi,i )|
1,475.55
1,295.89
1,257.81
i=1 (yi
i=1
Two statistics are consistent (not always the case see next example)
Log-transformation again seems to give better fit.
21
22
f 1 (
zi,i ))2
16,071
21,611
Pn
f 1 (
zi,i )|
433.84
431.19
i=1 (yi
i=1 |yi
23
24
Covariance matrix of ,
(X V 1 X )1 .
When V = 2 W , have
= (X W 1 X )1 X W 1 y
and covariance matrix is
2 (X W 1 X )1 .
25
minimizes
n
X
i=1
wi1 (yi xi )2
26
27
28
Unweighted Regression:
The regression equation is
Efficiency = 143 0.927Voltage 0.138AirVelocity
S = 5.40890 R-Sq = 79.2% R-Sq(adj) = 78.1%
Weighted Regression:
The regression equation is
Efficiency = 142 0.924Voltage 0.124AirVelocity
S = 0.983881 R-Sq = 87.3% R-Sq(adj) = 86.6%
29
30
x
.
0 + 1 x
1
1
= 1 + 0 .
y
x
31
Exponential relationship:
y = 0 exp(1 x).
Take logarithms,
log y = log 0 + 1 x.
32
33