Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1-1
Nese Yildiz
= X(X T X)1 X T Y = X .
In addition, e = Y Z = Y X = e.
2. (3.6) OLS coefficient from regressing y on X equals
(X T X)1 X T y = (X T X)1 X T X(X T X)1 X T y
= (X T X)1 X T y = ,
where is the OLS coefficient from regression of Y on X.
3. (3.7) Note
P X = P [X1 X2 ] = X(X T X)1 X T X = X = [X1 X2 ].
Since the equality must hold for each entry this means that P X1 = X1 . Similarly,
M X1 = (In P )X1 = X1 P X1 , which by the first part equals X1 X1 = 0.
4. (3.10) Note that the question assumes that P1 and P2 are well
Tdefined, which
X1 X 1
0
T
T
T
means that X1 X1 and X2 X2 are both invertible. X X =
,
0
X2T X2
since X1T X2 = 0. Then
(X1T X1 )1
0
X1
P = X 1 X2
0
(X2T X2 )1
X2
(X1T X1 )1 X1T
= X 1 X2
= X1 (X1T X1 )1 X1T + X2 (X2T X2 )1 X2T = P1 + P2 .
(X2T X2 )1 X2T
5. (3.12) The first regression cannot be run. This is because 1 = d1 + d2 . As a result,
the data matrix X does not have full rank, i.e. X T X is not invertible. The other
two regression can be run as they do not suffer from this problem.
1-2
Nese Yildiz
Pn
i d1i
i=1 e
d
1 1i
= 1 .
= Pi=1
n
d
i=1 1i
V ar(|X)
= AV ar(y|X)AT
= (X T 1 X)1 X T 1 2 (X T 1 X)1
= 2 (X T 1 X)1
c) y X = y XAy = (I XA)y. SoM1 = I XA, and the claim follows if we
show that M1 X = 0. But, M1 X = X X(X T 1 X)1 X T 1 X = X X =
0.
1-3
Nese Yildiz
d)
M1 1 M1 = M1 [1 1 X(X T 1 X)1 X T 1 ]
= [I 1 X(X T 1 X)1 X T ][1 1 X(X T 1 X)1 X T 1 ]
= 1 21 X(X T 1 X)1 X T 1
+ 1 X(X T 1 X)1 X T 1 X(X T 1 X)1 X T 1
= 1 1 X(X T 1 X)1 X T 1 .
e) By part (c), E(s2 |X) =
using part (d) we have
1
E[
eT 1 e|X]
nK
1
E[eT M1 1 M1 e|X].
nK
Then