Expected value of the residual Moran coefficient
Expected value for the Moran coefficient of model residuals under the null hypothesis of no spatial autocorrelation.
Chun, Yongwan and Griffith, Daniel A. (2013). Spatial statistics and geostatistics. Sage, p. 18.
expected_mc(X, C)
X
: model matrix, including column of ones.C
: Connectivity matrix.Returns a numeric value.
data(georgia) C <- shape2mat(georgia) X <- model.matrix(~ college, georgia) expected_mc(X, C)