Spatial Regression. 11. Spatial Two Stage Least Squares. Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

Similar documents
GMM Estimation of Spatial Error Autocorrelation with and without Heteroskedasticity

Luc Anselin and Nancy Lozano-Gracia

Spatial Regression. 3. Review - OLS and 2SLS. Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

Spatial Regression. 15. Spatial Panels (3) Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

GMM, HAC estimators, & Standard Errors for Business Cycle Statistics

Spatial Regression. 9. Specification Tests (1) Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

Outline. Overview of Issues. Spatial Regression. Luc Anselin

Spatial Regression. 14. Spatial Panels (2) Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

Spatial Econometrics

Lecture 6: Hypothesis Testing

A SPATIAL CLIFF-ORD-TYPE MODEL WITH HETEROSKEDASTIC INNOVATIONS: SMALL AND LARGE SAMPLE RESULTS

Spatial Regression. 6. Specification Spatial Heterogeneity. Luc Anselin.

Least Squares Estimation-Finite-Sample Properties

Testing Random Effects in Two-Way Spatial Panel Data Models

Generalized Method of Moments (GMM) Estimation

Econometric Methods and Applications II Chapter 2: Simultaneous equations. Econometric Methods and Applications II, Chapter 2, Slide 1

HETEROSKEDASTICITY, TEMPORAL AND SPATIAL CORRELATION MATTER

GMM Estimation of SAR Models with. Endogenous Regressors

Spatial Regression. 13. Spatial Panels (1) Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

Comparing estimation methods. econometrics

Chapter 6. Panel Data. Joan Llull. Quantitative Statistical Methods II Barcelona GSE

Econometrics Summary Algebraic and Statistical Preliminaries

Economic modelling and forecasting

LECTURE ON HAC COVARIANCE MATRIX ESTIMATION AND THE KVB APPROACH

A Spatial Cliff-Ord-type Model with Heteroskedastic Innovations: Small and Large Sample Results 1

RAO s SCORE TEST IN SPATIAL ECONOMETRICS

GMM estimation of spatial panels

1 Outline. 1. Motivation. 2. SUR model. 3. Simultaneous equations. 4. Estimation

Tests forspatial Lag Dependence Based onmethodof Moments Estimation

Spatial Regression. 10. Specification Tests (2) Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

Questions and Answers on Heteroskedasticity, Autocorrelation and Generalized Least Squares

A Robust Test for Weak Instruments in Stata

The exact bias of S 2 in linear panel regressions with spatial autocorrelation SFB 823. Discussion Paper. Christoph Hanck, Walter Krämer

1 Overview. 2 Data Files. 3 Estimation Programs

SIMULATION AND APPLICATION OF THE SPATIAL AUTOREGRESSIVE GEOGRAPHICALLY WEIGHTED REGRESSION MODEL (SAR-GWR)

Spatial Econometrics. Wykªad 6: Multi-source spatial models. Andrzej Torój. Institute of Econometrics Department of Applied Econometrics

An estimate of the long-run covariance matrix, Ω, is necessary to calculate asymptotic

Errors in variables and spatial effects in hedonic house price models of ambient air quality

Robust Standard Errors to spatial and time dependence in. state-year panels. Lucciano Villacorta Gonzales. June 24, Abstract

Single Equation Linear GMM with Serially Correlated Moment Conditions

Generalized Method of Moments: I. Chapter 9, R. Davidson and J.G. MacKinnon, Econometric Theory and Methods, 2004, Oxford.

ECON 4160, Spring term 2015 Lecture 7

GMM Estimation of the Spatial Autoregressive Model in a System of Interrelated Networks

Chapter 11 GMM: General Formulas and Application

GMM Estimation of Spatial Autoregressive Models in a. System of Simultaneous Equations with Heteroskedasticity

Lecture: Simultaneous Equation Model (Wooldridge s Book Chapter 16)

Linear Regression with Time Series Data

Partial Maximum Likelihood Estimation of Spatial Probit Models

Econometrics. Week 8. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

Lecture 8: Instrumental Variables Estimation

Generalized Method of Moment

On block bootstrapping areal data Introduction

Instrumental Variables/Method of

Omitted Variable Biases of OLS and Spatial Lag Models

IV and IV-GMM. Christopher F Baum. EC 823: Applied Econometrics. Boston College, Spring 2014

Lecture 4: Heteroskedasticity

Single Equation Linear GMM with Serially Correlated Moment Conditions

Analyzing spatial autoregressive models using Stata

Topic 6: Non-Spherical Disturbances

