Académique Documents
Professionnel Documents
Culture Documents
Linear Models
S. D. Kachman
Department of Biometry
University of NebraskaLincoln
http://www.ianr.unl.edu/ianr/biometry/faculty/steve/970/1999
Distributions
Outline
22
y (y , V yy )
x (x, V xx)
cov(x, y) = V xy
Linear Transformation, Ay
Quadratic Form, y 0Qy
Without loss of generality we can assume Q is
symmetric. If it is not we can replace Q with 12 (Q + Q0)
Bilinear Form, x0Qy
A bilinear form can be written as a quadratic form
x0
0
0
1 0
2Q
1
2Q
x
0
y
where
x
x
V xx
,
y
y
V yx
V xy
V yy
23
Direct Products
a11B
a B
21
AB =
am1B
a12B
a22B
...
...
...
aij B
...
...
am2B
a1nB
a2nB
amnB
A:mn
B :rc
A B : mr nc
tr(A B) = tr(A) tr(B)
rank(A B) = rank(A) rank(B)
r
|A B| = |A| |B|
(A B) = A B
(A B) = A B
24
25
i=1
j=1 ij.
i=1 yi.. /nb
Pb
2
2
y
/na
+
y
/(abn)
.j.
...
j=1
in matrix form this is
ny y0I a J
b J
ny
y0I a I b J
a Ib J
ny + y0J
a J
b J
ny
y 0J
ny.
= y0C a C b J
The sum of squares for error is
Pa Pb Pn
Pa Pb
2
2
SSE =
i=1
j=1
k=1 yijk
i=1
j=1 yij. /n
in matrix form this is
y0I a I b C ny.
26
27
28
29
A look ahead
Why do we care?
Consider the problem of testing HO : K 0 = 0, what are
some of the properties we would want a test statistic to have?
30
Multivariate distributions
See B&E
ch. 1,2,5
31
Linear Transformation
E(T X) = E(tiX)i
Z
Z X
0
E(tiX) =
tij xj f (x)dx
j
tij
tij xj
xj f (x)dx
= ti x
E(T X)= T x
Similarly,
E(AXB) = AxB
Biometry 970 Linear Models Fall 1999
32
0
var(T X) = E (T X T x)(T X T x)
0 0
= E T (X X )(X X ) T
0
0
= T E (X X )(X X ) T
= T V xxT
33
Normal Distribution
z2
1
e 2
2
Normal
B&E 118ff
f (x; , 2) =
mgf(t) = e
1 e
2
1
t+ 2 t2 2
(x)2
2 2
Multivariate Normal
B&E
185,520
Density
f (x; , V ) = (2)
n
2
|V
1
1
1
(x)0 V
(x)
2
2
| e
34
mgf(t) = E(t x)
Z
Z
1
n
=
(2) 2 |V | 2
1
0
1
0
exp (x ) V (x ) + t x dx
2
1
0
1
inside = [(x V t) V (. . . )]
2
1 0
0
+ t + t V t
2
0t+ 12 t0V t
mgf(t) = e
Marginal Distribution
x1 N(1, V 11)
Use mgf of x = (x01 x02)0 and set t2 = 0 and notice
that it is the mgf for N(1, V 11).
B&E 185
Conditional Distribution
1
35
0
=
0
0
+
V 1
22
I
1
V
I
11.2
V 1
V
21
22
V 12V 1
22
B&E
4.5,185
Independence: V ij = 0 i 6= j
Again use the mgf.
36
Central 2, F, and t
37
B&E 271
B&E 275ff
Non-Central
38
mgf(t) = |I 2tAV |
i
1 0h
1
1
exp I (I 2tAV )
V
2
0
(x ) V
B&E 2.5
(x ) 2tx Ax =
0
(x ) V
(x )
+ [I (I 2tAV )
]V
V = V (I 2tAV )1
= (I 2tV A)1
If A = V = I the mgf of x0Ax reduces to
(1
1 )
0(1 12t
n/2 1
2
2t)
e
39
(1 2t)
n/2
40
Moments
1
ln[mgf(t)] = ln |I 2tAV |
2
i
1 0h
1
1
I (I 2tAV )
V
2
41
Independence
If x N(, V ) then,
1. Ax and Bx are independent iff AV B 0 = 0
2. x0Ax and Bx are independent iff AV B 0 = 0
3. x0Ax and x0Bx are independent iff
AV B 0 = AV B = 0
42
Summary
Linear transformations
E(Ay) = A
0
var(Ay) = AV A
Quadratic Form
0
43