moranI | R Documentation |

Moran's I statistic measures autocorrelation between areas within a region. It is similar to the correlation coefficient:

```
I=\frac{n\sum_i\sum_j W_{ij}(Z_i-\overline{Z})(Z_j-\overline{Z})}{2(\sum_i\sum_jW_{ij})\sum_k (Z_k-\overline{Z})^2}
```

`W`

is a squared matrix which represents the relationship between each
pair of regions. An usual approach is set `w_{ij}`

to 1 if regions
`i`

and `j`

have a common boundary and 0 otherwise, or it may
represent the inverse distance between the centroids of these two regions.

High values of this statistic may indicate the presence of groups of zones where values are unusually high. On the other hand, low values of the Moran's statistic will indicate no correlation between neighbouring areas, which may lead to indipendance in the observations.

*moranI.stat* is the function to calculate the value of the statistic for
residuals or SMRs of the data.

*moranI.boot* is used when performing a non-parametric bootstrap.

*moranI.pboot* is used when performing a parametric bootstrap.

Moran, P. A. P. (1948). The interpretation os statistical maps. Journal of the Royal Statistical Society, Series B 10, 243-251.

DCluster, moranI.stat, moranI.boot, moranI.pboot

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.