948 B
948 B
Moran's I
A measure of clustering for spatial data, defined as
I = \frac{N}{W} \frac{\sum_{i=1}^N \sum_{j=1}^N w_{ij}(x_i-\overline{x})(x_j - \overline{x})}
{\sum_{i=1}{N}(x_i - x)^2}
where
Nis the number of spacial units indexed byiandjxis the variable of interest\overline{x}is the mean ofx$w_{ij} are the elements of a matrix of spatial weights that denote adjacencyW = \sum_{i=1}^N \sum_{j=1}^N w_{ij}is the sum of allw_{ij}
It may be considered time series stationarity-agnostic as the calculation does not make assumptions about temporal behavior of the underlying data.
The deviation from the global mean \overline{x} is calculated at a snapshot in time and weighted by w_{ij},
resulting in a value that ranges from [-1;1].