Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


analytical exercises chapter 1 hayashi, Apuntes de Econometría

analytical exercises chapter 1 hayashi

Tipo: Apuntes

2019/2020

Subido el 20/10/2020

themensg9
themensg9 🇪🇸

5

(2)

2 documentos

1 / 6

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
Finite-Sample Properties of OLS 71
where εihere is defined as log(Ai)E[log(Ai)]and α0=E[log(Ai)].Suppose,
in addition to total costs, output, and factor prices, we had data on factor inputs.
Can we estimate α’s by apply in g O LS t o th is lo g- li near relat io ns hip? Why or
why not? Hint: Do input levels depend on εi?Suggest a different way to
estimate α’s. Hint: Look at input shares.
PROBLEM SET FOR CHAPTER 1
ANALYTICAL EXERCISES
1. (Proof that bminimizes SSR)Letbbe the OLS estimator of β.Provethat,for
any hypothetical estimate, !
β,ofβ,
(yX!
β)(yX!
β)(yXb)(yXb).
In your proof, use the add-and-subtract strategy: take yX!
β,addXb to it and
then subtract the same from it. It produces the decomposition of yX!
β:
yX!
β=(yXb)+(Xb X!
β).
Hint: (yX!
β)(yX!
β)=[(yXb)+X(b!
β)][(yXb)+X(b!
β)].
Using the normal equations, show that this equals
(yXb)(yXb)+(b!
β)XX(b!
β).
2. (The annihilator associated with the vector of ones) Let 1be the n-dimensional
column vector of ones, and let M1In1(11)11.Thatis,M1is the anni-
hilator associated with 1.Provethefollowing:
(a) M1is symmetric and idempotent.
(b) M11=0.
(c) M1y=y¯y·1where
¯y=1
n
n
"
i=1
yi.
M1yis the vector of deviations from the mean.
(d) M1X=X1¯
xwhere ¯
x=X1/n.Thek-th element of the K×1vector
¯
xis 1
n#n
i=1xik.
pf3
pf4
pf5

Vista previa parcial del texto

¡Descarga analytical exercises chapter 1 hayashi y más Apuntes en PDF de Econometría solo en Docsity!

Finite-Sample Properties of OLS 71

where ε i here is defined as log( A (^) i )−E[log( A (^) i )] and α 0 = E[log( A (^) i )]. Suppose, in addition to total costs, output, and factor prices, we had data on factor inputs. Can we estimate α’s by applying OLS to this log-linear relationship? Why or why not? Hint: Do input levels depend on ε i? Suggest a different way to estimate α’s. Hint: Look at input shares.

P R O B L E M S E T F O R C H A P T E R 1

A N A L Y T I C A L E X E R C I S E S

  1. (Proof that b minimizes SSR ) Let b be the OLS estimator of β. Prove that, for any hypothetical estimate, ˜β, of β,

( yX ˜β) ′^ ( yX ˜β) ≥ ( yXb ) ′^ ( yXb ).

In your proof, use the add-and-subtract strategy: take yX ˜β, add Xb to it and then subtract the same from it. It produces the decomposition of yX ˜β:

yX ˜β = ( yXb ) + ( XbX ˜β).

Hint: ( yX ˜β) ′^ ( yX ˜β) = [( yXb ) + X ( b − ˜β)]′^ [( yXb ) + X ( b − ˜β)]. Using the normal equations, show that this equals

( yXb ) ′^ ( yXb ) + ( b − ˜β) ′^ X ′^ X ( b − ˜β).

  1. (The annihilator associated with the vector of ones) Let 1 be the n -dimensional column vector of ones, and let M (^) 1 ≡ I n1 ( 1 ′^ 1 ) −^1 1 ′^. That is, M (^) 1 is the anni- hilator associated with 1. Prove the following: (a) M (^) 1 is symmetric and idempotent. (b) M (^) 1 1 = 0. (c) M (^) 1 y = yy ¯ · 1 where

y ¯ =

n

n

i = 1

yi.

M (^) 1 y is the vector of deviations from the mean. (d) M (^) 1 X = X1 x ¯′^ where x ¯ = X ′^ 1 / n. The k -th element of the K × 1 vector x^ ¯ is (^1) n

∑ (^) n i = 1 x^ ik^.

72 Chapter 1

  1. (Deviation-from-the-mean regression) Consider a regression model with a con- stant. Let X be partitioned as

( n^ X × K ) =

[

n^1 × 1

. X 2

n ×( K − 1 )

]

so the first regressor is a constant. Partition β and b accordingly:

β =

[

β 1 β (^2)

]

← scalar ← ( K − 1 ) × 1

, b =

[

b 1 b (^) 2

]

Also let ˜ X (^) 2 ≡ M (^) 1 X (^) 2 and y ˜ ≡ M (^) 1 y. They are the deviations from the mean for the nonconstant regressors and the dependent variable. Prove the following: (a) The K normal equations are

y ¯ − b 1 − x ¯′ 2 b (^) 2 = 0

where x ¯ 2 = X ′ 2 1 / n ,

X ′ 2 yn · b 1 · ¯ x 2 − X ′ 2 X (^) 2 b (^) 2 = 0 (( K − 1 )× 1 )

