Global Spatial Autocorrelation

Statistics
Introduced by
P. A. P. Moran (Moran's I, 1950); generalized by Luc Anselin
Year
1950
Type
Spatial statistic / hypothesis test
Family
GIS / spatial

What does it do?

Global spatial autocorrelation measures whether similar attribute values tend to lie near one another across an entire study area.

It summarizes this in a single statistic, most commonly Moran's I, which indicates whether spatial proximity goes with value similarity, value dissimilarity, or no systematic pattern. The global statistic does not show where any clustering occurs.

The intuition behind the method

Think of the study area as a checkerboard. If neighboring squares tend to share similar values (both high or both low), the attribute shows positive spatial autocorrelation. If neighbors consistently differ (high next to low), autocorrelation is negative. If values are scattered with no spatial pattern, there is no autocorrelation. The global statistic condenses this whole pattern into one number. It tells you whether the attribute is spatially clustered, but not where the clusters are.

History

The foundational statistic is Moran's I, introduced by P. A. P. Moran in 1950 as a test for spatial dependence in continuous stochastic phenomena. Geary's C offers an alternative formulation that emphasizes pairwise differences between neighboring values. Luc Anselin's 1988 book Spatial Econometrics systematized both measures and linked them to spatial regression models.

When to use it

Use global spatial autocorrelation as a diagnostic before spatial modeling, to check whether a continuous attribute observed at areal units (such as census tracts or counties) or at point locations shows spatial dependence that a model must account for. It requires a spatial weights matrix that can be defined meaningfully for the data. Choose local statistics instead when you expect clusters with different directions or locations across the study area, because a single global value can hide them. Avoid relying on the global statistic when the study-area boundary cuts through natural clusters and leaves edge units with artificially few neighbors, when observations are not spatially referenced, or when the outcome is binary, a count, or a rate, which needs a modified form of the statistic. With few observations, the normal approximation is less dependable, so permutation inference is preferable.

Limitations and considerations

  • A single global value can hide local clusters of opposite sign that offset one another.
  • Results depend on the weights matrix: contiguity, nearest-neighbor, and distance-based definitions can give different conclusions for the same data.
  • The interpretation assumes stationarity, meaning the dependence is roughly uniform across the study area, which is often unrealistic.
  • The statistic does not identify where clusters are located, so a local analysis is needed for that purpose.
  • The standard form assumes a continuous attribute; binary, count, and rate outcomes require modified variants or transformation.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Gives one summary of spatial dependence for the whole study area, which is a useful first check before more detailed modeling.
  • Under the randomization null, the expected value of -1/(n-1) allows a formal test of spatial randomness.
  • Permutation-based inference does not depend on the attribute following a normal distribution.
  • With sparse weights matrices, the statistic can be computed efficiently for large numbers of areal units.
  • Applied to the residuals of a fitted regression, it shows whether spatial dependence remains after the covariates are included, and so whether a spatial regression specification may be needed.

Applications

  • Epidemiology: detecting whether disease rates cluster spatially before fitting disease-mapping models.
  • Criminology: confirming spatial concentration of crime incidents prior to hot spot mapping.
  • Economics: testing whether regional income or productivity is spatially correlated across administrative units.
  • Environmental science: assessing spatial dependence in pollution levels or biodiversity indices.
  • Urban planning: examining whether land-use indicators or housing prices exhibit neighborhood clustering.
  • Public health: verifying spatial autocorrelation in vaccination coverage or health-access metrics.

How it works

How it works

1

Build a spatial weights matrix W in which each entry w_ij encodes how strongly location j counts as a neighbor of location i. Common choices are queen contiguity (shared edge or corner), rook contiguity (shared edge only), k-nearest neighbors, and inverse-distance weighting. Row-standardizing W, so that each row sums to one, keeps locations with different numbers of neighbors comparable. The weights should be justified on theoretical grounds before the test is run.

2

Compute Moran's I using the formula shown. The numerator sums, over all pairs of locations, the product of their deviations from the mean, weighted by w_ij. The denominator is the total squared deviation. The factor n/S0, where S0 is the sum of all weights, scales the result so that it works as a spatial analogue of the Pearson correlation coefficient.

Formula
I = \frac{n}{S_0} \frac{\sum_i \sum_j w_{ij}(x_i - \bar{x})(x_j - \bar{x})}{\sum_i (x_i - \bar{x})^2}
3

Under the null hypothesis of no spatial autocorrelation, the expected value of Moran's I is -1/(n-1). This is a small negative number that approaches zero as n grows. Values well above this expectation indicate positive spatial autocorrelation (similar values clustering). Values well below it indicate negative autocorrelation (dissimilar values lying next to each other).

Formula
E[I] = -\frac{1}{n-1}
4

Judge significance with a z-score or, generally preferred, a permutation test. For the z-score, compare the observed I with its expected value under the null, E[I] = -1/(n-1), and divide the difference by the square root of its variance: z = (I - E[I]) / sqrt(Var[I]). The variance depends on the assumed reference distribution. Under the normality assumption it depends only on the spatial weights. Under randomisation it also depends on the observed values of the attribute, so the choice of assumption should be stated when results are reported. In the permutation test the observed values are randomly reassigned to locations many times, under the null hypothesis that any value is equally likely to occur at any location. The observed I is then compared with the resulting reference distribution, for example one built from about 10,000 Monte Carlo permutations. Permutation inference does not require the attribute to be normally distributed. Small samples and skewed attributes make the normal approximation less reliable.

5

A significant positive Moran's I shows that similar values cluster somewhere in the study area. This justifies follow-up with local indicators (LISA, including Local Moran's I) to locate the clusters. A non-significant result indicates no detectable global pattern at the chosen weights specification and scale. Opposing local clusters can cancel out, however, so a non-significant result does not establish that local clusters are absent.

