Space-Time Spatial Autocorrelation

Statistics
Introduced by
Cliff & Ord; extended by Anselin and others
Year
1981–1992
Type
Spatial autocorrelation statistic
Family
GIS / spatial

What does it do?

Space-Time Spatial Autocorrelation extends spatial autocorrelation measures, most notably Moran's I, to data observed across both geographic units and time periods.

It tests whether locations that are close in space and in time tend to have similar attribute values, which can reveal clusters, trends or anomalies that purely spatial or purely temporal analyses would miss.

The intuition behind the method

Consider flu case counts recorded county by county, week by week. A purely spatial analysis asks whether high-count counties sit next to each other within one week. Space-time autocorrelation asks whether counties that are neighbours and also close in time share similar counts. Folding time into the weight structure can show whether a cluster persists, moves or emerges. A significant result shows that dependence exists in both dimensions, but it does not by itself establish that the pattern is a propagating wave.

History

Space-time spatial autocorrelation builds on established measures of spatial autocorrelation, such as global and local Moran's I, and extends them by placing a joint weight structure over locations and time. Related work on significance testing for correlation between spatially autocorrelated processes, such as Clifford, Richardson and Hemon (1989), showed that spatial dependence reduces the effective sample size. Software for spatial autocorrelation, including GeoDa, the Python PySAL library and the R package spdep, provides related tools, and the space-time options should be checked in each package.

When to use it

Use space-time spatial autocorrelation when you have georeferenced observations recorded at multiple time points and you suspect that the spatial clustering structure changes over time or that temporal propagation (e.g., disease spread, crime diffusion, economic contagion) is present. It is especially valuable for public health surveillance, environmental monitoring, and regional economics. Do not apply it when observations are truly independent across time, when the time series is very short (very short series give unstable estimates of the temporal structure), or when spatial units change their boundaries across periods, as these conditions invalidate the weight matrix assumption.

Limitations and considerations

  • Requires balanced panel data — the same set of spatial units observed at each time period.
  • The choice of spatial weight matrix (contiguity vs. distance, bandwidth) and temporal lag window strongly influences results, and there is no universally optimal selection rule.
  • Computational cost scales with n×T, making large space-time grids (e.g., satellite pixels × daily observations) expensive.
  • The statistic detects linear association only; nonlinear or threshold-based space-time dependence may be missed.

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

Strengths

  • Captures spatial dependence and temporal dynamics in a single framework, using one joint weight structure rather than separate period-by-period analyses.
  • Can detect emerging clusters or diffusion patterns that cross-sectional analyses of each period would not connect across time.
  • Local statistics pinpoint the specific location-period combinations that contribute most to the global signal.
  • Permutation inference gives a pseudo p-value from a reference distribution built from the data themselves, so no normal-theory approximation of the statistic's null distribution is needed; its validity still depends on the exchangeability assumption described under inference and pitfalls.
  • Implementations exist in established spatial software such as GeoDa, the Python PySAL library and the R package spdep, although the availability of space-time options should be checked in each package.

Applications

  • Epidemiological surveillance: tracking the spatiotemporal spread of infectious diseases across counties or health districts over weekly or monthly periods.
  • Environmental science: detecting clustering of air-quality or temperature anomalies across monitoring stations through seasonal cycles.
  • Criminology: identifying crime hot-spots that migrate or intensify across neighbourhoods over time.
  • Regional economics: analysing whether economic shocks or growth clusters diffuse spatially across regions over years.
  • Urban planning: monitoring how land-use change or housing-price appreciation propagates through city districts across development cycles.

How it works

How it works

1

A joint weight matrix is built from a spatial weight matrix and a temporal weight matrix, combined here through a Kronecker product (W = W_space ⊗ W_time). A pair of location-period units receives non-zero weight only when both its spatial and its temporal weights are non-zero, so the temporal lag window determines which period pairs can contribute to the statistic.

Formula
W = W_{space} \otimes W_{time}
2

