Moran's I

The white and black squares are perfectly dispersed so that Moran's I would be −1 if a Rook neighbors definition were used. If the white squares were stacked on one half of the board and the black squares on the other, Moran's I approaches +1 as N increases. A random arrangement of square colors would make Moran's I close to 0.

In statistics, Moran's I is a measure of spatial autocorrelation developed by Patrick Alfred Pierce Moran. Spatial autocorrelation is characterized by a correlation in a signal among nearby locations in space. Spatial autocorrelation is more complex than one-dimensional autocorrelation because spatial correlation is multi-dimensional (i.e. 2 or 3 dimensions of space) and multi-directional.