Panel Geary's C Spatial Autocorrelation

Statistics
Introduced by
R. C. Geary (1954); panel extension in spatial econometrics literature
Year
1954 (base); 2000s (panel extension)
Type
Spatial autocorrelation statistic
Family
GIS / spatial

What does it do?

Panel Geary's C applies the Geary contiguity ratio to panel data, in which georeferenced units such as regions, cities or countries are observed over several time periods.

It measures global spatial autocorrelation, that is, whether neighbouring units tend to take similar values. The statistic is computed for each period, and the rule for combining the periods into a single summary is a choice the analyst must state.

The intuition behind the method

Geary's C compares each pair of neighbouring units. It sums the squared differences in values between neighbours, weighted by the spatial weights, and scales this by the total variation of the variable. When neighbours have similar values, the squared differences are small and C falls below 1, which indicates positive spatial autocorrelation. In a panel, the same ratio is computed for each time period, which shows whether the pattern is stable over time or appears only in some years. The per-period values can then be reported separately or combined using a rule chosen by the analyst.

History

R. C. Geary introduced the contiguity ratio in 1954 as a measure of spatial autocorrelation, and it is the basis of the statistic used here (Geary, 1954). Unlike Moran's I, which uses cross-products of deviations from the mean, Geary's C uses squared differences between neighbouring values. Its application to panel data came later within spatial econometrics, and no single originator of that extension is attributed on this page.

When to use it

Use Panel Geary's C when you have balanced panel data or repeated cross-sections for clearly defined spatial units, such as regions, countries or grid cells, together with a spatial weights matrix. It is useful as a diagnostic for global spatial dependence before fitting a spatial panel regression, and when you want to see whether that dependence is stable over time. It is also a reasonable complement to Moran's I when you want a statistic that depends on squared differences between neighbours. Be cautious when the panel has few periods or the number of units is small, because per-period values then become unstable; check the sample size before relying on the statistic. Do not use it when the units have no natural geographic neighbourhood structure. If you expect clustering to be localised rather than global, use Local Geary's C or LISA instead.

Limitations and considerations

  • The value depends on the spatial weights matrix and its normalisation, and different contiguity or distance definitions can lead to different conclusions.
  • The formula gives per-period values only. Different rules for combining them across periods can produce different panel summaries, so the chosen rule affects the result.
  • Because C_t is computed for each period, the statistic does not directly model dependence over time within the same unit; the temporal structure has to be examined separately.
  • As a global statistic, it can miss local clusters whose effects cancel out in the overall summary.

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

Strengths

  • Because the numerator is built from squared differences between neighbouring units, the statistic responds directly to how dissimilar neighbours are, rather than to deviations from the mean as in Moran's I.
  • Computing C_t for each period shows whether spatial dependence is stable across time or present only in some periods.
  • It uses the same spatial weights matrix as spatial panel regression models, so the diagnostic and the model can share one specification.

Applications

  • Checking whether neighbouring regions differ more or less in income or productivity than random allocation would imply, in regional panels observed over several years.
  • Testing whether neighbouring districts in disease-rate surveillance panels have similar values in each period, before choosing between spatial and non-spatial panel models.
  • Diagnosing whether spatial dependence in housing-price or labour-market panels is stable over time, using the per-period values C_t.
  • Running a global check on the spatial weights chosen for a spatial panel regression, with the result reported alongside a Moran's I check.

How it works

How it works

1

Build a spatial weights matrix W that records which units are neighbours, for example by queen or rook contiguity or by inverse distance. Normalisation of the matrix is a further choice. Row-standardisation is common in practice, but it changes the values of the weights and therefore of C, so the normalisation used must be stated and reported. The matrix is held fixed across time periods, so the neighbour structure is assumed not to change over the panel.

2

