---
title: Spatial Quantile Treatment Effects (SQTE)
url: https://www.emergentmind.com/topics/spatial-quantile-treatment-effects-sqte
type: topic
---

# Spatial Quantile Treatment Effects (SQTE)

Spatial Quantile Treatment Effects (SQTE) are location-specific causal contrasts that describe how a treatment shifts the conditional outcome distribution across quantiles and across space. In the formulation introduced in “Causal Spatial Quantile Regression” [2509.02294], SQTE are defined for spatially indexed observational data in the Rubin–Neyman potential-outcomes framework, with outcome \(Y\), binary treatment \(T\), covariates \(X\), and spatial location \(s=(s_1,s_2)^T\). The central estimand is the spatially varying \(\tau\)-th quantile treatment effect
\[
\Delta(\tau,s)=\mathbb{E}_{X}\{q^1(\tau\mid X,s)-q^0(\tau\mid X,s)\},
\]
where \(q^1(\tau\mid X,s)\) and \(q^0(\tau\mid X,s)\) are the conditional \(\tau\)-quantiles of the potential outcomes under treatment and control, respectively. This construction generalizes standard quantile treatment effects by explicitly allowing causal effects to vary with location, and it generalizes mean-based spatial causal estimands by targeting the full conditional outcome distribution rather than only its expectation [2509.02294].

## 1. Conceptual definition and estimands

The spatial causal setup uses observed data
\[
\mathcal{O}=(Y,T,X^T,s^T)^T,
\]
with \(Y\in\mathbb{R}\), \(T\in\{0,1\}\), \(X\in\mathbb{R}^d\), and \(s\in S\subset\mathbb{R}^2\). The observed conditional quantile function is written as
\[
q(\tau\mid T,X,s)=F^{-1}(\tau\mid T,X,s),
\]
where \(F(\cdot\mid T,X,s)\) is the conditional CDF of \(Y\) given \((T,X,s)\). For the two treatment regimes,
\[
q^1(\tau\mid X,s):=q(\tau\mid T:=1,X,s),\qquad
q^0(\tau\mid X,s):=q(\tau\mid T:=0,X,s).
\]
The SQTE estimand is then
\[
\Delta(\tau,s)=\mathbb{E}_{X}\{q^1(\tau\mid X,s)-q^0(\tau\mid X,s)\},
\]
or equivalently
\[
\Delta(\tau,s)=\int_{\mathcal{X}}\{q^1(\tau\mid X,s)-q^0(\tau\mid X,s)\}\,\nu(dX),
\]
for a probability measure \(\nu\) on \(\mathcal{X}\) [2509.02294].

A second object is the spatially averaged QTE,
\[
\Delta(\tau)=\mathbb{E}_{s}\Big[\mathbb{E}_{X}\{q^1(\tau\mid X,s)-q^0(\tau\mid X,s)\}\Big],
\]
which averages the location-specific distributional effect over the spatial domain. This separation between \(\Delta(\tau,s)\) and \(\Delta(\tau)\) is substantive: the former is a local causal surface over quantile level and geography, whereas the latter is a global summary.

SQTE differ from standard non-spatial QTE because they retain explicit dependence on \(s\). Standard QTE typically take forms such as
\[
Q_{Y(1)}(\tau)-Q_{Y(0)}(\tau)
\quad\text{or}\quad
\mathbb{E}_X\{q^1(\tau\mid X)-q^0(\tau\mid X)\},
\]
without spatial indexing. SQTE also differ from the spatial average treatment effect
\[
\text{ATE}(s)=\mathbb{E}\{Y(1)-Y(0)\mid S=s\},
\]
because ATE targets a mean contrast, whereas SQTE target contrasts at each quantile of the outcome distribution. In the simulation design of [2509.02294], the true heterogeneous SQTE is
\[
\Delta(\tau,s)=2s_1(\tau-1/2)^2,
\]
which makes the dependence on both longitude and quantile explicit.

## 2. Identification, causal assumptions, and the role of space

Identification in the proposed framework rests on four stated assumptions. The first is SUTVA, defined as one version of the treatment and no interference. In particular, spatial interference is ruled out: a unit’s outcome at location \(s\) depends only on its own treatment, not on neighbors’ treatments. The second is consistency, so that if \(T_i=t\), then \(Y_i=Y_i(t)\). The third is ignorability, namely treatment assignment is independent of the potential outcomes given the confounders. The fourth is positivity:
\[
0<\Pr(T=1\mid X=x)<1
\]
for all \(x\) in the support of \(X\) [2509.02294].

