- Introduced by
- Roy C. Geary
- Year
- 1954
- Type
- Spatial autocorrelation statistic
- Family
- GIS / spatial
What does it do?
Geary's C is a global spatial autocorrelation statistic that asks whether neighboring areal units have similar attribute values.
It is built from squared differences between neighboring pairs rather than from cross-products of deviations from the mean, so it responds directly to how different each neighboring pair is. Under spatial randomness its expected value is 1.
The intuition behind the method
Think of a map colored by income level. Geary's C asks whether neighboring regions are more alike than you would expect if the values were shuffled randomly across the map. It sums the squared differences between each pair of neighbors and compares that total with what the overall attribute variance implies under randomness. Values well below 1 indicate that neighbors tend to be similar (clustering); values well above 1 indicate that neighbors tend to differ, a checkerboard-like pattern. The baseline of 1 corresponds to spatial randomness.
History
Roy C. Geary introduced the contiguity ratio in a 1954 paper in The Incorporated Statistician as a way to examine whether values mapped over areas are spatially structured. The statistic is usually presented alongside Moran's I in the spatial autocorrelation literature, and the 1981 book by Cliff and Ord is listed here as a standard reference for that framework. It remains a common diagnostic in spatial econometrics and GIS-based research.
When to use it
Use Geary's C for areal (polygon or lattice) data with a continuous attribute when you want a single test of whether similar values cluster across the study region, especially when local dissimilarity between neighbors is of interest. Moran's I is generally the more effective global statistic; Cliff and Ord (1981) note this partly because the variance of C is highly sensitive to the sample distribution. Do not apply Geary's C directly to point data; aggregate to areal units first or use a point-pattern method. For small numbers of units, rely on permutation inference rather than the normal approximation. Define the weights matrix before analysis, because the results depend on it, and symmetrise asymmetric matrices before testing.
Limitations and considerations
- The result depends on the weights matrix: changing the neighbor definition or applying row standardization can change both the value of C and its significance.
- Because differences are squared, C is not automatically insensitive to outlying values; a single unit with large contrasts to its neighbors can dominate the numerator.
- As a global statistic, C summarizes the whole study region and cannot show where clusters or outliers are located; local versions such as Local Geary's C are needed for that.
- C is not bounded to [-1, 1] like a correlation coefficient, so its magnitude is harder to read as a strength of association.
- Results depend on how areal zones are drawn (the modifiable areal unit problem), and boundary units have fewer neighbors, which affects the statistic.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Its squared-difference numerator responds directly to contrasts between neighboring units, which makes it suited to detecting local dissimilarity and alternating, checkerboard-like patterns.
- Values are read against a fixed null of 1, so the direction of autocorrelation can be judged at a glance: values below 1 suggest clustering and values above 1 suggest dispersion.
- It can be reported alongside Moran's I; the two statistics emphasize different features of the same neighbor structure, so together they give a fuller description of global spatial pattern.
- Inference is flexible: a normal approximation is available for larger maps, and a permutation test can be run without assuming a particular distribution for the attribute values.
Applications
- Testing whether disease rates in neighboring census tracts are more similar than expected by chance in epidemiology.
- Detecting spatial clustering of economic activity such as poverty indices or property values across administrative zones.
- Evaluating model residuals from spatial regression for remaining autocorrelation before accepting the model.
- Assessing the spatial randomness of environmental pollutant concentrations aggregated to watershed units.
- Comparing spatial structure of voter turnout or electoral outcomes across districts in political geography.
How it works
How it works
A spatial weights matrix W records which areal units count as neighbors, typically through queen contiguity (shared edge or vertex), rook contiguity (shared edge only), or a distance band. Entries are most often binary, 1 for neighbors and 0 otherwise, but the statistic is defined for general weights, with S0 equal to the sum of all w_ij. The neighbor definition is a substantive choice, because it determines which pairs enter the numerator.
Formula
w_{ij} \in \{0,1\} \text{ (contiguity or distance-band spatial weights matrix } W)C divides a weighted sum of squared differences between neighboring values, scaled by (n-1), by twice the sum of weights S0 multiplied by the total sum of squared deviations from the mean. When neighbors have similar values the numerator is small and C falls toward zero; when neighbors differ, the squared differences grow and C rises above 1. Because the differences are squared, a few large contrasts between neighbors can dominate the total.
Formula
C = \frac{(n-1)\sum_i \sum_j w_{ij}(x_i - x_j)^2}{2S_0 \sum_i (x_i - \bar{x})^2}Under the null hypothesis of spatial randomness, the expected value of C is 1. Values clearly below 1 indicate positive spatial autocorrelation (clustering of similar values), and values clearly above 1 indicate negative autocorrelation (dispersion, where neighbors are dissimilar).
Formula
E[C] = 1 \text{ under spatial randomness (null hypothesis)}Significance can be assessed in two ways: a z-score compared with the standard normal distribution, which relies on an asymptotic approximation, or a permutation test that repeatedly reassigns attribute values across units to build a reference distribution and yields a pseudo p-value. The variance of C is taken from the moments derived by Cliff and Ord (1981) and depends on the weights matrix and the distribution of the attribute values. The variance of C is highly sensitive to the sample distribution, which is one reason permutation inference is often preferred. The z-test also assumes a symmetric weights matrix; for asymmetric matrices such as k-nearest-neighbour, the test may be distorted. In that case use a symmetrised matrix or a permutation test, and report which approach was used.
Formula
z = \frac{C - E[C]}{\sqrt{\text{Var}(C)}} \sim N(0,1) \text{ (asymptotically)}Common pitfalls
- Row-standardizing the weights, or otherwise changing them, without recomputing S0 and the expected value and variance used in inference; the standardised first-order matrix changes these quantities.
- Reading C above 1 as evidence of negative correlation without checking significance with a permutation test or a z-score.
- Comparing C values across studies that used different weights matrices or areal resolutions; the values are not directly transferable.
- Skipping the modifiable areal unit check: re-aggregating the same data to different zones can change the apparent pattern, so repeat the analysis with a second zoning.
- Treating a single global C as sufficient evidence of spatial structure without examining a choropleth map or a Moran scatterplot.
Frequently asked questions
What is the difference between Geary's C and Moran's I?
Both measure global spatial autocorrelation, but they use different formulas. Moran's I is based on cross-products of mean-deviated values and is usually interpreted on a correlation-like scale. It is not strictly bounded to [-1, +1] for all weights matrices. Geary's C uses squared differences between neighbor pairs, has a null value of 1, and fluctuates in the range [0, 2]. Because it focuses on pairwise differences, Geary's C responds more to local dissimilarity, while Moran's I reflects the overall pattern of deviations from the mean. The two often agree but can diverge when the pattern involves fine-grained alternation.
How do I choose a spatial weights matrix for Geary's C?
The choice depends on the notion of neighborhood that is theoretically appropriate for your data. Queen contiguity (shared edge or vertex) and rook contiguity (shared edge only) are common for regular grids. For irregular polygons, queen contiguity or a k-nearest-neighbor matrix is typical. The key rule is to define neighbors before seeing the results and to check sensitivity by comparing outcomes under two or three reasonable specifications. If the matrix is asymmetric, as k-nearest-neighbor matrices can be, symmetrise it before significance testing.
Can I use Geary's C on point data?
Not directly. Geary's C is designed for areal units where adjacency or proximity can be encoded in a weights matrix. For point data, either aggregate the points to polygons and then apply Geary's C, or use a point-pattern statistic such as Ripley's K or kernel density estimation instead.
What does a Geary's C value close to 0 mean?
A value near 0 indicates strong positive spatial autocorrelation: neighboring units have very similar attribute values. Values near 1 indicate spatial randomness. Values well above 1, toward the upper end of the usual scale, indicate negative autocorrelation, where neighbors tend to differ in a checkerboard-like pattern. Whether a departure from 1 is meaningful depends on the inference result, not on the value alone.
Should I use a permutation test or the normal approximation for inference?
A permutation test is generally preferred because it does not rely on the normal approximation and makes fewer distributional assumptions about the attribute values. Small maps are where this matters most. The variance of C is sensitive to the sample distribution, which further supports permutation testing when the distribution is uncertain. The normal approximation is more defensible for larger maps with approximately symmetric attribute distributions and a symmetric weights matrix. Always report which inference method you used so readers can evaluate it.
Related methods
Sources
Geary, R. C. (1954). The Contiguity Ratio and Statistical Mapping. The Incorporated Statistician, 5(3), 115–145.
Open publication referenceCliff, A. D., & Ord, J. K. (1981). Spatial Processes: Models and Applications. Pion Limited.
ISBN: 0850860814