For each period t, compute C_t = (n-1) × (weighted sum of squared differences between neighbouring units) / (2W × total squared deviation of the variable from its period mean). The weighted sum runs over all pairs i and j, with w_ii = 0, and W = sum over i and j of w_ij is the sum of all weights. Values near 1 are consistent with spatial randomness, values below 1 indicate positive autocorrelation, and values above 1 indicate negative autocorrelation.

Formula
C_t = \frac{(n-1)\sum_i\sum_j w_{ij}(x_{it}-x_{jt})^2}{2W\sum_i(x_{it}-\bar{x}_t)^2}
3

The per-period values C_t can be reported one by one, which shows how the pattern changes over time. They can also be combined into a single panel summary, for example by averaging the C_t values across periods. Such a summary is not a single-period statistic. Its value and its significance depend on the rule chosen and on how dependence across periods is treated. The rule should therefore be stated, and significance should be assessed by a method the analyst also states, rather than by assuming that the single-period null distribution applies.

4

To judge whether a value differs from spatial randomness, compare it with its null expectation, which is 1 under no spatial autocorrelation. Significance can be assessed from an approximation, such as an asymptotic normal distribution for large n, or by permutation of the variable across units, which makes no distributional assumption. The variance and test statistic of the approximation must be taken from the tool documentation or a standard spatial statistics reference. Under permutation, use enough permutations for a stable p-value and report the number used. The test is two-sided because C can depart from 1 in either direction. A rejection indicates that spatial dependence is present and may justify a spatial panel model, but it does not identify where the clusters are.

Common pitfalls

  • Choosing a weights matrix without checking sensitivity: rerun the test with at least two reasonable specifications, and report the result if the conclusion changes.
  • Reading a C value below 1 as proof of a particular spatial process, rather than as evidence of positive global dependence under the chosen weights.
  • Treating the panel summary as a stand-alone result rather than a diagnostic step before estimating a spatial panel model.
  • Confusing global autocorrelation with local clustering: follow up a global result with LISA or Local Geary's C to see where clusters occur.

Frequently asked questions

How does Panel Geary's C differ from Panel Moran's I?

Both are global measures of spatial autocorrelation computed from the same weights matrix, but their numerators differ. Moran's I uses cross-products of deviations from the mean for neighbouring pairs, while Geary's C uses squared differences between the values of neighbouring units. Because they weight information differently, reporting both gives a fuller diagnostic.

What does a Geary's C value of 0.7 mean in a panel context?

A value below 1 indicates positive spatial autocorrelation: neighbouring units tend to be more similar than would be expected under spatial randomness. If 0.7 is a per-period value or a panel summary, it suggests positive dependence in those periods. The further the value is from 1, the stronger the departure from randomness, but a formal test is needed to judge significance.

How should I choose the spatial weights matrix?

Common options are queen or rook contiguity, k-nearest neighbours, or inverse-distance weights. Row-standardise the matrix as the page specifies, and run sensitivity checks with at least two specifications. If conclusions change substantially, report both and discuss the spatial structure of the data.

Can I use Panel Geary's C with an unbalanced panel?

Computing per-period values is possible for periods and units with complete data, but the aggregation across periods becomes less straightforward when units enter and leave the panel. Missing units must be handled explicitly, for example by restricting each period to the units observed in it, and the rule should be reported with the results.

What do I do if Panel Geary's C rejects the null of no spatial autocorrelation?

Rejection is a diagnostic signal, not a final result. It indicates that the independence assumption behind standard panel estimators may not hold. The next step is to fit a spatial panel model, such as a Spatial Lag Panel Model or a Spatial Error Panel Model, that accounts for the spatial dependence explicitly.

Related methods

Sources

  1. Geary, R. C. (1954). The contiguity ratio and statistical mapping. The Incorporated Statistician, 5(3), 115-145.

    Open publication reference
  2. Elhorst, J. P. (2014). Spatial Econometrics: From Cross-Sectional Data to Spatial Panels. Springer.

    ISBN: 978-3642403408