Spatial Doubly Robust Estimation

Statistics
Introduced by
Extension of Robins, Rotnitzky & Zhao (1994) doubly robust framework to spatial settings; developed in spatial epidemiology and econometrics literature
Year
2010s–2020s
Type
Semiparametric causal estimator
Family
Quasi-experimental / causal inference

What does it do?

Spatial doubly robust estimation is a semiparametric causal method that combines a propensity model and an outcome regression in the augmented inverse probability weighting (AIPW) formula, so the estimate remains consistent if either model is correctly specified.

It extends AIPW to geo-referenced data by allowing location and spatially structured terms in both models and by using variance estimators that account for correlation between nearby units. The estimator's validity also assumes that one unit's treatment does not affect the outcomes of other units.

The intuition behind the method

Doubly robust estimators such as AIPW are consistent if either the propensity model or the outcome model is correctly specified. When units are distributed across space, neighbouring units often share confounders or have correlated errors. Standard AIPW variance estimates assume independent units, so in this setting they can be too narrow. Spatial DR adds spatial terms to the nuisance models and uses variance estimators that respect spatial correlation. The guarantee holds only if units do not interfere, so spatial spillovers must be handled separately.

History

The doubly robust framework underlying this method is commonly traced to Robins, Rotnitzky and Zhao (1994), a reference that is not among this page's citations. The spatial extension is developed in the spatial epidemiology and econometrics literature, and no single originator for it is established. Papadogeorgou, Mealli and Zigler (2019) develop estimands and estimators for interfering units under cluster-level treatment allocation. That work addresses interference and is not a spatial doubly robust estimator; it is relevant only to the interference discussion.

When to use it

Choose this method when your data are geo-referenced units with a binary treatment and an outcome, when treatment assignment or the outcome shows spatial clustering that could confound a naive comparison, and when you cannot be confident that either nuisance model is correctly specified. The AIPW formula on this page is written for a binary treatment, so it does not directly cover continuous or multi-level treatments. Do not use it when units can reasonably be treated as independent, because a standard AIPW estimator is then sufficient. Also avoid it when interference or spillovers between nearby units are substantial and not modelled, or when the sample is too small to fit both a propensity model and a spatial outcome regression stably.

Limitations and considerations

  • Both the propensity and the outcome models need spatial terms, so the number of specification choices is larger than for a non-spatial AIPW estimator.
  • The spatial variance estimator involves a bandwidth or block-size choice, and inference can depend on it.
  • Cross-fitting should use spatial blocks rather than random splits, because random splits can leak spatial information between folds.
  • If an unobserved spatial variable drives both treatment and outcome, both nuisance models can be misspecified together and the doubly robust property does not protect the estimate.
  • Spatially varying coefficient and Gaussian process outcome models can be slow on large datasets unless approximations are used.

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

Strengths

  • The AIPW formula adds inverse-weighted residual corrections to the outcome-model contrast, so a misspecified propensity model can be offset by a well-specified outcome model, and the reverse.
  • Location and spatially lagged covariates can enter both nuisance models, so spatially patterned confounding can be addressed in the propensity and the outcome components rather than in only one.
  • Spatial folds in cross-fitting allow flexible machine-learning nuisance models while keeping held-out units spatially separated from training units.
  • The variance step is designed to account for correlation among nearby units, which avoids the narrow intervals that independent-unit estimators give for clustered data.

Applications

  • Estimating the causal effect of local air pollution on respiratory hospitalizations across spatially clustered neighbourhoods.
  • Evaluating the impact of a regional economic development policy on employment outcomes when nearby regions serve as controls.
  • Assessing the effect of proximity to industrial facilities on property values or health outcomes in environmental justice research.
  • Measuring the causal effect of urban green space or land-use change on heat outcomes, where the analysis must state whether spillovers between neighbouring areas are assumed absent or modelled explicitly.
  • Estimating treatment effects in agricultural field trials where plots exhibit spatial gradients in soil quality or moisture.

How it works

How it works

1

The propensity model estimates the probability of treatment given covariates and location. Spatial coordinates or spatially lagged covariates can be included. The fitted values e_i serve as the denominators of the weights 1/e_i for treated units and 1/(1 - e_i) for control units. The AIPW formula uses these weights unstabilized, so units with propensities close to 0 or 1 contribute large terms. Check overlap by comparing the propensity distributions of treated and control units across space, and report extreme-weight diagnostics. Stabilization or trimming changes the estimand and should be reported when used.

Formula
e(\mathbf{x}_i, \mathbf{s}_i) = P(A_i = 1 \mid \mathbf{X}_i = \mathbf{x}_i, \mathbf{S}_i = \mathbf{s}_i)
2

Outcome regressions are fitted in the treated and control groups to predict each unit's outcome under each treatment level. Spatially varying coefficient models, geographically weighted regression and models with spatial random effects are candidates. Including location allows the predicted contrast between the two treatment levels to vary across space.

