expected_mc | R Documentation |
Expected value for the Moran coefficient of model residuals under the null hypothesis of no spatial autocorrelation.
expected_mc(X, C)
X |
model matrix, including column of ones. |
C |
Connectivity matrix. |
Returns a numeric value.
Chun, Yongwan and Griffith, Daniel A. (2013). Spatial statistics and geostatistics. Sage, p. 18.
data(georgia)
C <- shape2mat(georgia)
X <- model.matrix(~ college, georgia)
expected_mc(X, C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.