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