Home Power of Moran’s I Test for Spatial Dependence in Panel Data Models with Time Varying Spatial Weights Matrices
Article Publicly Available

Power of Moran’s I Test for Spatial Dependence in Panel Data Models with Time Varying Spatial Weights Matrices

  • Bianling Ou EMAIL logo , Xin Zhao and Mingxi Wang
Published/Copyright: October 25, 2015
Become an author with De Gruyter Brill

Abstract

The spatial weights matrix is usually specified to be time invariant. However, when it are constructed with economic/socioeconomic distance, trade /demographic/climatic characteristics, these characteristics might be changing over time, and then the spatial weights matrix substantially varies over time. This paper focuses on power of Moran’s I test for spatial dependence in panel data models with where spatial weights matrices can be time varying (TV-Moran). Compared with Moran’s I test with time invariant spatial weights matrices (TI-Moran), the empirical power of TV-Moran test for spatial dependence are evaluated. Our extensive Monte Carlo simulation results indicate that Moran’s I test with misspecified time invariant spatial weights matrices is questionable; Instead, TV-Moran test has shown superiority in higher power, especially for cases with negative spatial correlation parameters and the large time dimension.

1 Introduction

As an important tool in economics, spatial econometric models are widely used in applied geographic and regional science studies, and have recently also been applied in empirical finance[14]. Spatial econometric methods have been rapidly developed. Recently, time varying spatial dependence is closed concerned. Generally, it includes two kinds: Time varying spatial parameters and time varying spatial weights matrices. This paper focuses on the latter.

Druska and Horrace[5] estimated a panel data model where disturbances were spatially correlated in the cross-sectional dimension, time varying spatial parameter and weights matrix were also allowed by generalized moment methods. Kuethe et al.[6] combined existing spatial econometric techniques with a model that allowed parameters to evolve over time, and captured both the temporal and spatial dynamics of housing prices. Rambaldi and Rao[7] developed a class of models with time varying hedonic coefficients and spatially correlated errors, constructed and compared the corresponding price index series, and furthermore the time varying parameter with spatial errors were found to be the best model. Lee and Yu[8] first investigated the quasi-maximum likelihood estimation of spatial dynamic panel data models where spatial weights matrices could be time varying, and found that QML estimate was consistent and asymptotically normal, however when spatial weights matrices substantially varied over time, a model misspecification of a time invariant spatial weights matrix might cause substantial bias in estimation. Hazir and Bernard[9] worked on a spatial Durbin model, which included time varying spatial weights matrices, space and time lagged variables. Blasques et al.[10] introduced a new model for time-varying spatial dependence, adopted the model to empirically investigate spatial dependence between eight European sovereign CDS spreads over the period 2009–2014. Brännäs[11] considered a novel way of incorporating spatial weights matrix for both time and space dynamic models with or without simultaneity, and studied count data models corresponding to previously spatial econometric models for continuous variables.

As we know, the spatial weights matrix is an important characteristic element of spatial econometric models and is cause of dispute in relation to what is it and how should it be specified[12]. It’s mainly two steps for model estimation and tests for spatial dependence in spatial econometric models. However, there are a few of literatures about tests for spatial dependence with time varying spatial weights matrices so far. Ou[13] first investigated Moran’s I test for spatial dependence in panel data models where spatial weights matrices can be time varying, and Monte Carlo results indicate that based on time varying and misspecified time invariant spatial weights matrices, size of Moran’s I test has no significant difference, and power of Moran’s I test for spatial dependence with time varying spatial weights matrices is much higher.

The main aim of this paper is to develop tests for spatial dependence in panel data models, and further investigates the effectiveness of TV-Moran for different alternative hypothesis of spatial dependence, for different cross-sectional dimensions and for different time dimensions from the perspective of power. Based on extensive Monte Carlo simulations, we find that Moran’s I test with misspecified time invariant spatial weights matrices is questionable; Instead, TV-Moran test has shown superiority in higher power, especially for cases with negative spatial correlation parameters and the large time dimension.

This paper is organized as follows. Section 2 is devoted to a description of Moran’s I test for spatial dependence in panel data models with time varying spatial weights matrices. Section3 presents the design of Monte Carlo experiments and results. The conclusions are given in Section 4.

2 TV-Moran

The spatial autoregressive model (SAR) is a standard tool to analyze data with spatial correlation. The spatial error autoregressive model (SEAR) is also usually one kind of spatial econometric models. When spatial weights matrices are time invariant, SAR and SEAR models are respectively the following Equations (1) and (2):