Under these assumptions, the conditional quantile functions \(q^t(\tau\mid X,s)\) are identified from observed data, and so is
\[
\Delta(\tau,s)=\mathbb{E}_{X}\{q^1(\tau\mid X,s)-q^0(\tau\mid X,s)\}.
\]
The object is therefore a location-specific, covariate-averaged quantile treatment effect: at each spatial location, it describes how treatment shifts the entire conditional outcome distribution across quantiles.

The treatment of space in this framework is simultaneously structural and restrictive. It is structural because spatial location enters the conditional distribution directly and is allowed to modify the causal effect surface. It is restrictive because the identification argument excludes spatial interference. This is a central point of interpretation: the framework addresses spatial heterogeneity of causal effects, not causal spillovers across locations. A common misconception is to treat any spatial causal model as automatically accommodating interference. In the SQTE formulation of [2509.02294], that is not the case.

The paper nevertheless recognizes that ignorability is “usually violated and untestable” in observational settings, especially when unobserved variables are spatially correlated. It therefore distinguishes between identification under no hidden confounders and estimation under possible spatial hidden confounding. This distinction is methodologically important: SQTE are identified under standard causal assumptions, but the estimation strategy is explicitly designed to mitigate violations generated by unobserved spatial structure [2509.02294].

## 3. Semiparametric deep spatial quantile regression

The proposed estimator is built on a semiparametric neural network-based conditional quantile regression model. Rather than fitting separate quantile regressions at each \(\tau\), the method models the full conditional density and CDF:
\[
f(y\mid T,X,s)=\sum_{k=1}^K \theta_k(T,X,s)M_k(y),
\]
\[
F(y\mid T,X,s)=\sum_{k=1}^K \theta_k(T,X,s)I_k(y),
\]
where \(M_k(y)\) are second-order \(M\)-spline basis functions on \([0,1]\), \(I_k(y)\) are the corresponding second-order \(I\)-splines, and the mixture weights satisfy nonnegativity and simplex constraints. The conditional quantile function is then obtained by inversion,
\[
q(\tau\mid T,X,s)=F^{-1}(\tau\mid T,X,s).
\]
This representation is associated in the paper with SPQR and is combined with DeepKriging-style spatial features [2509.02294].

The neural network maps \((T,X,s)\) and spatial basis inputs to the mixture weights through an \(L\)-layer feed-forward architecture with softmax output,
\[
\theta_k(T,X,s)=
\dfrac{\exp\{z_k^{(L)}(T,X,s,\mathcal{W})\}}
{\sum_{k=1}^K \exp\{z_k^{(L)}(T,X,s,\mathcal{W})\}}.
\]
Spatial information is enriched by multi-resolution radial basis functions \(\phi(s)\) constructed from compactly supported Wendland basis functions,
\[
\varphi(h)=(1-h^6)(35h^2+18h+3)/3,\quad h\in[0,1],\qquad \varphi(h)=0\ \text{otherwise}.
\]
At resolutions \(m=1,\dots,M\), these bases are formed around grid nodes \(u_j\) with bandwidths \(\delta_1>\delta_2>\cdots>\delta_M\), and concatenated to the treatment-covariate inputs. The resulting model uses \(\theta_k(T,X,s,\phi(s))\), which permits multi-resolution spatial structure in the conditional quantile surface [2509.02294].

SQTE estimation proceeds by plug-in. After fitting the model and obtaining \(\hat q(\tau\mid T,X,s)\), one computes
\[
\hat q^1(\tau\mid X_i,s_p):=\hat q(\tau\mid T:=1,X_i,s_p),\qquad
\hat q^0(\tau\mid X_i,s_p):=\hat q(\tau\mid T:=0,X_i,s_p),
\]
then averages their difference at each location:
\[
\hat{\Delta}(\tau,s_p)=\frac{1}{n_p}\sum_{i=1}^{n_p}
\{\hat q^1(\tau\mid X_i,s_p)-\hat q^0(\tau\mid X_i,s_p)\},
\]
and finally averages over locations to obtain
\[
\hat{\Delta}(\tau)=\frac{1}{P}\sum_{p=1}^P \hat{\Delta}(\tau,s_p).
\]
The paper does not present formal asymptotic theory for \(\hat{\Delta}(\tau,s)\); uncertainty is instead evaluated through repeated simulations and bootstrap-based confidence intervals in the empirical application [2509.02294].

