Spatial Sensitivity Analysis for Causality

Statistics
Introduced by
Anselin (1988) for spatial diagnostics; Reich et al. (2021) for spatial causal frameworks
Year
1988–2021 (developed progressively)
Type
Sensitivity / robustness analysis
Family
Quasi-experimental / causal inference

What does it do?

Spatial sensitivity analysis for causality systematically tests whether a causal estimate derived from georeferenced data holds up as spatial structure, spillovers, and the choice of spatial weights matrix are varied.

Because nearby units often share unmeasured confounders — soil quality, local infrastructure, neighbourhood norms — a naive regression may yield biased causal estimates. This method reveals how fragile or robust a claimed causal effect is to alternative spatial specifications.

The intuition behind the method

When observations are located in space, they tend to be correlated with their neighbours in ways that are hard to measure. A treatment applied in one area may spill over to adjacent areas, or both treated and untreated units may share a latent regional trend. Spatial sensitivity analysis asks: if we model spatial dependence differently (changing which neighbours count, how strongly they are weighted, or what kind of spatial process we assume), does the causal estimate stay stable? If the estimate changes little across many plausible spatial specifications, this is consistent with the causal claim being robust to how spatial dependence is modelled. It does not establish causality, and it cannot rule out confounding that no specification captures. If the estimate collapses or reverses, this may indicate that the original estimate was driven by unmodelled spatial confounding or spillovers.

History

The spatial lag and spatial error specifications used here are covered in Anselin's monograph Spatial Econometrics: Methods and Models (1988), a standard reference for these models. Reich et al. (2021) is a review of spatial causal inference methods for environmental and epidemiological applications. Its abstract covers methods that use spatial structure to address unmeasured confounding, causal analysis under spatial interference, and spatiotemporal and geostatistical extensions, and reports a comparison of methods in a simulation study and an analysis of ambient air pollution and COVID-19 mortality.

When to use it

Use spatial sensitivity analysis whenever you are drawing a causal conclusion from georeferenced data and there is a plausible reason to believe that spatial spillovers or spatially structured confounders are present, for example in environmental epidemiology, regional economics, urban policy evaluation, or agricultural trials. It is particularly important when the treatment itself is spatially assigned (e.g., a policy rolled out in selected districts) because spillover and SUTVA violations are then likely. Do not apply it as a substitute for a valid identification strategy; it supplements, not replaces, methods like DiD or IV. Before running it, the following should hold: a defensible primary identification strategy is already in place; the set of candidate spatial weights matrices is chosen and reported before the results are examined; the chosen spatial model is plausible for the process that generated the data; and the treatment is not itself driven by the spatial process in ways the candidate models do not capture. Whether the weights are row-standardised is also a choice to report. It is not appropriate for truly independent random samples where spatial location carries no information.

Limitations and considerations

  • No single sensitivity analysis can rule out all forms of spatial confounding; the approach depends on the candidate weight matrices actually considered.
  • Spatial weights matrices are inherently arbitrary — there is no gold-standard neighbourhood definition, and the results can be framed to appear robust by choosing a favourable set.
  • The method does not provide a causal estimate on its own; it interrogates an estimate from a primary identification strategy that must already be defensible.
  • Spillover effects (indirect treatment effects) are difficult to disentangle from direct effects without additional structural assumptions.
  • Computationally intensive when the number of candidate spatial specifications is large or when data sets are very large.

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

Strengths

  • Makes the SUTVA (Stable Unit Treatment Value Assumption) risk in spatial data explicit by stating which spillover and neighbourhood assumptions the estimate depends on.
  • Gives a transparent record of how the treatment estimate changes with the choice of spatial weights matrix, a choice that is researcher-driven and therefore needs to be reported.
  • Adds spatial specifications to a regression of the outcome on treatment and covariates, so it does not require a randomised assignment or an instrumental variable.
  • Its data types (areal units, point-referenced measurements and spatial panels) are the ones on which the lag and error specifications are defined.

Applications

  • Estimating the causal health effect of air pollution exposure in environmental epidemiology, where pollution levels are spatially correlated with socioeconomic confounders.
  • Evaluating the impact of place-based economic development policies (enterprise zones, infrastructure investment) on neighbouring as well as target areas.
  • Assessing causal effects of agricultural interventions (fertiliser subsidies, conservation programmes) in rural development studies where farm plots are spatially adjacent.
  • Urban policy analysis of crime reduction programmes, where displacement to adjacent areas is a key threat to causal interpretation.
  • Ecological studies of land-use change and biodiversity outcomes across spatially contiguous habitat patches.

How it works

