- Introduced by
- LeSage & Pace
- Year
- 2009
- Type
- Bayesian spatial regression
- Family
- GIS / spatial
What does it do?
The Bayesian Spatial Durbin Model (BSDM) is a spatial regression that includes both a spatially lagged outcome and spatially lagged covariates, and estimates it with Bayesian inference via Markov Chain Monte Carlo (MCMC) sampling.
It allows endogenous spillovers (neighbours' outcomes) and exogenous spillovers (neighbours' covariates) to be estimated together. Because the output is a full posterior distribution for each parameter, uncertainty about spillover effects can be reported directly.
The intuition behind the method
Imagine that housing prices in a neighbourhood depend not only on local characteristics (lot size, crime rate) but also on prices and characteristics of nearby neighbourhoods. The Spatial Durbin Model captures both channels: the price spillover (neighbours' prices affecting yours) and the covariate spillover (neighbours' school quality affecting your price). The Bayesian version does not report only a single best estimate for each parameter. It delivers a probability distribution, so you can state, conditional on the chosen prior, the model specification and the spatial weights matrix W, that the spatial spillover coefficient is probably between 0.3 and 0.6, and quantify how much weight the data and the priors support. This is useful when maximum-likelihood standard errors may be unreliable, for example in small or highly collinear samples.
History
LeSage and Pace's 2009 book Introduction to Spatial Econometrics presents the framework in which direct and indirect effects are interpreted through partial derivatives, which is the approach used for effect summaries here. Bayesian estimation of the SDM relies on MCMC methods, which make posterior sampling feasible for spatial models of moderate size.
When to use it
Use the Bayesian Spatial Durbin Model when you have georeferenced continuous outcome data, you expect both endogenous (neighbours' outcome) and exogenous (neighbours' covariate) spatial spillovers, and you need uncertainty quantification for the spillover effects. It is useful with small or moderate samples where maximum-likelihood standard errors are doubtful, for example under strong collinearity, when prior knowledge about a parameter such as the sign of a spillover is available, or when comparing specifications with Bayes factors, provided the priors are proper and the comparison is checked for prior sensitivity. Do not use it when no defensible spatial weights matrix can be constructed, when computing resources are very limited because MCMC is slow for large samples, or when theory rules out exogenous spillovers, in which case the Bayesian Spatial Lag Model is the more appropriate choice.
Limitations and considerations
- MCMC sampling is computationally expensive, and the cost grows with the number of spatial units because the log-determinant of (I - rho*W) is evaluated repeatedly during sampling.
- Results depend on the choice of spatial weights matrix W, so sensitivity analysis across several W specifications is needed, which adds effort.
- Interpreting two separate spatial channels (rho and theta) is more complex than interpreting the simpler SAR or SEM models, and the SDM specification must be justified with substantive theory.
- Posterior inference for rho can be sensitive to the prior when the data are sparse or spatially uninformative.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Captures both endogenous outcome spillovers (rho) and exogenous covariate spillovers (theta) in a single model.
- Full posterior distributions replace point estimates, so spillover magnitudes are reported with credible intervals that reflect the priors and the likelihood, which can be more informative than asymptotic standard errors when samples are small.
- Bayesian model comparison (marginal likelihoods, Bayes factors) gives a formal way to compare the SDM with nested alternatives such as the SAR, SEM, and SLX specifications. Bayes factors require proper priors on all parameters and can change substantially with the prior choice, so a prior-sensitivity analysis should precede any conclusion that one specification is preferred.
- Prior information, such as the expected sign of a spatial multiplier from theory, can be incorporated formally.
- The partial-derivative approach yields posterior distributions for direct, indirect, and total effects, so uncertainty about spillover magnitudes is reported for each effect.
Applications
- Regional economics: estimating how GDP growth or unemployment in one region spills over to neighbouring regions.
- Real estate: quantifying how neighbourhood school quality and housing prices jointly affect local property values through spatial multipliers.
- Public health: measuring how disease rates and local health-system capacity in adjacent areas jointly influence county-level health outcomes.
- Environmental economics: assessing transboundary pollution spillovers while accounting for both local emissions policy and neighbouring-region emissions.
- Political science: modelling voter turnout or electoral swings where both neighbouring turnout and neighbouring campaign spending matter.
- Urban planning: evaluating infrastructure investment effects that diffuse spatially through both direct local impact and covariate-driven neighbour effects.
How it works
How it works
The model is written as y = rho*Wy + X*beta + WX*theta + epsilon, where W is a spatial weights matrix, rho is the spatial autoregressive coefficient for the lagged outcome, beta are direct covariate effects, and theta are the spatially lagged covariate coefficients capturing exogenous spillovers.
Formula
y = \rho W y + X\beta + W X\theta + \varepsilon,\quad \varepsilon \sim N(0,\sigma^2 I)
Each parameter receives a prior. The autoregressive coefficient rho must be restricted to the range of values for which the model is well defined for the W used (that is, for which I - rho*W is invertible). This admissible range depends on W and is not in general symmetric about zero, so the prior should be truncated to the admissible range for the specific matrix rather than to a fixed interval such as (-1, 1). Beta and theta typically receive normal priors with large variance (diffuse but proper), and the error variance sigma-squared typically receives an inverse-gamma prior with small shape and scale parameters. Informative priors can be used when domain knowledge, such as the expected sign of a spillover, is available. Because results can depend on these hyperparameters, especially for rho when the data are sparse or spatially weak, re-estimate the model under alternative reasonable prior settings and report whether the conclusions change.
The posterior distribution over (rho, beta, theta, sigma-squared) is proportional to the likelihood times the priors. Analytical integration is not tractable for rho because the likelihood involves the determinant of (I - rho*W), so sampling is required.
MCMC draws from the joint posterior. Implementations commonly use Gibbs sampling for the parameters with tractable conditional distributions. The parameter rho, whose full conditional has no standard form, is updated with a one-dimensional sampler, such as a Metropolis-Hastings step or a grid-based Gibbs step; the exact choice depends on the implementation. After convergence diagnostics such as trace plots and the Gelman-Rubin R-hat are checked, posterior summaries (means, credible intervals) are computed from the retained draws.
Direct, indirect (spillover), and total marginal effects are computed from the posterior draws using the partial-derivative approach of LeSage and Pace (2009). Posterior distributions for these effects, not just point estimates, are reported, enabling uncertainty quantification for policy impact assessment.
Common pitfalls
- Selecting the spatial weights matrix W by trial and error to maximise model fit. W should be chosen on substantive grounds before estimation, not by data-driven optimisation.
- Reporting only posterior means without credible intervals, which removes the main advantage of the Bayesian approach.
- Neglecting convergence diagnostics (R-hat, effective sample size) and reporting results from chains that have not converged.
- Confusing direct and indirect (spillover) effects: the coefficient theta alone does not measure the total marginal spillover effect, so the LeSage-Pace partial-derivative summaries must be used.
- Applying the model to a binary or count outcome without moving to an appropriate Bayesian spatial generalised model.
Frequently asked questions
How does the Bayesian SDM differ from the classical (ML) SDM?
Both estimate the same model structure. The Bayesian version uses MCMC to sample the full posterior, giving credible intervals that depend on the chosen priors and the model, and enabling formal model comparison via Bayes factors. The classical ML version produces point estimates more quickly but relies on asymptotic standard errors that can be misleading when n is small or data are highly collinear.
Why are direct and indirect effects computed separately rather than reading off the beta and theta coefficients?
Because spatial feedback loops mean that a shock to one unit propagates through the entire spatial system. LeSage and Pace (2009) show that the total impact of changing predictor k is captured by the diagonal (direct) and off-diagonal (indirect) elements of the matrix (I - rho*W)^{-1}*(I*beta_k + W*theta_k), averaged across units. Reading beta_k or theta_k alone omits these feedback multipliers and gives incorrect marginal effects.
How do I choose the spatial weights matrix W?
W should reflect the theoretical mechanism through which spatial dependence operates. Common choices are contiguity matrices (queen or rook adjacency), inverse-distance matrices with a distance threshold, or k-nearest-neighbour matrices. The choice must be motivated by theory, and sensitivity analysis across two or three plausible W matrices is strongly recommended.
Can the Bayesian SDM be used with panel data?
Spatial panel extensions of the SDM, with fixed or random effects, exist in the spatial econometrics literature. Bayesian estimation of these models is more computationally demanding than the cross-sectional version, and the conceptual structure is broadly the same. Check the panel-specific literature for the estimator and its implementation before adopting one.
When should I prefer the Bayesian Spatial Lag Model over the Bayesian SDM?
Prefer the simpler SAR (Spatial Lag) model when theory gives no reason to expect that neighbours' covariates, and not just neighbours' outcomes, affect your unit's outcome. If the exogenous spillover channel (theta) is theoretically motivated, the SDM is more appropriate. Bayes factors comparing the two specifications can inform this choice empirically, but only with proper priors and after checking that the result holds across reasonable prior settings.
Related methods
Sources
LeSage, J. P., & Pace, R. K. (2009). Introduction to Spatial Econometrics. CRC Press / Taylor & Francis.
ISBN: 978-1420064247LeSage, J. P. (2014). Spatial Econometric Panel Data Model Comparison Using Heterogeneous Panels with Local Spatial Spillovers. Empirical Economics, 46(1), 193–211.
Open publication reference