intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Bài giảng Chapter 4: Estimation by instrumental variables

Chia sẻ: Codon_09 Codon_09 | Ngày: | Loại File: PDF | Số trang:14

47
lượt xem
1
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Mời các bạn cùng tìm hiểu endogeneity; estimation by intrumental variables; two-stage least soures estimation;... được trình bày cụ thể trong "Bài giảng Chapter 4: Estimation by instrumental variables". Hy vọng tài liệu là nguồn thông tin hữu ích cho quá trình học tập và nghiên cứu của các bạn.

Chủ đề:
Lưu

Nội dung Text: Bài giảng Chapter 4: Estimation by instrumental variables

  1. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables Chapter 4 ESTIMATION BY INSTRUMENTAL VARIABLES (Instrumental Variable Estimators) I. ENDOGENEITY: Now suppose ε, X are not independently generated: Cov(ε,X)≠ 0 and E(ε|X) ≠ 0. There are 4 sources of this problem: 1. Errors in measurement of independent variables: Suppose that the true regression equation is given by: yi = β0 + β1xi + εi where E(εi) = E(εixi) = 0 Note: Cov(ε i , xi ) = E[ε i ( xi − x )] = E (ε i , xi ) − E (ε i , x ) = E (ε i , xi )    0 So if Cov(ε i , xi ) = 0 ↔ E (ε i , xi ) = 0 Suppose x *i = xi + ei Assume: E(ei) = E(eixi) = 0 → estimate: yi = β0 + β1xi* + ui where: ui = εi - β1ei correlated with x *i = xi + ei through terms ei → Cov (ui , xi* ) ≠ 0 Nam T. Hoang University of New England - Australia 1 University of Economics - HCMC - Vietnam
  2. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables 2. Variables on both sides of regression equation are jointly determined (endogenous) → RHS variables are endogenous. hi = β 0 + β1ei + ui  ei = α 0 + α1hi + ε i α 0 + α1 β 0 α1 1 → ei = + ui + εi 1 − α1 β1 1 − α1 β1 1 − α1 β1 → Cov(ui , ei ) ≠ 0 3. Omitted variables: wi = β 0 + β1 si + β 2 ai + ε i Estimate: wi = β 0 + β1 si + ui Where: ui = β 2 ai + ε i , if ai and si are correlated → Cov(ui , si ) ≠ 0 4. Lagged dependent variables (Yt-1) as a regressor and auto correlated errors. Yt = α + βX t + λYt −1 + ε t   → Cov (ε t , Yt −1 ) ≠ 0 because Yt-1 and εt both contain εt-1. ε t = ρε t −1 + ut  Model: (1) Y = X β + ε n ×k (2) X and ε are not generated independently (3) E(ε|X) ≠ 0 (4) E(εε'|X) = σ2I (5) X consists of stationary random variables with: E  X i X i′  = 1 p lim( XX ′ ) = Σ XX  n ×k 1×k  n Nam T. Hoang University of New England - Australia 2 University of Economics - HCMC - Vietnam
  3. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables 1 Now p lim( X ′ε ) = γ ≠ 0 and n 1 p lim βˆ = β + Σ −XX1 p lim( X ′ε ) = β + Σ −XX1 γ ≠ β  n   ≠0 → βˆ is an inconsistent estimator. βˆ is also no longer unbiased E ( βˆ X ) = β + ( X ′X ) −1 X ′E (ε X ) ≠ β  ≠0 II. ESTIMATION BY INSTRUMENTAL VARIABLES: Suppose we can find a set of k variables W that have two properties: n ×k 1. Exogeneity (validity): They are uncorrelated with the disturbance ε. 2. Relevance: They are correlated with the independent variable X. Such that:  E (ε W ) = 0 → E ( w' ε ) = 0   p lim 1 W ' ε = 0  n   1   E  n W 'W  = E (WiWi′) = ΣWW     1  p lim n W ' X = ΣWW (W & X are stationary random variables). Then W is a set of instrumental variables and we define: βˆ IV = (W ' X ) −1W ' Y Nam T. Hoang University of New England - Australia 3 University of Economics - HCMC - Vietnam
  4. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables βˆ IV : IV estimator. Consistency: IV estimator βˆ IV is consistent: βˆ IV = (W ' X ) −1W ' Y = (W ' X ) −1W ' ( Xβ + ε ) −1  W ' X   W 'ε  βˆ IV = β +    (Slutsky theorem).  n   n  −1 p lim βˆ IV = β + p lim W' X   W 'ε   p lim   n     n  0 = β + ΣWX −1 .0 = β IV estimator is unbiased. ( ) EW βˆ IV = β + E (W ' X )−1 E (W ' )E (ε W ) = β   −1 ΣWX 0 III. TWO-STAGE LEAST SQUARES ESTIMATION:  E (ε X ) ≠ 0   E (ε W ) = 0 = p lim 1 W ' ε  n  W  1  p lim W 'W = ΣWW n ×k  n  p lim 1 W ' X  = ΣWX non singular n Now we have a set of instruments Z , that are unrelated to ε. n×q X consists two parts:   X =  X1 X2 n×k n×( k −r ) n×r  Nam T. Hoang University of New England - Australia 4 University of Economics - HCMC - Vietnam
  5. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables X1: exogenous variables X2: endogenous variables Note: q must be ≥ r (if q < r → (W'W)-1 doesn't exist. Z includes X1, We can define reduced form equations for X2: X2 = Z Π+ V n×r n×q q×r n×r   X 2 =  X 21 X 22  X 2r  n×k  n×1    Π = Π 1 Π2  Πr  q×r  q×1    So: V = V1 V2  Vr  n×r  n×1   X 21 = ZΠ 1 + V1  2  X 2 = ZΠ 2 + V2     X 2r = Z Π r + Vr  n ×1 n × q q×1 n ×1 Estimate this system by OLS, Π are estimators: q× r X 1 X 22  X 2r  = Z Π ˆ + Vˆ  n ×12  n×q q×r n×r ˆ = Z Π 1 Π ˆ r  + Vˆ Vˆ ˆ2  Π  1 2 [  Vˆr ]  q×1  ˆ → Xˆ is a good instrument. Then we get: Xˆ 2 = ZΠ 2 ( Xˆ 2 is correlated with X2 but not correlated with ε because Xˆ 2 = ZΠ ˆ , Cov( Z , ε ) = 0) • [ ] After the first stage we get the set W = X 1 Xˆ 2 . Apply OLS on [Y W ] we have: Nam T. Hoang University of New England - Australia 5 University of Economics - HCMC - Vietnam
  6. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables βˆ2 SLS = (W 'W ) −1W ' Y → two-stage least squares estimator. • [ ] We can also use W = X 1 Xˆ 2 as an instrument variable and get: βˆ IV = (W ' X ) −1W ' Y Π = ( Z ' Z ) −1 Z ' X 2 We can show that: βˆ IV = βˆ2 SLS IV. ASYMPTOTIC DISTRIBUTION OF βˆIV −1 1  1  n ( βˆ IV − β ) =  W ' X   W ' ε  n n  n  −1  1  = ΣWX  W 'ε  n n  1  w  n  i2  W ' ε = ∑Wi ε i Wi =  wi 3  i =1      wik  E ( wi ε i ) = E ( wi ) E (ε i w) = 0 Var ( wi ε i ) = E ( wi ε i ε i wi′ ) = σ ε2 E ( wi wi′ ) = σ ε2 ΣWW So by the central limit theorem: 1   W ' ε  n ~ N (0, σ ε Σ XX ) 2  n  n ( βˆ IV − β ) → Σ −WX1 N (0, σ ε2 ΣWW )  Nam T. Hoang University of New England - Australia 6 University of Economics - HCMC - Vietnam
  7. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables ΣWW (ΣWX ′ ) σ ε2 ) −1 −1  → d N (0, ΣWX    σ 2 βˆIV → asy N  β , ΣWX −1 ΣWW (ΣWX′ )−1 ε    n   AsyVarCov ( β IV ) ˆ  Note: E ( βˆ IV ) = β → βˆIV is also an unbiased estimator. βˆOLS is asymptotically efficient to βˆIV . V. HAUSMAN SPECIFICATION TEST AND AN APPLICATION TO IV ESTIMATION: 1. Theorem: Let Z ~ N ( 0 , Σ XX ) then: Z ' Σ −1 Z ~ χ [2r ] ( r ×1) r ×1 r ×r Proof: λ1 0  0 0 λ  0 Recall: for λj: eigenvalue Λ= 2        0 0  λn  Cj : eigenvector [ C = C1 C 2  C r ] r ×1 Nam T. Hoang University of New England - Australia 7 University of Economics - HCMC - Vietnam
  8. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables  λ1 0  0    0 λ2  0 we have: C ' Σ C = Λ = Λ1 / 2 Λ1 / 2 Λ1 / 2 =  r ×r          0 0  λn  → C ' ΣC = ( Λ1 / 2 )' ( Λ1 / 2 ) −1 / 2 → Λ C 'ΣC Λ1 (Λ )' ( Λ1 / 2 )' ( Λ1 / 2 )( Λ−1 / 2 ) = I ) = 1/ 2 /2 ( )'    ( D' D → D ' ΣD = I with D = CΛ−1 / 2 → ( D ' ) −1 D ' ΣDD −1 = ( D ' ) −1 D −1 → Σ = ( D ' ) −1 D −1 → DD ' = Σ Note: C' = C-1, CC' = I Let W = D ' Z → W ~ N(0,DΣD') = N(0,I) r ×1 r × r r ×1 W ~ N(0,I) r ×1 → W 'W ~ χ [2r ] r ×1 → ( D ' Z )' ( D ' Z ) ~ χ [2r ] → DD ' Z ~ χ [2r ] Z'  Σ −1 Finally: Z ' Σ −1 Z ~ χ [2r ] 2. Hausman Test: Y = Xβ + ε = X 1 β 1 + X 2 β 2 + ε n ×r Nam T. Hoang University of New England - Australia 8 University of Economics - HCMC - Vietnam
  9. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables H0: E (ε X 2 ) = 0 r ×1 H0: E (ε X 2 ) ≠ 0 Two alternative estimators: βˆOLS : consistent under H0 but not under HA βˆ IV : consistent under both H0, HA (but inefficient compare to βˆOLS )   βˆOLS = β + ( X ' X ) X ' ε −1   β IV = β + (W ' X ) W ' ε  ˆ −1 Under H0: βˆ IV = βˆOLS Construct the Hausman's test statistic: (βˆ IV ′ )[ ( − βˆOLS VarCov βˆ IV − βˆOLS )] (βˆ −1 IV ) − βˆOLS ~ χ [2r ] (Note: Z ~ N (0, Σ) → Z ' Σ −1 Z ~ χ [2r ] ) ( ) ( ) VarCov βˆ IV − βˆOLS = VarCov βˆ IV + VarCov βˆOLS − 2Cov βˆ IV , βˆOLS ( ) ( ) ( Cov βˆ IV , βˆOLS ) {[( )( = E βˆ IV − β βˆOLS − β ' W , X )] } [ = E {(W ' X ) −1W ' εε ' X ( X ' X ) −1 ) W , X } ] = (W ' X ) −1W '  εε E ( ' ) X ( X ' X ) −1 σ ε2 I = (W ' X ) −1W ' X ( X ' X ) −1 σ ε2 = ( X ' X ) −1 σ ε2 = VarCov βˆOLS ( ) ( ) ( ) So VarCov βˆ IV − βˆOLS = VarCov βˆ IV − VarCov βˆOLS ( ) Nam T. Hoang University of New England - Australia 9 University of Economics - HCMC - Vietnam
  10. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables Then, the Hausman's test statistic is: (βˆ IV )[ ′ ( ) − βˆOLS VarCov βˆ IV − VarCov βˆOLS ( )] (βˆ −1 IV − βˆOLS ) ~χ 2 [r] Under H0: H ~ χ [2r ] 3. Wu's approach: Y = X 1 β1 + X 2 β 2 + ε Do we have: E (ε X 2 ) = 0 In the first stage of IV estimation: X2 = Z Π ˆ +V r≤q → we get Xˆ 2 n × q q ×r n×r n×r    Xˆ 2 Y = X 1 β1 + X 2 β 2 + Xˆ 2γ + ε * → Y = X 1 β1 + X 2 β 2 + ( X 2 − Vˆ )γ + ε * → Y = X 1 β1 + X 2 ( β 2 + γ ) − Vˆγ + ε * Test: H0: γ = 0 r ×1 r ×1 If reject H0 → E (ε X 2 ) ≠ 0 VI. CHOOSING THE INSTRUMENTS: 1. If we are working with time-series data, lagged values of regressors will generally provide appropriate instruments. EX: y = β1 + β 2 x 2 + β 3 x3 + ε Nam T. Hoang University of New England - Australia 10 University of Economics - HCMC - Vietnam
  11. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables 1 x02 x03  1 x12 x13    X =     1 x12 x13  W =       1 x n1 x n 2    1 x n −1, 2 x n −1,3  2. Choice of Z affects asymptotic efficiency of βˆ IV . Generally want to choose instruments to be highly corrected with the regressors (but uncorrelated with the errors). 3. With the cross-section data, not always easy. One option is to use the ranks of the data to form Z. Example: y i = β1 + β 2 xi + ε 1 14 1 7 1 2  1 2     1 1  1 1     X = 1 5  Z = 1 4 1 8  1 5     1 3  1 3 1 10 1 6 Appendix: Measurement Error in Linear Regression Y = X β +ε (1) n ×1 n ×k We don't observe X, but observe X* X* = X + V (2) n ×k n ×k n ×k Where: E (ε X ) = 0 E (εε ' X ) = σ 2 I n ×1 n ×n Nam T. Hoang University of New England - Australia 11 University of Economics - HCMC - Vietnam
  12. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables Put (2) into (1) yields: Y = ( X * −V ) β + ε n ×1 k ×1 Y = X * β + (ε − Vβ )  u The error term u = ε - Vβ is correlated with the regressor X* through the measurement error V. Formally, we have: 1 *′ 1 *′ p lim X u = p lim X (ε − Vβ ) n n 1 = p lim ( X + V )′(ε − Vβ ) n 1 1 1 1 = p lim X ' ε + p lim V ' ε − βp lim X 'V − βp lim V 'V )  n n  n  n 0 0 0 = − βΣVV ≠ 0 An OLS regression of Y on X will lead to an inconsistent estimate of β. 1 *′ * 1 p lim X X = p lim ( X + V )′( X + V ) n n 1 1 1 1 = p lim X ' X + p lim X 'V + p lim V ' X + p lim V 'V n n n n = Σ XX + Σ vv ′ ′ ′ ′ βˆOLS =  X * X *  X * Y  =  X * X *   X * ( X * β + u )       ′ ′ = β +  X * X *  X * u   Nam T. Hoang University of New England - Australia 12 University of Economics - HCMC - Vietnam
  13. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables −1 1 ′  1 ′  p lim βˆ = β + p lim X * X *   X * u  n  n  = β − (Σ XX + ΣVV ) ΣVV β −1  2 3  p lim βˆ = β − (Σ XX + ΣVV ) ΣVV β β =  −1 5     4 Clearly, OLS is inconsistent as long as there are measurement errors and ΣVV ≠ 0 1) βˆ is inconsistent as long as ΣVV ≠ 0. k ×1 2) If there are some variables which are correctly measured. → Their coefficient estimators are also inconsistent. A badly measured variable contaminates all the least squares estimates. → The effect of measurement errors is also called: "contamination bias". 3) For example if only one regressor is measured with errors 0 0  0 0 0  0 ΣVV =       2 0 0  σv  → the bias and inconsistent of all correctly measured variables depend on the form of ΣXX → unknown. 4) In practice, it seems that the coefficients of the correctly measured variables are consistent but this depends on the special form of ΣXX Research questions: In practice → What kind of ΣXX we will count on the coefficients of correctly measured variables? Nam T. Hoang University of New England - Australia 13 University of Economics - HCMC - Vietnam
  14. Advanced Econometrics Chapter 4: Estimation By Instrumental Variables → If we cannot find a good instrumental variable: omit wrongly measured variables or don't omit? Which form of ΣXX. Computer programs could answer these questions (I guess). The form of ΣXX can be tested by simulations. 5) There are other cases that endogeneity is a problem → what is the role of ΣXX in affecting the inconsistency of the coefficients in those cases. 6) Endogeneity by measurement errors is a serious problem. Nam T. Hoang University of New England - Australia 14 University of Economics - HCMC - Vietnam
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2