Common pitfalls

  • Choosing the spatial weights specification after seeing the results to obtain a significant value inflates the Type I error rate; the weights should be motivated before testing.
  • Interpreting a non-significant global Moran's I as proof of no spatial pattern, when opposing local clusters can cancel at the global level.
  • Ignoring the multiple-testing problem when computing Moran's I for many variables or time periods without correction.
  • Computing autocorrelation on rates from units of unequal population size without considering the denominators. Rates based on small or unequal populations have heterogeneous variance, which can produce spurious spatial autocorrelation whatever weights standardization is used.
  • Treating edge-adjacent units near the study boundary as fully comparable to interior units without applying edge corrections.

Frequently asked questions

What is the range of Moran's I and how do I interpret its sign?

Positive values of Moran's I indicate positive spatial autocorrelation, where similar values tend to be neighbors. Negative values indicate negative autocorrelation, where dissimilar values tend to be neighbors. The expected value under spatial randomness is -1/(n-1), which is close to zero. Moran's I is not strictly bounded to [-1, +1] for every weights matrix, so the sign, the comparison with the expected value, and the significance test should guide interpretation more than the exact magnitude.

How does Global Spatial Autocorrelation differ from Local Moran's I?

The global statistic produces a single value summarizing spatial dependence across the whole study area. Local Moran's I (a LISA statistic) decomposes this into location-specific values, revealing where significant clusters or outliers occur: high-high clusters, low-low clusters, and spatial outliers.

Which spatial weights matrix should I use?

The choice should be theoretically motivated. Contiguity weights (queen or rook) suit areal polygon data. K-nearest-neighbor or distance-band weights suit point data or irregular polygon shapes. Sensitivity analysis across two or three plausible specifications is good practice.

Should I use the normal approximation or permutation inference?

Permutation inference is generally preferred because it does not assume a particular distribution for the attribute. The normal approximation is quicker but can be misleading for skewed or heavy-tailed attributes and for small samples. The number of permutations limits how small the attainable p-value can be. The applied practice cited in the supplied literature uses approximately 10,000 Monte Carlo permutations, which is a reasonable working choice.

A significant Moran's I, do I now need a spatial regression model?

A significant global Moran's I in your OLS residuals (not just your raw variable) indicates that spatial dependence is not fully explained by your covariates and that ignoring it may bias inference. In that case, a spatial lag or spatial error specification should be considered. The global statistic alone does not show which of these is appropriate, so further model diagnostics are needed to choose between them.

Related methods

Sources

  1. Moran, P. A. P. (1950). Notes on continuous stochastic phenomena. Biometrika, 37(1/2), 17–23.

    Open DOI reference
  2. Anselin, L. (1988). Spatial Econometrics: Methods and Models. Kluwer Academic Publishers.

    ISBN: 978-9024737322