



Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Prepara tus exámenes
Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Prepara tus exámenes con los documentos que comparten otros estudiantes como tú en Docsity
Encuentra los documentos específicos para los exámenes de tu universidad
Estudia con lecciones y exámenes resueltos basados en los programas académicos de las mejores universidades
Responde a preguntas de exámenes reales y pon a prueba tu preparación
Consigue puntos base para descargar
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Comunidad
Pide ayuda a la comunidad y resuelve tus dudas de estudio
Ebooks gratuitos
Descarga nuestras guías gratuitas sobre técnicas de estudio, métodos para controlar la ansiedad y consejos para la tesis preparadas por los tutores de Docsity
analytical exercises chapter 1 hayashi
Tipo: Apuntes
1 / 6
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!




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
( y − X ˜β) ′^ ( y − X ˜β) ≥ ( y − Xb ) ′^ ( y − Xb ).
In your proof, use the add-and-subtract strategy: take y − X ˜β, add Xb to it and then subtract the same from it. It produces the decomposition of y − X ˜β:
y − X ˜β = ( y − Xb ) + ( Xb − X ˜β).
Hint: ( y − X ˜β) ′^ ( y − X ˜β) = [( y − Xb ) + X ( b − ˜β)]′^ [( y − Xb ) + X ( b − ˜β)]. Using the normal equations, show that this equals
( y − Xb ) ′^ ( y − Xb ) + ( b − ˜β) ′^ X ′^ X ( b − ˜β).
y ¯ =
n
∑ n
i = 1
yi.
M (^) 1 y is the vector of deviations from the mean. (d) M (^) 1 X = X − 1 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
( n^ X × K ) =
n^1 × 1
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 y − n · 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.
( n^ X × K ) =^
( n × K (^) 1 )
( n × K (^) 2 )
Partition β accordingly:
β =
β (^1) β (^2)
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 ≡ I − P (^) 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.
L = 1 2
( y − X ˜β) ′^ ( y − X ˜β) + λ ′^ ( 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 ( Rb − r ), λ = [ R ( X ′^ X ) −^1 R ′^ ]−^1 ( Rb − r ).
Hint: The first-order conditions are X ′^ y − ( X ′^ X )̂ β = R ′^ λ or X ′^ ( y − X ̂ β) = R ′^ λ. Combine this with the constraint R ̂ β = r to solve for λ and ̂β.
Finite-Sample Properties of OLS 75
(b) Let εˆ ≡ y − X ̂ β, the residuals from the restricted regression. Show:
SSR (^) R − SSRU = ( b − ̂β) ′^ ( X ′^ X )( b − ̂β) = ( Rb − r ) ′^ [ R ( X ′^ X ) −^1 R ′^ ]−^1 ( Rb − r ) = λ ′^ 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 = ( y − X ̂ β) ′^ ( y − X ̂ β) = [( y − Xb ) + X ( b − ̂β)]′^ [( y − Xb ) + X ( b − ̂β)].
Use the normal equations X ′^ ( y − Xb ) = 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).
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
( 1 − R^2 )/( n − K )
Cov( x , y ) ≡ E
x − E( x )
y − E( y )