I = |
|
Moran's I is approximately normally distributed with mean E(I) and Variance V(I) as follows:
E(I) = trace(MW)/(N-K), where M = I-X(X'X)-1X'
V(I) = {trace(MWMW')+trace[(MWMW)]+[trace(MW)]2}/((N-K)(N-K+2)) - E(I)2
Therefore, the standardized Moran's I is defined by
ZI = |
|
It is used to test for the first-order spatial correlation similar to Durbin-Watson test for the first-order time series correlation. For diagnostic checking of model specification, it can be applied to more general estimated residual vector e obtained from generalized least squares or maximum likelihood estimation method (that is, the data matrix X may be transformed according to the estimated model).
LM1 = |
|
where T1 = trace(WW+W'W). LM1 test statistic follows an asymptotic c2(1) distribution and, apart from a scaling factor, corresponds to the square of Moran's I.
LM2 = |
|
where T2 = [(WXb)'M(WXb)/(e'e/N)]+T1. LM2 also has an asymptotic c2(1) distribution. Since both LM1 and LM2 tests have power against the other alternatives, it is important to take account of possible lag dependence when testing for error dependence and vice versa.
The following robust tests are designed to work well under local model misspecification.
LM1* = |
|
LM2* = |
|
The robust test statistics are similar to LM1* and LM2* extended with a correction factor to account for the local misspecification. LM1* is used to test for a spatial error process when the model specification contains a spatially lagged dependent variable. LM2* is used to test for a spatially lagged dependent variable in the presence of a spatial error process.
LR = -2 ln(L0/L1) ~ c2(q)
where L0 and L1 are the maximum likelihood function values for the restricted (null) and unrestricted (alternative) model, respectively. The degree of freedom q corresponds to the number of restrictions.