Econometrics I: Solutions of Homework 7
Hiroki Kato * May 29, 2020
Contents
1 Solutions 1
1.1 (1) . . . . 1
1.2 (2) . . . . 2
1.3 (3) . . . . 3
1.4 (4) . . . . 3
1.5 (5) . . . . 4
1.6 (6) . . . . 4
1.7 (7) . . . . 4
1.8 (8) . . . . 5
1.9 (9) . . . . 6
1 Solutions
1.1 (1)
A transformation matrix M is defined by
M = I
T− 1 T ii
′,
*
email:
[email protected]. Room 503. If you find any errors in handouts and materials,please contact me via email.
where I
Tis T × T identity matrix
1. Then, M i = I
Ti − 1
T i(i
′i) = i − 1
T iT = 0, and
M e = I
Te − 1
T i(i
′e) = e − 1 T i
∑
T t=1e
t= e.
Note that third equality comes from the property of the OLS estimator, that is, ∑
t
e
t/T = ¯ e = 0.
1.2 (2)
First, I will show the first equality. By M e = e, premultiplying e on M yields M e = M y − M X β ˆ
e = M y − M X β. ˆ Then, we obtain
e
′e = y
′M
′M y − β ˆ
′X
′M
′M X β ˆ = y
′M y − βX ˆ
′M X β ˆ
The second equality comes from the fact that M is symmetric and idempotent. The M is idempotent because
M
2= (
I
T− 1 T ii
′)(
I
T− 1 T ii
′)
= I
T− 1
T ii
′− 1
T ii
′+ 1
T
2i(i
′i)i
′= I
T− 1
T ii
′− 1
T ii
′+ 1 T
2i(T )i
′= I
T− 1
T ii
′= M.
Second, I will show the second equality. By M e = e and M i = 0, premultiplying e = y − i β ˆ
1− X
2β ˆ
2on M gives
M e = M y − M i β ˆ
1− M X
2β ˆ
2e = M y − M X
2β ˆ
21
This matrix is different from the matrix
Mthat I used in solutions to HW5.
Then, we obtain
e
′e = (M y − M X
2β ˆ
2)
′(M y − M X
2β ˆ
2)
= y
′M y − β ˆ
2′X
2′M y − y
′M X
2β ˆ
2+ ˆ β
2′X
2′M X
2β ˆ
2= y
′M y − β ˆ
2′X
2′M X
2β ˆ
2− β ˆ
2′X
2′M X
2β ˆ
2+ ˆ β
2′X
2′M X
2β ˆ
2= y
′M y − β ˆ
2′X
2′M X
2β ˆ
2.
The third equality comes from X
2′M y = X
2′M X
2β ˆ
2. This holds because
X
2′e = X
2′M y − X
2′M X
2β ˆ
20 = X
2′M y − X
2′M X
2β ˆ
2Note that X
2′e = 0 holds since X
′e = X
′y − X
′X β ˆ = (X
′X) ˆ β − X
′X β ˆ = 0 by β ˆ = (X
′X)
−1X
′y.
1.3 (3)
Since y
′M y is a scalar,
R
2= 1 − e
′e
y
′M y = y
′M y
y
′M y − e
′e
y
′M y = y
′M y − e
′e y
′M y =
β ˆ
2′X
2′M X
2β ˆ
2y
′M y
1.4 (4)
R β ˆ = R(X
′X)
−1X
′y = R(X
′X)
−1X
′(Xβ + u) = Rβ + R(X
′X)
−1X
′u
Since u is normally distributed, Rb is also normally distributed. Expectation and variance of Rb are as follows:
E(R β) = ˆ Rβ
V (R β) = ˆ E[(Rb − Rβ)(Rb − Rβ)
′] = E[R(X
′X)
−1X
′uu
′X
′(X
′X)
−1R
′] = σ
2R(X
′X)
−1R
′Thus, the distribution of Rb is
R β ˆ ∼ N (Rβ, σ
2R(X
′X)
−1R
′).
1.5 (5)
By the question (4), we can replace Rβ by r if the null hypothesis is correct. Thus,
R β ˆ ∼ N (r, σ
2R(X
′X)
−1R
′),
or
(R β ˆ − r) ∼ N (0, σ
2R(X
′X)
−1R
′),
1.6 (6)
R =
0 1 0 · · · 0 0 0 1 · · · 0 .. . .. . .. . .. . .. . 0 0 0 · · · 1
= (0, I
k−1)
where R is (k − 1) × k matrix. Thus, G = k − 1 and r = 0.
1.7 (7)
We will show that, given R and r,
(R β ˆ − r)
′(R(X
′X)
−1R
′)
−1(R β ˆ − r) = ˆ β
2′X
2′M X
2β ˆ
2.
By the solution to (6), define R = (0, I
k−1) and r = 0. Then, R β ˆ − r = ˆ β
2.
Next, given R and r as defined above, we will show (R(X
′X)
−1R
′)
−1= X
2′M X
2. First, by X = (i, X
2),
(X
′X)
−1=
i
′X
2′
(
i X
2)
−1
=
i
′i i
′X
2X
2′i X
2′X
2
−1
=
B
11B
12B
21B
22
where B
ijis unknown matrices. Then, we have
R(X
′X)
−1R
′= (
0 I
k−1)
B
11B
12B
21B
22
0 I
k−1
= (
B
21B
22)
0 I
k−1
= B
22Thus, we only need to calculate B
22. By the property of the inverse of a partitioned matrix,
B
22= (X
2′X
2− X
2′i(i
′i)
−1i
′X
2)
−1= (X
2′I
TX
2− X
2′( 1
T ii
′)X
2)
−1= (X
2′(I
T− 1
T ii
′)X
2)
−1= (X
2′M X
2)
−1Hence, (R(X
′X)
−1R
′)
−1= ((X
2′M X
2)
−1)
−1= X
2′M X
2. Finally, given R = (0, I
k−1) and r = 0, we obtain
(R β ˆ − r)
′(R(X
′X)
−1R
′)
−1(R β ˆ − r) = ˆ β
2′X
2′M X
2β ˆ
2.
1.8 (8)
By solutions to (6) and (7), test statistic for H
0: β
2= 0 is β ˆ
2′X
2′M X
2β ˆ
2/(k − 1)
e
′e/(T − k) ∼ F (k − 1, T − k) We will show that
R
2/(k − 1) (1 − R
2)/(T − k) =
β ˆ
2′X
2′M X
2β ˆ
2/(k − 1) e
′e/(T − k) ,
where R
2is the coefficient of determination.
By solutions to (3), we obtain
(y
′M y )R
2= ˆ β
2′X
2′M X
2β ˆ
2,
and,
(y
′M y)(1 − R
2) = e
′e.
Since y
′M y is scalar, we can obtain
β ˆ
2′X
2′M X
2β ˆ
2/(k − 1)
e
′e/(T − k) = R
2/(k − 1) (1 − R
2)/(T − k)
1.9 (9)
First, we test β = 0, using tstatistic. Recall that tstatistic is given by
t =
β ˆ − β s/ √∑
t
(X
t− X) ¯
2∼ t(T − k)
where s
2is unbiased and consistent estimator of σ
2. Since V ( ˆ β) = σ
2/ ∑
t