Econometrics II - EXAM Outline Solutions All questions have 25pts Answer each question in separate sheets

Asymptotic Statistics-III. Changliang Zou

GMM Estimation of Spatial Autoregressive Models in a System of Simultaneous Equations

A Robust Test for Network Generated Dependence

Economics 536 Lecture 7. Introduction to Specification Testing in Dynamic Econometric Models

ESTIMATION PROBLEMS IN MODELS WITH SPATIAL WEIGHTING MATRICES WHICH HAVE BLOCKS OF EQUAL ELEMENTS*

Linear Regression with Time Series Data

Economics 582 Random Effects Estimation

Spatial Models in Econometrics: Section 13 1

W-BASED VS LATENT VARIABLES SPATIAL AUTOREGRESSIVE MODELS: EVIDENCE FROM MONTE CARLO SIMULATIONS

1 Estimation of Persistent Dynamic Panel Data. Motivation

SPATIAL PANEL ECONOMETRICS

Econometrics of Panel Data

Interpreting dynamic space-time panel data models

Instrumental Variables Estimation in Stata

splm: econometric analysis of spatial panel data

ECONOMETRICS FIELD EXAM Michigan State University May 9, 2008

Greene, Econometric Analysis (7th ed, 2012)

Global Spatial Autocorrelation Clustering

ON THE NEGATION OF THE UNIFORMITY OF SPACE RESEARCH ANNOUNCEMENT

HAC Estimation in a Spatial Framework

Final Exam. Economics 835: Econometrics. Fall 2010

A correlated randon effects spatial Durbin model

Greene, Econometric Analysis (5th ed, 2003)

Chapter 2. Dynamic panel data models

Robust Standard Errors to spatial and time dependence when. neither N nor T are very large. Lucciano Villacorta Gonzales. February 15, 2014.

Linear models. Linear models are computationally convenient and remain widely used in. applied econometric research

Model Mis-specification

Estimation of simultaneous systems of spatially interrelated cross sectional equations

Heteroskedasticity and Autocorrelation

Regression with time series

Spatial panels: random components vs. xed e ects

The Exact Distribution of the t-ratio with Robust and Clustered Standard Errors

Short T Panels - Review

Asymptotic distribution of GMM Estimator

Final Exam. 1. Definitions: Briefly Define each of the following terms as they relate to the material covered in class.

Spatial Interdependence and Instrumental Variable Models

Linear IV and Simultaneous Equations

Problem Set #6: OLS. Economics 835: Econometrics. Fall 2012

Linear Regression with Time Series Data

Dealing With Endogeneity

Transcription:

Spatial Regression 11. Spatial Two Stage Least Squares Luc Anselin http://spatial.uchicago.edu 1

endogeneity and instruments spatial 2SLS best and optimal estimators HAC standard errors 2

Endogeneity and Instruments 3

Spatial Lag Model y = ρwy + Xβ + u Wy endogenous = simultaneous equation bias y = Zθ + u Z = [ Wy X ] θ = [ ρ β ] 4

Endogeneity of Wy reduced form: y = (I - ρw) -1 Xβ + (I - ρw) -1 u Wy = W(I - ρw) -1 Xβ + W(I - ρw) -1 u E[(Wy) u] = E[y W u] 0 because E[u (I -ρw ) -1 W u] = tr W(I -ρw) -1 E[uu ] 0 5

Instruments from Reduced Form basis for instruments is E[ Wy X ] E[ y X ] = (I - ρw) -1 Xβ, therefore E[ Wy X ] = W(I - ρw) -1 Xβ series expansion yields: (I-ρW) -1 Xβ = Xβ+ ρwxβ+ ρ 2 W 2 Xβ+... 6

Instruments - Kelejian and Prucha (1999) selection of instruments from higher order terms E[ Wy X ] = WXβ + W(ρWXβ) +... instruments Q = [ X, WX, W 2 X,... ] in practice first order spatial lags, sometimes second order as well potential problems with multicollinearity 7

Spatial 2SLS 8

Assumptions same regularity conditions as 2SLS but requires triangular array central limit theorem to prove consistency (due to Kelejian and Prucha) plim (1/n)Q Q = H QQ finite, non-singular WX and X not linearly dependent excludes situations where Wx k = xk, such as constant or certain dummy variables 9

Assumptions (2) plim (1/n)Q Z = H QZ finite and full column rank requires at least one exogenous x k other than constant S2SLS does not work for pure SAR model identifiability condition precludes H0: β=0 10