(1)Y=ρ(ITW)Y+Xβ+ε
(2)Y=Xβ+u,u=λ(ITW)u+ε

When spatial weights matrices in panel data models are changed over time, Equation (1) becomes

(3)Y=ρW~Y+Xβ+ε

and Equation (2) becomes

(4)Y=Xβ+u,u=λW~u+ε

where both ρ and λ are spatial correlation parameters, and the NTXNT time varying spatial weights matrix W~ is as follows:

W~=(w~ij,t)i,j=1,2,,N,t=1,2,,T=[W~10000W~20000W~T10000W~T]

and

W~t=[w~11,tw~12,tw~1N,tw~21,tw~22,tw~2N,tw~N1,tw~N2,tw~NN,t]

where W~t(t=1,2,,T) is an N × N row-normalized spatial weights matrix with zero diagonal in the t-th period, and when spatial weights matrices are time invariant, the sub-matrix W~1=W~2==W~tandW~=ITW.

Hypothesis tests for spatial dependence are a common practice for the identification and estimation of a spatial econometric model. Moran’s I test is a simple and popular test for spatial dependence[1420]. Therefore, when spatial weights matrices change over time, Moran’s I tests for spatial dependence in panel data models become:

(5)I=eW~eee

where the residual e = (INTX(XX)–1X′)Y = MY. In this case, the matrix M is still a real symmetric idempotent matrix, and the spatial weights matrix W is still row standardized, which is similar to the cross sectional case[15,16]. Tiefelsdorf[21] derived approximate distribution of Moran’s I by its moments when the disturbance vector ε is an independent and identically distributed (i.i.d.) random variable. Furthermore, we can develop asymptotic distribution of Moran’s I test from panel data models with time invariant spatial weights matrices to those with time varying spatial weights matrices. Moran’s I statistic in Equation (5) is asymptotic normal distributed, and its’ expectation and variance follow that:

E(I)=trace(MW~)NTkV(I)=trace(MW~MW~)+trace(MW~)2+[trace(MW~)]2(NTk)(NTk+2)[E(I)]2

Then we can obtain the standardized Moran’s I statistic and its’ distribution by using the z-transformation of Moran’s I:

(6)Z=IE(I)V(I)AsyN(0,1)

When spatial weights matrices substantially vary over time, tests for spatial dependence may be bias, and Equation (6) should be reasonably used. In the next section, we further investigate the performance of Moran’s I test for spatial dependence with time varying spatial weights matrices.

3 Monte Carlo Simulation

In this section, based on Moran’s I test for spatial dependence in panel data models with time varying spatial weights matrices, power are used to evaluate the performance of the test when there is spatial dependence. Specifically, given spatial dependence, we expect that the test will show a large probability of rejecting the null hypothesis of spatial independence, namely the power of the test.

3.1 Experimental Design

Given the null hypothesis of spatial independence, the alternatives under consideration include a spatial autoregressive model (SAR) and a spatial error autoregressive model (SEAR). In order to study the power of Moran’s I test, two alternative models are used to generate spatial dependence data with time varying spatial weights matrices. The SAR and SEAR models are respectively defined by: Y=ρW~Y+Xβ+ε,andY=Xβ+u,u=λW~u+ε.X is an NTX3 matrix, generated from the independent uniformly distribution in [0, 10]. ε is an NTX1 vector, generated from the independent standardized normal distribution. When the alternative hypothesis model (SAR) is true, ρ = –0.8, –0.6, · · · , 0.6, 0.8, and for another alternative hypothesis model (SEAR), λ = –0.8, –0.6, ···, 0.6, 0.8. The significance level is 0.05. For time varying spatial weights matrices, we choose a random pattern. Any element of the t-th spatial weights matrix Wt is randomly drawn from 0 and 1. All these spatial weights matrices are row-normalized and zero diagonal. We also compare power of Moran’s I test for spatial dependence with time varying spatial weights matrices (TV-Moran) and time invariant spatial weights matrices (TI-Moran). 1000 replications are carried out.

3.2 Results

The power curves of TV-Moran and TI-Moran are compared for different alternative models, for different cross-sectional dimensions, and for different time dimensions.

We first present the simulation results for SAR and SEAR models with the cross-sectional dimension Ν =25, 49, and 81 and the time dimension T=5, 10 and 15. At 5% nominal level of significance, Figures 1 and 2 plot the power curves for three different cross sectional dimensions and for three time dimensions of two spatial model specifications, respectively. Three rows in the graphs correspond to three cross sectional dimensions 25, 49, and 81. Three columns are for three different time dimensions 5, 10, and 15 under consideration. In each of the 3 by 3 grid of graphs, “TV” and “TI” denote the power curves of Moran’s I test for spatial dependence with time varying and misspecified time invariant spatial weights matrices, respectively.

