Spatial Regression (SAR, SEM, SDM)

Who Are My Neighbors? Bayesian Estimation of Spatial Weight Matrices

Spatial econometrics usually hands you the neighborhood map before you start. This tutorial estimates it from the data instead, using the estimateW package on 90 European NUTS-1 regions, 2001-2019.

Spatial Dynamic Panel Data Modeling in R: Cigarette Demand Across US States

A hands-on guide to spatial panel data modeling using the SDPDmod package in R --- from Bayesian model comparison through static and dynamic SAR/SDM estimation with Lee-Yu bias correction to direct, indirect, and total effect decomposition --- applied to cigarette demand across 46 US states (1963--1992).

Spatial Dynamic Panels with Common Factors in Stata: Credit Risk in US Banking

Estimate spatial dynamic panel models with unobserved common factors using the spxtivdfreg package in Stata --- an IV approach that handles spatial lags, temporal persistence, endogenous regressors, and latent factors simultaneously

Cross-Sectional Spatial Regression in Stata: Crime in Columbus Neighborhoods

Explore the full taxonomy of cross-sectional spatial models --- OLS, SAR, SEM, SLX, SDM, SDEM, SAC, and GNS --- using the Columbus crime dataset in Stata, following Elhorst (2014)

Spatial Panel Regression in Stata: Cigarette Demand Across US States

Model spatial spillovers in panel data using the Spatial Durbin Model (SDM), Wald specification tests, and dynamic extensions with the xsmle package in Stata