Spatial 2SLS Estimation standard result, with instruments Q = [ X, WX, W 2 X,... ] for homoskedastic, uncorrelated errors θ2sls = [Z Q(Q Q) -1 Q Z] -1 Z Q(Q Q) -1 Q y Var[θ2sls] = σ 2 [Z Q(Q Q) -1 Q Z] -1 consistent, but not most efficient 11

spatial 2SLS estimation - WX as instruments 12

spatial 2SLS estimation - WX and W 2 X as instruments 13

estimates with different spatial lag orders for the instruments 14

Spatial 2SLS with Additional Endogenous Variables not only Wy endogenous but also some of the Z instruments for the other endogenous variables instruments and their spatial lags 15

additional instruments for endogenous variable UE90 16

Best and Optimal Estimators 17

Optimal Instrument Matrix (Lee 2003) Q = [X, W(I - ρw) -1 Xβ ] using consistent estimates for ρ and β from first stage estimation requires inverse of n by n matrix yields Best 2SLS 18

Best 2SLS (Kelejian et al 2004) avoids inverse matrix exploits the usual series expansion Q = [ X, Σs=0 ρ s W s+1 Xβ ] ρ and β from first stage estimation approximation up to s = r = o(n1/2 ) 19

Optimal GMM (Lee 2006) general set of moment conditions E[Q u] = 0 E[u Pu] = σ 2 tr P = 0 matrices P 1 with trace 0 and matrices P2 with diagonal zero 20

Optimal GMM (2) examples of matrix P W: diagonal zero W 2 - [trw 2 )/2]IN : trace zero optimal GMM is consistent and asymptotically normal for normal error terms OGMM has same limiting distribution as MLE 21

HAC 22

Consistent Covariance Estimate 23

General Covariance Structure y = Xβ + u, E[uu ] = Σ both heteroskedasticity and autocorrelation Var[βOLS] = (1/n)(1/n X X) -1 (1/n X ΣX)(1/n X X) -1 develop estimator for (1/n)X ΣX (k by k) but NOT an estimator for Σ (n by n) all cross products: plim (1/n) ΣiΣj σijxixj 24

Heteroskedastic-Consistent Covariance Estimation (White 1980) Σ = diag(σi 2 ) different variance for each i plim (1/n)X ΣX = (1/n) Σi σi 2 xixi no separate estimator for each σi 2 estimator S = (1/n) Σi ei 2 xixi Var[βOLS] = n(x X) -1 [(1/n)Σi ei 2 xixi ](X X) -1 25

Spatial Lag with Heteroskedasticity White (1980) correction for 2SLS estimation coefficient variance for general error covariance structure Q ΣQ estimated by Q SQ (S as squared residuals) 26

Temporal Correlation Newey-West (87), Andrews (91) plim (1/n) X ΣX = (1/n) Σi Σj σij xixj too many terms to estimate; average is over n but there are n 2 covariance terms impose structure no temporal correlation beyond a given time decay in the correlation as the time lag is larger estimate must yield a positive definite covariance matrix 27

Heteroskedastic and Temporal Consistent heteroskedastic part: S 0 = (1/n) ei 2 xixi off-diagonal terms sums of sample covariances, zero for t-h > L weights to ensure positive definiteness S = S0 + (1/n) Σh L Σt=h+1 whetet-h(xtxt-h + xt-hxt ) w h = 1 - h / (L + 1) Bartlett weights 28

Spatial HAC 29

Spatial Covariance Estimator same principle as for temporal correlation average of sample spatial covariances up to a distance cut-off zero covariance beyond cut-off S = S0 + (1/n) Σdij<δ eiejxixj 30

Implementation on a Grid Conley (1999) observations arranged on M by N grid Bartlett window analogue of time series K(j,k) = [1 - (j/lm)][1 - (k/ln)] a proper choice of L M and LN, weights ensures that variance covariance matrix is positive definite 31

Conley Spatial Covariance Estimator 32

Generalization - Kelejian and Prucha (2006) error terms u = Rε, R unknown GMM setup with instrument matrix H Ψ = VC(n -1/2 H u) = (1/n) H ΣH using Kernel function K(dij/δ) δ = bandwidth, no covariance beyond δ 33

34

Spatial HAC Estimator elements of k by k covariance matrix Ψrs = (1/n) Σi Σj K(dij/δ) hirhjseiej Ψ = (1/n) Σi Σj K(dij/δ) eiejhihj HAC covariance matrix Φ = n(z Z) -1 Z H(H H) -1 Ψ(H H) -1 H Z(Z Z) -1 35

White and HAC standard errors 36