The statistic multiplies the deviations from the mean for every pair of location-period units, weights each product by the joint space-time weight, sums over all pairs, and divides by the total squared deviation, with the factor n/S0 applied. Here n is the number of location-period observations, w_ij(st) is the joint space-time weight between units i and j taken from W = W_space ⊗ W_time, and S0 is the sum of all joint weights, which normalises the statistic. Positive values indicate that units close in space and time share similar deviations from the mean, negative values indicate dissimilar deviations, and values near zero indicate little dependence. The statistic is not strictly confined to the interval from -1 to 1, so magnitude should be judged against the permutation reference distribution rather than fixed cut-offs.

Formula
I_{ST} = \frac{n}{S_0} \frac{\sum_i \sum_j w_{ij}(st)(y_i - \bar{y})(y_j - \bar{y})}{\sum_i (y_i - \bar{y})^2}
3

Significance is assessed by permutation. Values are randomly reshuffled across the space-time lattice, the statistic is recomputed for each reshuffle, and the observed value is compared with this reference distribution to give a pseudo p-value. The reshuffling null assumes that values are exchangeable under no space-time structure. Under strong autocorrelation or a drifting mean or variance, a small p-value can reflect the dependence or the trend itself rather than the pattern being tested, so results should be checked with sensitivity analyses or alternative null models.

4

Local indicators of space-time association decompose the global statistic into contributions from individual location-period units. Each local value is built from the terms of the global sum that involve that unit, in the same way that local Moran's I decomposes the global index, and it flags local hot-spots or cold-spots that persist or emerge over time. Local values are usually tested by conditional permutation, in which the value at the focal unit is held fixed while the other values are reshuffled. Each local contribution is a separate test, so multiple-testing corrections matter, and results are mapped to show their geographic footprint.

Common pitfalls

  • Ignoring boundary effects or edge correction: spatial units at the periphery have fewer neighbours, which biases the weight matrix and can inflate or deflate the statistic near edges.
  • Using an arbitrary temporal lag without theoretical justification; running many lags and reporting only the significant one inflates Type I error.
  • Conflating space-time autocorrelation with causation; a detected cluster may reflect a common unmeasured driver rather than genuine spatial contagion.
  • Forgetting to test for stationarity: if the mean or variance of the attribute shifts over time, the statistic conflates trend with autocorrelation.
  • Treating observations as independent when assessing significance. For correlation tests between two spatially autocorrelated processes, Clifford, Richardson and Hemon (1989) show that positive autocorrelation reduces the effective sample size, so tests that ignore this overstate evidence.
  • Trusting the permutation p-value without checking its null: random reshuffling assumes exchangeable values under no space-time structure, so strong autocorrelation or a drifting mean can make a result look significant for reasons other than the pattern being tested. Check sensitivity with alternative null models.

Frequently asked questions

How is space-time Moran's I different from running separate Moran's I for each time period?

Running Moran's I period-by-period treats each cross-section independently and cannot detect whether clusters persist, migrate, or emerge across time. Space-time Moran's I uses a joint weight matrix that links nearby observations in both dimensions simultaneously, so it captures the continuity and propagation of spatial dependence over time.

What software can compute space-time spatial autocorrelation?

Software that implements spatial autocorrelation statistics includes GeoDa (free, GUI-based), the Python PySAL library and the R package spdep. Check each package's documentation for which space-time variants and permutation tests it provides before relying on a specific function.

How do I choose the temporal lag?

The lag should reflect the substantive process: one week for disease spread, one year for economic cycles. Where theory is unclear, compute the statistic at multiple lags and inspect the space-time correlogram, but apply a Bonferroni correction or FDR adjustment to guard against spurious significance.

Can I use this method with irregular time intervals?

Standard implementations assume regular (equally spaced) time intervals because the temporal weight matrix uses fixed lag windows. Irregular intervals require custom weight specifications or continuous-time spatial models such as geostatistical space-time kriging.

What if my spatial units have changed boundaries over time (e.g., census tract redrawing)?

Changing boundaries invalidate the assumption of a fixed spatial weight matrix across periods. You must either interpolate data to a consistent geography using areal interpolation, or restrict the analysis to periods with stable boundaries.

Related methods

Sources

  1. Clifford, P., Richardson, S., & Hemon, D. (1989). Assessing the significance of the correlation between two spatial processes. Biometrics, 45(1), 123–134.

    Open DOI reference
  2. Anselin, L., & Getis, A. (1992). Spatial statistical analysis and geographic information systems. The Annals of Regional Science, 26(1), 19–33.

    Open DOI reference