A notable feature of this construction is that quantiles are induced by a proper conditional CDF representation. This contrasts with classical quantile regression workflows that solve separate check-loss problems at each quantile. In non-spatial linear quantile regression, inference is often complicated by the need to estimate conditional densities at the quantile. “Quantile-Regression Inference With Adaptive Control of Size” develops a variance estimator for Wald-type tests whose size distortion decays at the same rate as an infeasible benchmark with known conditional densities [1807.06977]. That result is not an SQTE estimator, but it is directly relevant to downstream heterogeneity testing when spatial QTE are represented in linear quantile models.

## 4. Spatial hidden confounding and neighborhood adjustment

A major concern in spatial causal inference is unobserved spatial confounding: latent spatial variables may affect both treatment assignment and outcome, thereby violating ignorability. In the hidden-confounding simulation scenario of [2509.02294], the paper introduces hidden variables \(H_1(s),H_2(s),H_3(s)\) that affect both the outcome quantile and the treatment probability. For example, treatment is assigned according to
\[
p(s):=\text{expit}\{5H_3(s)\},\qquad T(s)\sim\text{Ber}(p(s)),
\]
while the outcome quantile includes hidden terms
\[
3H_1^2(s)+3H_2(s)+5H_3(s).
\]
When these variables are unobserved, residuals and estimated SQTE may exhibit structured spatial bias [2509.02294].

To address this, the paper proposes a neighborhood spatial confounding adjustment. The key assumption is that hidden confounders are smoother in space than the treatment. If they vary slowly, then within a sufficiently small neighborhood around a target location they are approximately constant. A local fit can then absorb the hidden confounder as a neighborhood-specific intercept or random effect. Operationally, the procedure chooses a central location and a radius containing approximately a fixed proportion of observations, subsets the data to that neighborhood, fits the same deep spatial quantile model locally, and then uses the estimated coefficients or weights from the local fit to construct predictions under \(T=1\) and \(T=0\) across the entire spatial domain [2509.02294].

The effect of this adjustment is heterogeneous across model classes. In Scenario 3, it reduces log(RMISE) for predicted responses and SQTE in models without spatial basis functions, and yields more spatially homogeneous and smaller RMISE maps. By contrast, when the model already includes rich multi-resolution spatial basis functions, additional local adjustment provides limited gains because the network can already absorb much of the spatial structure. The resulting interpretation is precise: the neighborhood adjustment is particularly useful when the base regression model is not highly spatially flexible, and less crucial when rich spatial features are already present [2509.02294].

This suggests a broader methodological point. Spatial confounding can be attacked either by making the outcome model highly expressive in spatial coordinates and basis functions, or by introducing localized estimation that treats slowly varying latent structure as approximately constant. The paper shows these are not identical strategies, but they may become close substitutes when spatial representation is sufficiently rich.

## 5. Simulation evidence and substantive empirical findings

The simulation study in [2509.02294] uses a \(20^2=400\) location grid on \([0,1]^2\), with \(1000\) observations at each location and six observed covariates, three non-spatial and three spatial Gaussian processes. It evaluates five model specifications ranging from covariates only to covariates plus multi-resolution spatial basis functions with up to three resolutions. Performance is assessed by root mean integrated squared error (RMISE) for predicted responses and estimated SQTE, together with spatial RMISE maps at \(\tau=0.05\).

Across the unconfounded and observed-confounding scenarios, models with spatial basis functions perform substantially better for prediction than models without them, reflecting the importance of spatial random effects. SQTE estimation exhibits small RMISE overall, with better performance around \(\tau\approx 0.5\) and larger errors in the tails. In the observed-confounding case, directly including the confounders \(X_1\) and \(X_6\) is sufficient for performance similar to the unconfounded case, which the paper interprets as evidence that the neural network regression can absorb confounding when all relevant covariates are observed [2509.02294].

In the hidden-confounding scenario, the challenge is sharper. Without adjustment, RMISE for both prediction and SQTE is larger than in the first two scenarios. Model 5, which uses the richest spatial basis expansion, recovers SQTE almost as well as in the unconfounded case, while other models exhibit larger SQTE errors. With neighborhood adjustment, Models 1 and 2 improve notably, and their spatial error patterns become more homogeneous. Overall, the simulations support the claim that the deep spatial quantile regression plus plug-in SQTE estimator can accurately recover spatially heterogeneous distributional treatment effects, including under hidden spatial confounding when spatial structure is modeled effectively [2509.02294].