(b) b (^) 2 = (˜ X ′ 2 ˜ X (^) 2 ) −^1 ˜ X ′ 2 y ˜. Hint: Substitute the first normal equation into the other K − 1 equations to eliminate b 1 and solve for b (^) 2. This is a generalization of the result you proved in Review Question 3 in Section 1.2.

  1. (Partitioned regression, generalization of Exercise 3) Let X be partitioned as

( n^ X × K ) =^

[

X 1

( n × K (^) 1 )

. X 2

( n × K (^) 2 )

]

Partition β accordingly:

β =

[

β (^1) β (^2)

]

← K 1 × 1

← K 2 × 1

Thus, the regression can be written as

y = X (^) 1 β 1 + X (^) 2 β 2 + ε.

Let P (^) 1 ≡ X (^) 1 ( X ′ 1 X (^) 1 ) −^1 X ′ 1 , M (^) 1 ≡ IP (^) 1 , ˜ X (^) 2 ≡ M (^) 1 X (^) 2 and y ˜ ≡ M (^) 1 y. Thus, y ˜ is the residual vector from the regression of y on X (^) 1 , and the k -th column of ˜ X (^) 2 is the residual vector from the regression of the corresponding k -th column of

74 Chapter 1

Hint: Apply the general decomposition formula (1.2.15) to the regression in (c) to derive

y^ ˜′^ y ˜ = b ′ 2 ˜ X ′ 2 ˜ X (^) 2 b (^) 2 + e ′^ e.

Then use (b). (f) Consider the following four regressions: (1) regress y ˜ on X (^) 1. (2) regress y ˜ on ˜ X (^) 2. (3) regress y ˜ on X (^) 1 and X (^) 2. (4) regress y ˜ on X (^) 2. Let SSR (^) j be the sum of squared residuals from regression j. Show: (i) SSR (^) 1 = ˜ y ′^ y ˜. Hint: y ˜ is constructed so that X ′ 1 ˜ y = 0 , so X (^) 1 should have no explanatory power. (ii) SSR (^) 2 = e ′^ e. Hint: Use (c). (iii) SSR (^) 3 = e ′^ e. Hint: Apply the Frisch-Waugh Theorem on regression (3). M (^) 1 y ˜ = ˜ y. (iv) Verify by numerical example that SSR (^) 4 is not necessarily equal to e ′^ e.

  1. (Restricted regression and F ) In the restricted least squares, the sum of squared residuals is minimized subject to the constraint implied by the null hypothesis R β = r. Form the Lagrangian as

L = 1 2

( yX ˜β) ′^ ( yX ˜β) + λ ′^ ( R ˜β − r ),

where λ here is the # r -dimensional vector of Lagrange multipliers (recall: R is # r × K , ˜β is K × 1, and r is # r × 1). Let ̂β be the restricted least squares estimator of β. It is the solution to the constrained minimization problem. (a) Let b be the unrestricted OLS estimator. Show:

̂ β = b − ( X ′^ X ) −^1 R ′^ [ R ( X ′^ X ) −^1 R ′^ ]−^1 ( Rbr ), λ = [ R ( X ′^ X ) −^1 R ′^ ]−^1 ( Rbr ).

Hint: The first-order conditions are X ′^ y − ( X ′^ X )̂ β = R ′^ λ or X ′^ ( yX ̂ β) = R ′^ λ. Combine this with the constraint R ̂ β = r to solve for λ and ̂β.

Finite-Sample Properties of OLS 75

(b) Let εˆ ≡ yX ̂ β, the residuals from the restricted regression. Show:

SSR (^) RSSRU = ( b − ̂β) ′^ ( X ′^ X )( b − ̂β) = ( Rbr ) ′^ [ R ( X ′^ X ) −^1 R ′^ ]−^1 ( Rbr ) = λ ′^ R ( X ′^ X ) −^1 R ′^ λ = ˆε ′^ P εˆ,

where P is the projection matrix. Hint: For the first equality, use the add- and-subtract strategy:

SSR (^) R = ( yX ̂ β) ′^ ( yX ̂ β) = [( yXb ) + X ( b − ̂β)]′^ [( yXb ) + X ( b − ̂β)].

Use the normal equations X ′^ ( yXb ) = 0. For the second and third equalities, use (a). To prove the fourth equality, the easiest way is to use the first-order condition mentioned in (a) that R ′^ λ = X ′^ εˆ. (c) Verify that you have proved in (b) that (1.4.9) = (1.4.11).

  1. (Proof of the decomposition (1.2.17)) Take the unrestricted model to be a regression where one of the regressors is a constant, and the restricted model to be a regression where the only regressor is a constant. (a) Show that (b) in the previous exercise is the decomposition (1.2.17) for this case. Hint: What is ̂β for this case? Show that SSR (^) R =

i ( yi^ −^ y ¯)^2 and ( b − ̂β) ′^ ( X ′^ X )( b − ̂β) =

i (^ y ˆ^ −^ ¯ y )^2. (b) ( R^2 as an F -ratio) For a regression where one of the regressors is a con- stant, prove that

F =

R^2 /( K − 1 )

( 1 − R^2 )/( nK )

  1. (Hausman principle in finite samples) For the generalized regression model, prove the following. Here, it is understood that the expectations, variances, and covariances are all conditional on X. (a) Cov(̂ β (^) GLS , b − ̂β (^) GLS ) = 0. Hint: Recall that, for any two random vectors x and y ,

Cov( x , y ) ≡ E

[(

x − E( x )

y − E( y )

) ′ ]