From Figures 1 and 2, at 5% nominal level of significance, when the alternative model is truly the SAR model, power of TV-Moran is much higher than that of TI-Moran when spatial correlation is negative. When spatial correlation is positive, they become equivalent. Both cross sectional dimensions and the alternative models have no significant influence on power of TV-Moran and TI-Moran tests for spatial dependence. We observe that power of TV-Moran in the SAR model is slightly higher than that in the SEAR model.

Figure 1 Power of Moran’s I test for spatial dependence against the SAR model, for different spatial correlation parameters
Figure 1

Power of Moran’s I test for spatial dependence against the SAR model, for different spatial correlation parameters

Figure 2 Power of Moran’s I test for spatial dependence against the SEAR model, for different spatial correlation parameters
Figure 2

Power of Moran’s I test for spatial dependence against the SEAR model, for different spatial correlation parameters

Next given the spatial correlation parameter (ρ or λ = –0.7, –0.3, 0.3, 0.7), we consider power of TV-Moran and TI-Moran for different time dimensions. At 5% nominal level of significance, Figures 3 and 4 plot power curves for four spatial correlation parameters of two alternative models, respectively. From Figures 3 and 4, when spatial correlation is negative, the blue solid curve “TV” is much higher than the red dotted curve “TI”. Specifically when ρor λ = –0.3, there becomes longer distance between the blue solid curve and the red dotted curve with larger time dimension; and however when ρ or λ = –0.7, it’s on the contrary.

Figure 3 Power of Moran’s I test for spatial dependence against the SAR model, for different time dimensions, given N=49
Figure 3

Power of Moran’s I test for spatial dependence against the SAR model, for different time dimensions, given N=49

Figure 4 Power of Moran’s I test for spatial dependence against the SEAR model, for different time dimensions, given N=49
Figure 4

Power of Moran’s I test for spatial dependence against the SEAR model, for different time dimensions, given N=49

In a word, when spatial correlation is weak, power of TV-Moran is much higher than that of TI-Moran as time dimensions increase. For positive and strong spatial correlation, power of TV-Moran is slightly higher than that of TI-Moran.

Finally given spatial parameter (ρ or λ = –0.7, –0.3, 0.3, 0.7), we consider power of TV-Moran and TI-Moran for different cross sectional dimensions. Figures 5 and 6 indicate that cross sectional dimensions have no significant influence on power. Specifically when spatial correlation is negative, power of TI-Moran is much less than 0.1, and however power of TV-Moran is much higher than that of TI-Moran, especially ρ or λ = –0.7. When spatial correlation is positive, power of TV-Moran is similar to that of TI-Moran.

Figure 5 Power of Moran’s I test for spatial dependence against the SAR model, for different cross-sectional dimensions, given Τ=10
Figure 5

Power of Moran’s I test for spatial dependence against the SAR model, for different cross-sectional dimensions, given Τ=10

Figure 6 Power of Moran’s 1 test for spatial dependence against the SEAR model, for different cross-sectional dimensions, given Τ=10
Figure 6

Power of Moran’s 1 test for spatial dependence against the SEAR model, for different cross-sectional dimensions, given Τ=10

In summary, based on our extensive Monte Carlo experiments, when there is negative spatial correlation, Moran’s I test for spatial dependence with misspecified time invariant spatial weights matrices may cause substantial reduction in power, and TV-Moran is proven to have much higher power than TI-Moran.

4 Conclusion

In this paper, we further investigate and develop Moran’s I tests for spatial dependence in panel data with substantially time varying spatial weights matrices. It’s known that TI-Moran with misspecified time invariant spatial weights matrices performs poorly with weak power when spatial correlation is negative. Our Monte Carlo experiments confirm that with time varying spatial weights matrices, Moran’s I test is superior to that with misspecified time invariant spatial weights matrices in the view of power. Specifically, when spatial correlation is negative, power of TV-Moran is much higher than that of TI-Moran. The time dimension is larger, and the power of TV-Moran is higher. Nevertheless, the alternative models and cross sectional dimensions have no significant influence on power of TV-Moran.


This research was financially supported by the National Natural Science Foundation of China (71101143)


References