How it works

1

Start with a baseline non-spatial regression of the outcome on the treatment and covariates, and record the treatment coefficient. This gives a benchmark for what a standard analysis reports, so that later spatial estimates can be compared with it. The benchmark does not by itself measure confounding; it only shows how much the estimate moves once spatial structure is modelled.

Formula
y = X\beta + \varepsilon, \quad \varepsilon \sim N(0, \sigma^2 I)
2

Fit spatial lag and spatial error models that explicitly account for spillovers and correlated disturbances. In the lag model the outcome of unit i depends on neighbours' outcomes (capturing spillovers); in the error model the residuals are spatially correlated (capturing shared unmeasured factors). Both yield alternative estimates of the treatment coefficient. In the lag model, that coefficient is not by itself the total treatment effect, because spillovers feed back through the neighbourhood structure; the estimate should be read through the effect summaries described in estimand-comparison.

Formula
y = \rho W y + X\beta + \varepsilon \quad \text{(spatial lag)} \quad \text{or} \quad y = X\beta + u, \; u = \lambda W u + \varepsilon \quad \text{(spatial error)}
3

Re-estimate the chosen spatial model under multiple candidate spatial weights matrices, for example contiguity-based, k-nearest neighbours with varying k, and distance-decay kernels. Each choice implies a different neighbourhood structure and different implied confounding paths.

4

Compare treatment-effect estimates across all specifications. Compute the range and the standard deviation of the estimates, and check whether zero is included in any confidence interval. No fixed cut-off defines a narrow range, so judge the spread against the size of the effect that matters substantively. For the spatial lag model, compare direct, indirect and total effects with the OLS benchmark rather than raw coefficient differences, because the raw coefficient on the treatment is not the total effect.

Formula
\Delta\hat{\beta}_k = \hat{\beta}_k^{\text{spatial}} - \hat{\beta}_k^{\text{OLS}}
5

Judging how strong an unmeasured, spatially structured confounder would need to be to account for the estimate calls for an omitted-variable-bias style bound adapted to spatial data. The bound and its assumptions have to be specified from a reference, with its formula, before this check is run. The spatial comparisons above do not replace it.

Common pitfalls

  • Testing only one spatial weights matrix and concluding robustness — a convincing analysis must span multiple plausible neighbourhood structures.
  • Confusing spatial autocorrelation in residuals (a nuisance) with spatial confounding (a bias problem); they require different corrections and different interpretations.
  • Ignoring spillovers and reporting only the direct treatment effect, when the policy question may require the total effect including spatial spillovers.
  • Using spatial models to fix an identification failure (e.g., clear selection bias) that spatial adjustments cannot address.
  • Reporting only the most favourable spatial specification without disclosing the full range of results.

Frequently asked questions

Is spatial sensitivity analysis the same as a spatial econometric model?

No. Spatial econometric models (such as the lag and error models) are estimation tools. Spatial sensitivity analysis is a diagnostic practice: you run multiple such models under varying assumptions and compare how the causal estimate changes. The analysis uses spatial models as instruments of interrogation, not as an end in themselves.

How do I choose which spatial weights matrices to vary?

A principled approach is to consider at least three structurally different definitions: contiguity (queen or rook), k-nearest neighbours for several values of k, and a distance-decay kernel. If results are stable across all of these, the evidence for robustness is stronger than if only one type is tested.

What does it mean if my estimate changes a lot across spatial specifications?

It signals that the causal claim is sensitive to how spatial dependence is modelled, which can indicate spatially structured confounding or spillovers that the original identification strategy did not account for. The honest response is to widen your uncertainty statements and seek a stronger identification strategy.

Can I use this method with panel data?

Yes. Spatial-temporal panel models extend the lag and error frameworks to multiple periods. Fixed or random effects can be combined with spatial weights, and the sensitivity analysis proceeds by varying the spatial specification while holding the temporal structure constant.

Does spatial sensitivity analysis prove causality?

No. Like any sensitivity analysis, it can strengthen or weaken confidence in a causal claim, but it cannot establish causality by itself. A credible identification strategy (natural experiment, instrumental variable, randomisation) remains the primary requirement.

Related methods

Sources

  1. Anselin, L. (1988). Spatial Econometrics: Methods and Models. Kluwer Academic Publishers, Dordrecht.

    ISBN: 978-9024737322
  2. Reich, B. J., Yang, S., Guan, Y., Giffin, A. B., Miller, M. J., & Rappold, A. G. (2021). A review of spatial causal inference methods for environmental and epidemiological applications. International Statistical Review, 89(3), 605-634.

    Open DOI reference