Formula
\mu_a(\mathbf{x}_i, \mathbf{s}_i) = E[Y_i \mid A_i = a,\, \mathbf{X}_i,\, \mathbf{S}_i]
3

The estimator averages the outcome-model contrast between the two predicted treatment levels and adds one inverse-weighted residual correction for treated units and one for control units. If the outcome model is correct, the residual corrections have mean zero, so the estimator targets the effect without bias from the weights. If the propensity model is correct, the estimator is consistent regardless of the outcome model, because the residual corrections remove the outcome model's bias. In either case the estimator targets the average treatment effect only when at least one of the two models is correct.

Formula
\hat{\tau}_{DR} = \frac{1}{n}\sum_{i=1}^{n}\left[\hat{\mu}_1(\mathbf{x}_i,\mathbf{s}_i) - \hat{\mu}_0(\mathbf{x}_i,\mathbf{s}_i) + \frac{A_i(Y_i - \hat{\mu}_1)}{\hat{e}_i} - \frac{(1-A_i)(Y_i - \hat{\mu}_0)}{1 - \hat{e}_i}\right]
4

Three approaches handle spatial dependence among residuals: spatially clustered standard errors, HAC-type variance estimators and Bayesian spatial random effects. Cross-fitting over spatial folds, instead of random folds, keeps held-out units spatially separated from the units used to fit the nuisance models. No formula for these adjustments is given here, so implement them following the documentation of the chosen software and state the exact estimator used.

5

Nearby units carry correlated information, so variance estimators that assume independence understate uncertainty. Sandwich estimators with spatial blocking and bootstrap procedures that preserve spatial correlation can form confidence intervals for the causal effect. These estimators rely on assumptions about the spatial dependence structure and on enough independent spatial clusters, so their validity should be checked through sensitivity analysis rather than assumed. The block size or bandwidth affects the interval, so report how the interval changes across plausible values.

Common pitfalls

  • Using standard, non-spatial AIPW variance estimators when units are spatially clustered gives overconfident intervals with inflated rejection rates.
  • Ignoring spatial spillovers (interference) breaks the assumption that one unit's outcome depends only on its own treatment, so the estimator targets an undefined estimand.
  • Splitting data for cross-fitting with random folds rather than spatial blocks can leak spatial information across folds, which may make nuisance validation optimistic. Spatial blocks are the safer default.
  • Reading the doubly robust property as a guarantee of validity when both nuisance models share an omitted spatial confounder, which leaves both misspecified.
  • Because the formula uses unstabilized weights 1/e_i and 1/(1 - e_i), propensities near 0 or 1 produce very large terms. Small samples with spatially complex propensity models make such extreme values more likely, and they inflate the variance.

Frequently asked questions

How does spatial doubly robust estimation differ from standard AIPW?

Standard AIPW assumes independent units and uses non-spatial propensity and outcome models with conventional variance estimators. Spatial DR incorporates geographic covariates or spatially-varying models into both nuisance components and uses variance estimators, such as spatial HAC or clustered bootstrap, that are designed for autocorrelated data. Their validity depends on the dependence structure and on enough independent spatial clusters.

What does 'doubly robust' mean in this context?

The estimator is consistent for the average treatment effect if either the propensity score model or the outcome regression model is correctly specified, but not necessarily both. This gives protection against misspecification of one component, though it does not protect against misspecification of both simultaneously.

How should I partition data for cross-fitting in a spatial setting?

Use spatial folds, meaning contiguous geographic blocks rather than random splits, so that held-out observations are spatially separated from the training data. Random splits can allow spatial leakage across folds, which may make nuisance validation optimistic and weaken the cross-fitting argument.

What happens if there is spatial interference (spillovers)?

Standard SUTVA is violated and the estimator targets an undefined individual treatment effect. You should clearly define your estimand (e.g., direct vs. spillover effects) and use an estimation framework that explicitly models interference, such as network causal inference or partial population experiments.

How do I choose the bandwidth for a spatial HAC variance estimator?

Common choices are based on the empirical range of spatial autocorrelation in the residuals (e.g., from a variogram), or by data-driven bandwidth selection methods analogous to those used in time-series HAC estimation. Sensitivity analysis across plausible bandwidth values is strongly recommended.

Related methods

Sources

  1. Papadogeorgou, G., Mealli, F., & Zigler, C. M. (2019). Causal inference with interfering units for cluster and population level treatment allocation programs. Biometrics, 75(3), 778-787.

    Open DOI reference
  2. Kennedy, E. H. (2016). Semiparametric theory and empirical processes in causal inference. In H. He, P. Wu, & D.-G. Chen (Eds.), Statistical Causal Inferences and Their Applications in Public Health Research (pp. 141-167). Springer.

    Open publication reference