The empirical application studies maternal smoking and newborn birth weight in North Carolina using births from 1988–2002 for first-time white mothers, with approximately \(433{,}558\) observations across 691 distinct ZIP code centroids. The outcome is birth weight in grams, and the treatment is maternal smoking during pregnancy. For each model, the paper estimates location-specific SQTE and a spatially averaged QTE. The main result is stable across models and quantiles: maternal smoking has a negative effect on birth weight, and the negative effect is more pronounced in lower quantiles, particularly around \(\tau=0.05\). The mapped estimates of \(\hat{\Delta}(0.05,s)\) further show that negative effects are widespread but vary in intensity across regions; under richer spatial modeling, southern and northeastern North Carolina exhibit less homogeneous patterns, though the estimated effects remain negative [2509.02294].

A common misunderstanding in interpreting quantile effects is to equate stronger effects in lower quantiles with larger effects for a fixed subgroup of “low-outcome” individuals. The paper’s result is distributional rather than rank-invariant in that sense: it shows larger treatment-induced shifts in lower conditional birth-weight quantiles, not permanent individual rank membership. The practical implication drawn in the paper is that interventions to reduce maternal smoking could yield the largest gains in regions and quantiles where estimated SQTE are most negative.

## 6. Relation to adjacent literatures, alternative formulations, and limitations

The SQTE framework in [2509.02294] is positioned at the intersection of four literatures: causal quantile treatment effects, spatial causal inference, spatial quantile regression, and machine learning for heterogeneous treatment effects. The paper characterizes itself as the first integrated framework for causal spatial quantile regression, combining SPQR-type mixture-spline quantile modeling, DeepKriging-style spatial basis functions, and a neighborhood spatial confounding adjustment [2509.02294].

Several adjacent contributions clarify what SQTE are and are not. “A Unified Approach for Estimating Various Treatment Effects in Causal Inference” formulates ATE, QTE, and DTE as statistical functionals of counterfactual CDFs and shows how IPW-based CDF estimators can be plugged into these functionals [2503.22616]. That framework is not spatial by default, but it directly suggests a conditional-CDF route to spatial QTE by replacing global counterfactual distributions with location-specific or spatially smoothed counterfactual CDFs. This suggests a functional interpretation of SQTE that is complementary to the conditional quantile regression route of [2509.02294].

A different neighboring line is dynamic spatial quantile modeling without explicit causal identification. “Bayesian inference for dynamic spatial quantile models with interactive effects” specifies conditional quantiles in a spatial panel with contemporaneous spatial lags, lagged spatial lags, dynamics, and interactive effects [2503.00772]. The paper does not define treatment effects formally, but it shows how a regressor such as a Covid dummy can be interpreted as a quantile-specific, unit-specific effect that propagates through spatial and temporal multipliers. This is not the same estimand as the location-specific covariate-averaged SQTE of [2509.02294], but it is closely related in spirit and useful for panel settings with strong cross-sectional dependence.

An even more distinct approach appears in “Heterogeneous Treatment Effects for Networks, Panels, and other Outcome Matrices,” which introduces spectral treatment effects as a matrix analog of QTE based on eigenvalue differences of treatment-specific outcome matrices [2205.01246]. These spectral treatment effects are designed for matrix-valued outcomes with spillovers and interference. They are therefore conceptually different from SQTE as defined in [2509.02294], which assume no interference and scalar outcomes, but they show that “quantile-like” causal heterogeneity in spatial or network settings can be formalized in ways other than location-indexed scalar quantiles.

The limitations of the current SQTE framework are explicit. The paper provides no formal asymptotic theory for the plug-in estimator. Inference is empirical rather than fully semiparametric. SUTVA and no interference may be questionable in many spatial applications. The neighborhood adjustment relies on hidden confounders being smoother than the treatment; if hidden confounders vary at similar or finer spatial scales, effectiveness may be limited. Estimation accuracy deteriorates in extreme quantiles, as in standard quantile regression. Computationally, large neural networks with spline mixtures and spatial basis expansions are intensive, and performance depends on choices such as the number of spline components \(K\), network depth \(L\), and spatial resolutions \(M\) [2509.02294].

Taken together, these points locate SQTE as a specific causal estimand and estimation program rather than a generic label for any spatially heterogeneous distributional effect. In the current literature, the term most precisely refers to location-specific, covariate-averaged treatment effects on conditional outcome quantiles under a no-interference potential-outcomes framework, estimated in [2509.02294] through semiparametric deep spatial quantile regression with optional local adjustment for smooth hidden spatial confounding.

Source: https://www.emergentmind.com/topics/spatial-quantile-treatment-effects-sqte