- Introduced by
- Geary (1954); robust extensions by Anselin and spatial statisticians
- Year
- 1954 (base); robust variants: 1990s–2000s
- Type
- Robust spatial autocorrelation statistic
- Family
- GIS / spatial
What does it do?
Robust Geary's C is an outlier-resistant variant of the classical Geary contiguity ratio, a measure of global spatial autocorrelation built from squared differences between neighbouring locations.
It aims to reduce the influence of a few extreme observations on that sum. This page describes the classical ratio in detail. The specific robust modification is set by each implementation, so identify it in the software documentation before choosing or interpreting a robust value.
The intuition behind the method
Geary's C compares the squared differences between neighbouring values with the overall variance. When neighbours are more alike than randomly chosen pairs, the ratio falls below 1. Because each difference is squared, a single extreme value can inflate several terms and dominate the sum. The robust variant aims to limit that leverage so that the statistic reflects the typical spatial pattern more than a few anomalous locations. The precise adjustment is defined by each implementation and should be recorded with the result.
History
Roy C. Geary introduced the contiguity ratio in 1954, applying it to county-level statistics and generalising the von Neumann ratio used for one-dimensional series. He compared observed values with their randomisation distribution and noted that the ratio tends to be less than unity when adjoining areas are more alike. The classical statistic squares neighbour differences and is therefore sensitive to extreme values. Anselin's 1995 paper on local indicators of spatial association shows how global statistics such as Moran's I decompose into local contributions; it is a separate development and does not define a robust Geary's C. The originator and date of the robust variant are not established by the sources available for this page.
When to use it
Choose Robust Geary's C when the question is whether a georeferenced attribute shows global spatial autocorrelation, and there is a concrete reason to suspect that a few extreme or anomalous locations drive the classical statistic. Do not use it when the aim is to find where clusters or outliers lie; local statistics such as Local Geary's C or LISA are designed for that. It is not a generic replacement for the classical statistic: when the data contain no outliers, the classical Geary's C is simpler and easier to compare with earlier work. If spatial structure varies across the study region, a single global value may not describe the data, and local indicators are more appropriate. The statistic is built on squared differences, so it is best suited to continuous (interval-scale) values; ordinal data should be used only with a justified scoring scheme and a sensitivity check.
Limitations and considerations
- The robust modification is set by each implementation, so results from different software may not be directly comparable. Record the adjustment and settings used so that the result can be reproduced.
- Any outlier-resistant adjustment reduces the influence of extreme pairs, which may include real features such as a disease cluster or pollution hotspot. Check whether the extreme values are data errors or substantive signals before relying on the robust value.
- A single global value summarises the whole study region; where spatial structure varies, the overall value can conceal opposing local patterns.
- Permutation inference requires recomputing the statistic over many rearrangements of the data, which is slower than a closed-form approximation for large datasets.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Keeps the pairwise structure of the classical ratio, so the robust value can be read against the classical Geary's C computed on the same weights matrix.
- Geary's randomisation framework does not require the observations to follow a particular frequency distribution, so permutation-based inference is not tied to a normality assumption.
- Works directly with differences between neighbouring values, and the randomisation approach uses the observations themselves as the reference universe.
Applications
- Disease mapping: detecting spatial clustering of health outcomes while accounting for anomalous high-incidence areas.
- Environmental monitoring: assessing spatial structure in pollutant concentration data that may contain sensor errors or extreme events.
- Crime analysis: measuring neighbourhood similarity in crime rates when a few high-crime areas could distort classical statistics.
- Housing and real estate research: evaluating spatial autocorrelation in property prices in markets with extreme luxury or distressed sales.
- Agricultural and ecological studies: quantifying spatial dependence in yield or biodiversity data across heterogeneous landscapes.
How it works
How it works
A spatial weights matrix W is constructed to define which locations are neighbours (e.g., queen or rook contiguity, distance band, or k-nearest neighbours). The choice of weights scheme directly shapes what counts as 'nearby' and must be specified before estimation.
The classical statistic divides a weighted sum of squared differences between neighbouring locations, scaled by (n-1)/(2W), by the overall sum of squared deviations from the mean. Under spatial randomisation the average value is 1; values below 1 indicate that neighbours are more similar than random pairs (positive spatial autocorrelation), and values above 1 indicate dissimilarity between neighbours. The formula shown on this page is the classical one, and the robust version modifies this calculation.
Formula
C = \frac{(n-1)\sum_{i}\sum_{j} w_{ij}(x_i - x_j)^2}{2W\sum_{i}(x_i - \bar{x})^2}The robust modification is not given as a formula on this page, so the exact adjustment cannot be stated from the material available here. Any robust version changes how the squared neighbour differences, or the influence of individual observations, enter the statistic; this is what distinguishes it from the classical formula above. Users should record which adjustment and settings their software applies.
Significance is assessed with a randomisation-based permutation approach rather than a normality assumption, so the reference distribution is generated from rearrangements of the observed values. Geary's randomisation framework likewise does not require a particular frequency distribution for the observations. The observed robust value is compared with the permuted distribution to obtain a pseudo p-value.
Common pitfalls
- Assuming that outlier down-weighting is always correct. Sometimes the extreme spatial observations reflect real phenomena (e.g., a disease cluster or pollution hotspot) and should not be diminished.
- Using a fixed spatial weights scheme without sensitivity analysis; results can change substantially with different neighbour definitions.
- Neglecting to check whether spatial non-stationarity is driving results. A single global robust value may be misleading when spatial structure varies across the study region.
- Treating the robust variant as assumption-free. It still requires a correctly specified weights matrix and does not correct for confounders or spatial heterogeneity.
- Ignoring how locations without neighbours (islands) and the standardisation of the weights matrix are handled. These choices change the statistic, so state them with the result.
Frequently asked questions
How does Robust Geary's C differ from classical Geary's C?
Both share the same basic structure: a weighted sum of squared differences between neighbouring values, scaled by the overall variance. Classical Geary's C squares every neighbour difference, so one extreme value can dominate the sum. The robust version is intended to limit that leverage. The specific adjustment is set by each implementation, so check the documentation of the software you use and report it with your result.
How does Robust Geary's C relate to Moran's I?
Both are global measures of spatial autocorrelation, but they are built from different components. Geary's C uses squared differences between neighbouring values, with values below 1 indicating positive autocorrelation, while Moran's I uses cross-products of deviations from the mean. Because of this difference, the two statistics can give different results on the same data.
What spatial weights matrix should I use?
Common choices include queen or rook contiguity for regular grids, k-nearest neighbours for irregular point patterns, and distance-band weights for continuous data. Run a sensitivity analysis using at least two different weights schemes to confirm your conclusions are not driven by the neighbour definition.
When should I prefer Local Geary's C over the global robust version?
Use the global robust Geary's C when you need a single summary statistic for the entire study region. Switch to Local Geary's C (or LISA) when you want to identify which specific locations drive spatial clustering or dissimilarity, or when spatial structure is not uniform across the region.
Is a permutation test always necessary for inference?
No. Geary's 1954 framework judges significance from the randomisation distribution and its standard error, and it does not assume a particular frequency distribution for the observations. A permutation test is one common computational way to generate that reference distribution, and it is often used with data that contain outliers. Confirm which reference distribution your implementation uses and report the number of permutations, if any.
Related methods
Sources
Geary, R. C. (1954). The contiguity ratio and statistical mapping. The Incorporated Statistician, 5(3), 115–145.
Open DOI referenceAnselin, L. (1995). Local indicators of spatial association — LISA. Geographical Analysis, 27(2), 93–115.
Open DOI reference