[1] Fernandez V. Spatial linkages in international financial markets. Quantitative Finance, 2011, 11: 237–245.10.1080/14697680903127403Search in Google Scholar

[2] Wied D. Cusum-type testing for changing parameters in a spatial autoregressive model for stock returns. Journal of Time Series Analysis, 2013, 34: 221–229.10.1111/jtsa.12006Search in Google Scholar

[3] Arnold M, Stahlberg S, Wied D. Modeling different kinds of spatial dependence in stock returns. Empirical Economics, 2013, 44: 761–774.10.1007/s00181-011-0528-2Search in Google Scholar

[4] Asgharian H, Hess W, Liu L. A spatial analysis of international stock market linkages. Journal of Banking and Finance, 2013, 37: 4738–4754.10.1016/j.jbankfin.2013.08.015Search in Google Scholar

[5] Druska V, Horrace W C. Generalized moments estimation for spatial panel data: Indonesian rice farming. American Journal of Agricultural Economics, 2004, 86(1): 185–198.10.1111/j.0092-5853.2004.00571.xSearch in Google Scholar

[6] Kuethe T H, Foster K A, Florax R J G M. A spatial hedonic model with time-varying parameters: A new method using flexible least squares. Working Paper, 2008.Search in Google Scholar

[7] Rambaldi A N, Rao DSP. Hedonic predicted house price indices using time-varying hedonic models with spatial autocorrelation. Working Paper, 2011.Search in Google Scholar

[8] Lee L F, Yu J H. QML estimation of spatial dynamic panel data models with time varying spatial weights matrices. Spatial Economic Analysis, 2012, 7(1): 31–74.10.1080/17421772.2011.647057Search in Google Scholar

[9] Hazir C S, Bernard C A. The effect of spatio-temporal knowledge flows on regional innovation performance: The case of ICT patenting in Europe. Working Paper, 2013.Search in Google Scholar

[10] Blasques F, Koopman S J, Lucas A, et al. Spillover dynamics for systemic risk measurement using spatial financial time series models. Working Paper, 2014.10.2139/ssrn.2480357Search in Google Scholar

[11] Brännäs K. Adaptations of conventional spatial econometric models to count data. Working Paper, 2014.Search in Google Scholar

[12] Mur J, Herrera M, Ruiz M. Selecting the W matrix: Parametric vs. nonparametric approaches. Working Paper, 2011.Search in Google Scholar

[13] Ou B L. Moran’s I tests for spatial dependence in panel data models with time varying spatial weights matrices. International Conference on Economic Management and Trade Cooperation (EMTC), Xi’an in China, 2014.10.1515/JSSI-2015-0463Search in Google Scholar

[14] Moran P. The interpretation of statistical maps. Journal of the Royal Statistical Society B, 1948, 10: 243–251.10.1111/j.2517-6161.1948.tb00012.xSearch in Google Scholar

[15] Cliff A D, Ord J K. Spatial autocorrelation. Pion, London, 1973.Search in Google Scholar

[16] Cliff A D, Ord J K. Spatial processes: Models and applications. Pion, London, 1981.Search in Google Scholar

[17] Anselin L. Spatial econometrics: Methods and models. Kluwer Academic Publishers, Boston, 1988.10.1007/978-94-015-7799-1Search in Google Scholar

[18] Anselin L. Spatial externalities, spatial multipliers and spatial econometrics. International Regional Science Review, 2003, 26: 153–166.10.1177/0160017602250972Search in Google Scholar

[19] Anselin L, Bera A K, Florax R, et al. Simple diagnostic tests for spatial dependence. Regional Science and Urban Economics, 1996, 26: 77–104.10.1016/0166-0462(95)02111-6Search in Google Scholar

[20] Anselin L, Gallo J L, Jayet H. Spatial panel econometrics. Eds. by Matyas L, Sevestre P. The Econometrics of Panel Data, Springer-Verlag, Berlin, 2008.10.1007/978-3-540-75892-1_19Search in Google Scholar

[21] Tiefelsdorf M. Modeling spatial processes: The identification and analysis of spatial relationships in regression residuals by means of Moran’s I. Spinger-Verlag, Berlin, 1999.10.1007/BFb0048754Search in Google Scholar

Received: 2015-2-5
Accepted: 2015-3-17
Published Online: 2015-10-25

© 2015 Walter de Gruyter GmbH, Berlin/Boston

Downloaded on 25.9.2025 from https://www.degruyterbrill.com/document/doi/10.1515/JSSI-2015-0463/html?lang=en
Scroll to top button