- Introduced by
- Extension of Moran (1950); robust adaptations developed in spatial statistics literature
- Year
- 1990s–2000s
- Type
- Robust spatial autocorrelation statistic
- Family
- GIS / spatial
What does it do?
Robust Moran's I is an outlier-resistant variant of Moran's I, the classic global statistic for spatial autocorrelation.
Instead of standardizing attribute values with the mean and standard deviation, it uses resistant location and spread estimates, such as the median and the median absolute deviation (MAD), so that a few extreme values exert less influence on the global clustering signal.
The intuition behind the method
Classic Moran's I asks whether nearby places tend to have similar attribute values. When a few extreme observations are present, mean-based standardization can be dominated by them, which may mask real clustering or suggest clustering that is not there. Robust Moran's I centers and scales the data with median-based estimates, which is intended to make the statistic reflect the bulk of the observations more closely. Its output is still a single global index: positive values indicate that similar values tend to be neighbours, and negative values indicate that dissimilar values tend to be neighbours.
History
Classic Moran's I is a global measure of spatial autocorrelation. Anselin (1995) introduced local indicators of spatial association (LISA), which decompose such global indicators into the contribution of each observation and can be used to identify local pockets of clustering and influential locations. The robust variant described here keeps the global framework of Moran's I but replaces mean-based standardization with resistant median- and MAD-based estimates.
When to use it
Choose Robust Moran's I when you need a global test of spatial autocorrelation for an attribute that contains outliers or is strongly skewed or heavy-tailed, such as income, crime counts, or disease rates with a few extreme areas. It is most useful when histograms or box plots show non-normality or influential observations. Do not choose it simply as a default replacement when the variable is well behaved: under near-normal conditions the robust version may have less power than standard Moran's I. The size of this difference depends on the data, so check it if power matters. A global index does not show where clustering occurs, so use local statistics if location matters. If spatial dependence is expected to vary strongly with scale, a single global index may be misleading and multiscale approaches should be considered.
Limitations and considerations
- When the data are close to normal and free of outliers, the robust version may have lower power than standard Moran's I, and the size of the difference depends on the data.
- The choice of resistant location and scale estimator matters: other estimators can change the result, so report the estimator used together with the statistic.
- Permutation inference recomputes the full statistic for every permutation, which becomes costly with many locations and many permutations.
- It is a global index and does not decompose into local contributions. For location-specific clusters, use Local Moran's I (LISA), which decomposes the global Moran's I into the contribution of each location (Anselin, 1995).
- Results depend on the spatial weights matrix and its standardization. Use the same W when comparing the robust and standard statistics, because changing W changes the statistic itself.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Designed to be less sensitive than mean-based Moran's I to a few extreme attribute values, because centering and scaling use the median and MAD. The size of this benefit should be checked on your own data, for example by comparing with standard Moran's I.
- Returns a single global index with the same sign interpretation as Moran's I: positive for clustering of similar values and negative for dispersion.
- Permutation inference does not rely on a parametric reference distribution, so normality is not required; it does assume that values are exchangeable across locations under the null of spatial randomness.
- Uses the same kind of spatial weights matrix as classic Moran's I, so the weights decisions made for the standard statistic carry over directly.
Applications
- Epidemiology: testing whether disease rates cluster across areas when a few areas have extreme rates that would otherwise dominate the mean-based standardization.
- Criminology: testing for global clustering of crime counts when a few hotspots have very high values.
- Regional economics: testing income or GDP data for spatial correlation in regions where a few very high-value areas are present.
- Environmental monitoring: testing pollution readings for spatial clustering when a few industrial sites produce extreme values.
How it works
How it works
Build a spatial weights matrix W that encodes which locations count as neighbours. Queen or rook contiguity is typical for areal data, and distance-band or k-nearest-neighbour weights are typical for point data. Row-standardizing W, so that each row sums to 1, is the recommended option here.
Center each observation on a resistant location estimate, the median, and scale it by a robust spread estimate, the median absolute deviation (MAD). This gives robust standardized values z̃_i of the form (x_i − median(x)) / MAD(x). Because the median and MAD are much less affected by a few extreme values than the mean and standard deviation, each outlier has less leverage on the standardization. Before reporting results, confirm the exact scaling convention against a primary source for the robust formulation, in particular whether the MAD is multiplied by a consistency constant.
Compute I_robust as the sum over all location pairs of w_ij multiplied by the product of the two robustly standardized values z̃_i and z̃_j, divided by the sum of the squared standardized values, as written in the formula above. Positive values indicate that neighbouring locations tend to have similar robust values, and negative values indicate that they tend to differ. The expression above is unnormalized: it is not divided by the sum of the weights or by the number of locations as in classic Moran's I. Its magnitude is therefore not on the same scale as Moran's I, and no fixed range such as [−1, 1] should be assumed. Do not compare its numerical value directly with classic Moran's I results.
Formula
I_{robust} = \frac{\sum_i \sum_j w_{ij} \tilde{z}_i \tilde{z}_j}{\sum_i \tilde{z}_i^2}Assess significance with a permutation test. The observed attribute values are randomly reassigned across locations many times (for example 999 permutations), which gives an empirical reference distribution for I_robust under the null hypothesis of spatial randomness. The pseudo p-value is the share of permuted statistics that are at least as extreme as the observed one. Decide before testing whether the test is one-sided or two-sided, and report which was used; a directional claim requires a directional hypothesis set in advance.
Common pitfalls
- Applying the robust variant without checking whether outliers are present; if the attribute is well behaved, standard Moran's I is the simpler choice.
- Comparing the numerical value directly with classic Moran's I values as if they were on the same scale, although the two use different standardization.
- Using very few permutations: the page's example uses 999, and a small number of permutations yields an unstable pseudo p-value.
- Treating a significant global result as evidence of where clustering occurs; a global test does not locate clusters.
- Overlooking the spatial weights definition, since results depend on which locations are treated as neighbours whichever statistic is used.
Frequently asked questions
How does Robust Moran's I differ from standard Moran's I?
Standard Moran's I standardizes attribute values using the mean and standard deviation, so extreme values can strongly affect the statistic. Robust Moran's I replaces these with resistant estimates such as the median and the median absolute deviation (MAD), so that a few extreme values are intended to have less influence.
When should I prefer standard Moran's I over the robust version?
If your data are approximately normally distributed with no meaningful outliers, standard Moran's I is usually the simpler choice and may have somewhat more power. Use the robust variant when histograms or box plots reveal skewness or extreme values.
Can I compute local versions of Robust Moran's I?
In principle, yes. Local Moran's I (LISA) decomposes the global statistic into location-level values, as Anselin (1995) describes for the classic statistic. The same decomposition idea can be combined with robust standardization, but check the exact local formulation in the software documentation before interpreting the results.
What spatial weights matrix should I use?
Choose weights on the basis of your study design. Queen contiguity is common for administrative polygons, and distance-band or k-nearest-neighbour weights suit point data. The same considerations as for standard Moran's I apply, and the same weights should be used in any comparison.
Is a significant Robust Moran's I sufficient evidence of spatial clustering?
Significance indicates that the global pattern is unlikely under spatial randomness, but it does not locate clusters. Follow up with local spatial statistics, such as Local Moran's I or Getis-Ord Gi*, to identify where clustering occurs.
Related methods
Sources
Anselin, L. (1995). Local indicators of spatial association—LISA. Geographical Analysis, 27(2), 93–115.
Open DOI referenceLee, J., & Wong, D. W. S. (2001). Statistical Analysis with ArcView GIS. John Wiley & Sons.
ISBN: 978-0471348740