Definition
A Space-Varying Regression Model (SVRM) is a Bayesian regression model in which each spatial unit i has its own coefficient vector βi, replacing the global β of a standard linear model. Spatial coherence is enforced by a pairwise difference prior — a multivariate Markov random field (MRF) prior that penalises differences between the coefficient vectors of neighbouring units. The result is a fully Bayesian spatial model in which coefficient heterogeneity is data-driven and regularised by the neighbourhood graph.
Key Ideas
- Global regression μi=xi′β becomes unit-specific μi=xi′βi; the full parameter β=vec(B) where B has n rows β1′,…,βn′.
- The pairwise difference prior penalises deviations between neighbours but imposes no level constraint — it is improper (the graph Laplacian W has all-zero row sums). Proper posteriors follow from proper hyperpriors on κ and η.
- The model nests the standard fixed-effect regression (taking the prior very tight, η→∞) and the unpooled unit-by-unit OLS (taking the prior very diffuse, η→0).
- The neighbourhood weight matrix and prior precision η together determine how strongly coefficients are smoothed across space.
How It Works
Pairwise Difference Prior
Neighbours i∼j are defined by shared borders; wij=1 if i∼j, 0 otherwise, and wi+=∑jwij is the degree. Define the graph Laplacian W with Wii=wi+ and Wij=−wij. The prior is:
f(β∣κ,η)∝κnr/2∣η∣n/2exp{−2κβ′(W⊗η)β}
where η is an r×r precision hyperparameter. The quadratic form equals ∑i∼j(βi−βj)′η(βi−βj). The observational precision κ∼Gamma(νκ/2,νκSκ/2) and η∼Wishart(ν/2,νS/2).
Full Conditional of βi (Scheme A — Single-Site Gibbs)
(βi∣β∂i,κ,η,y)∼N(ai,κ−1Ri)
Ri=(xixi′+wi+η)−1,ai=Ri(xiyi+wi+ηβˉ∂i)
where βˉ∂i=wi+−1∑j∼iwijβj is the weighted neighbour mean. Each draw requires only an r×r matrix inversion. Slow mixing because neighbouring βi's are strongly correlated.
Block Update (Scheme B)
Jointly draw (β,κ) from the Normal-Gamma marginal:
(β,κ∣η,y)∼NG(a,R,ν^κ/2,S^κ/2)
where R=(X′X+W⊗η)−1, a=RX′y, ν^κ=νκ+n. The nr×nr precision matrix X′X+W⊗η is sparse; Rue (2001) sparse Cholesky makes this feasible for n∼102–103.
Analytical Marginalisation (Scheme C)
Integrate out (β,κ) analytically to obtain the marginal π(η∣y), then draw η via Metropolis-Hastings or sampling-importance-resampling (SIR). This is the preferred scheme when r is small: it achieves the lowest chain autocorrelation by eliminating the high-dimensional β from the sampler entirely.
MCMC Efficiency Ranking
C > B > A in effective sample size per unit time. Scheme A is approximately 20× faster per iteration but has much lower acceptance per effective sample. The gap between schemes is smaller than in state-space models because the observation likelihood is highly informative about each βi — single-site updates are less hampered by prior correlation when data overwhelm prior.
Proper Prior Variant
Add a pinning term to break impropriety:
f(β∣κ,η,δ)∝exp{−2κ[i∼j∑(βi−βj)′η(βi−βj)+δi∑(βi−bi)′η(βi−bi)]}
The full conditional becomes (βi∣…)∼N(wiβˉ∂i+(1−wi)bi,(1/(κ(wi++δ)))η−1) where wi=wi+/(wi++δ).
Why It Matters
- Provides a single coherent Bayesian framework for spatially heterogeneous regression; the strength of spatial smoothing is estimated from data rather than fixed.
- Extends the univariate Conditional Autoregressive Model (Besag et al. 1991) to multivariate coefficient vectors — relevant for multivariate outcomes and multi-covariate regressions.
- Amazon land use application (Gamerman-Moreira-Rue 2003): spatially varying model achieves D=0.016 vs. D=0.035 for the fixed-coefficient model (Gelfand-Ghosh 1998 criterion), confirming meaningful coefficient heterogeneity; clear North-South gradient in cropland-to-pasture conversion effects.
- The analytical-marginalisation scheme (C) generalises to non-Gaussian likelihoods as a Laplace approximation framework — a precursor to the INLA approach (Rue-Martino-Chopin 2009).
Open Questions
- Optimal choice of neighbourhood matrix: first-order contiguity ignores distance decay and higher-order proximity; distance-based or economic-flow weights may be more appropriate.
- Performance for large n (thousands of spatial units): the nr×nr block in Scheme B becomes prohibitive; approximate methods (INLA, variational Bayes) may be needed.
- Extension to non-Gaussian responses: Schemes A and B need Metropolis acceptance steps; Scheme C loses analytical tractability.
Related