15 spatial panel 315_spatial_panel_3.key author: luc created date: 20170522140632z

43
Copyright © 2017 by Luc Anselin, All Rights Reserved Luc Anselin Spatial Regression 15. Spatial Panels (3) http://spatial.uchicago.edu 1

Upload: others

Post on 22-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

Luc Anselin

Spatial Regression15. Spatial Panels (3)

http://spatial.uchicago.edu

1

Page 2: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• spatial SUR

• spatial lag SUR

• spatial error SUR

2

Page 3: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

Spatial SUR

3

Page 4: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

Specification

4

Page 5: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Classic Seemingly Unrelated Regressions

• general cross-sectional covariance

• time series for different (cross-sectional) units

• classic example is investment by firms

• contemporaneous cross-sectional correlation between error terms in time series for different cross-sectional units

• E[eitejt] = σij

5

Page 6: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Spatial SUR

• general temporal covariance

• cross-sections for different time periods

• contemporaneous temporal correlation between error terms of cross-sections for different time periods

• E[eiteis] = σts

6

Page 7: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Spatial SUR Specification

• cross-sectional regressions, one for each t

• serial (cross-time) covariance is constant across cross-sectional observations

• serial covariance is non-parametric

7

Page 8: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Spatial SUR System

• system of T equations

8

Page 9: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Motivation

• temporal fixed effects

• different coefficient in each time period t

• efficiency gain

• exploit cross-equation covariance

• only when Xt different in each t

9

Page 10: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

Estimation

10

Page 11: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• FGLS

• special case of non-spherical error variance-covariance matrix

• iterated FGLS is equivalent to ML

11

Page 12: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

SUR two step FGLS estimation

12

Page 13: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

SUR iterated FGLS estimation

13

Page 14: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Three Stage Least Squares (3SLS)

• allow for endogenous variables on RHS

• in general, stacked form

14

Page 15: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• 3SLS Estimation

• need for instruments, similar to 2SLS, but stacked

15

Page 16: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Three Step Estimation

• 2SLS on each equation

• estimate σts from 2SLS residuals

• FGLS on full system

16

Page 17: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

SUR 3SLS estimation

17

Page 18: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

Specification Tests

18

Page 19: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Test on Structure of Σ

• H0: off-diagonal elements are 0

• Likelihood Ratio Test

• Lagrange Multiplier Test R is correlation matrix

χ2 with T(T-1)/2 d.f.

19

Page 20: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

Illustration - Test on off-diagonal elements

error correlation matrix - 4 equation example

20

Page 21: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Test on Coefficient Homogeneity

• H0: coefficients are the same over time, either jointly or individually

• example

21

Page 22: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Test on Coefficient Homogeneity (2)

• special case of Chow test, ~ χ2(T-1)

• example

22

Page 23: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

Spatial Lag SUR

23

Page 24: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Spatial SUR - LAG Specification

• different lag model/coefficient in each time period

• general temporal error correlation

• stacked equations

24

Page 25: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Estimation Strategies

• special case of S3SLS

• maximum likelihood estimation

25

Page 26: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Spatial Lag Spatial 3SLS

• special case with WXt as instruments for Wyt

• all standard results hold

26

Page 27: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

SUR Lag 3SLS

27

Page 28: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

SUR Lag 3SLS with endogenous variables

28

Page 29: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Maximum Likelihood Estimation

• from the full log-likelihood

• using

• to the concentrated log-likelihood

29

Page 30: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• ML Estimation Strategy

• iterative approach

• generalize results from cross-section ML-Lag

• complex coefficient variance-covariance matrix

30

Page 31: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• LM Test for Spatial Lag SUR

• apply general principle

• complex expression

• χ2 with T degrees of freedom

• U stacked residual vectors

• requires information matrix

31

Page 32: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

Spatial Error SUR

32

Page 33: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Spatial SUR - Error Specification

• different error model/coefficient in each time period

• cross-equation temporal correlation through remainder error term

• Spatial SUR - Error Specification

• different error model/coefficient in each time period

• cross-equation temporal correlation through remainder error term

33

Page 34: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Spatial SUR Error - Covariance

• covariance between t and s

• overall covariance

34

Page 35: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Estimation

• special case of FGLS estimation, or spatially weighted least squares

using spatially filtered BX and By, and residuals Be

35

Page 36: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Estimation Strategies

• nuisance parameter perspective

• generalized moments estimator (GM)

• maximum likelihood estimation

• full likelihood specification

36

Page 37: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• GM Estimator

• generalization of Kelejian-Prucha single-equation GM

• moment equations for residuals from each time period

• solve for λ and construct spatially filtered By, BX and spatially filtered residuals Be

• stack spatially filtered residuals as E (NxT)

• estimate Σ as (1/T)(E’E)

37

Page 38: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• GM Moment Equations

uL and uLL spatially lagged residuals

38

Page 39: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

GM estimation Spatial Error SUR

39

Page 40: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• Maximum Likelihood Estimation

• log-likelihood in spatially filtered residuals

• concentrated log-likelihood

• complex coefficient variance matrix

40

Page 41: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

ML Estimation - Spatial Error SUR Model

41

Page 42: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

• LM Test for Spatial Error SUR

• apply general principle

• complex expression

• χ2 with T degrees of freedom

• U stacked residual vectors

• T1 = tr(WW), T2 = tr(W’W)

• requires information matrix

42

Page 43: 15 spatial panel 315_spatial_panel_3.key Author: Luc Created Date: 20170522140632Z

Copyright © 2017 by Luc Anselin, All Rights Reserved

SUR spatial diagnostics (LM tests)

43