Local Spatial Lag Model

Statistics
Introduced by
Anselin (global SLM, 1988); local extension via Fotheringham, Brunsdon & Charlton (GWR framework, 2002)
Year
1988 (global); 2000s (local extensions)
Type
Spatially varying regression model
Family
GIS / spatial

What does it do?

The Local Spatial Lag Model extends the global spatial lag model by letting the spatial autocorrelation parameter and the regression coefficients vary across geographic locations.

Instead of one estimate of how neighbouring outcomes influence every observation, it fits location-specific parameters using kernel-weighted local estimation, so the strength of spatial dependence can be mapped across the study region.

The intuition behind the method

In a standard spatial lag model, the pull of neighbouring values on a location is assumed to be the same everywhere. In practice, the strength of spatial spillovers often differs within a study region. Housing prices in a dense urban core may depend more strongly on neighbouring prices than prices on a sparsely settled fringe. The Local Spatial Lag Model allows the autocorrelation parameter to differ from one location to the next, so each place has its own estimated dependence on its neighbourhood. The result is a map showing where spatial dependence is strong, weak, or absent.

History

The global spatial lag model was set out by Anselin in his 1988 book Spatial Econometrics: Methods and Models. The geographically weighted framework for locally varying regression relationships is described by Fotheringham, Brunsdon and Charlton in their 2002 book on Geographically Weighted Regression. The Local Spatial Lag Model combines these two strands. The cited works do not document this combined local specification, and its first formulation is not attributed here.

When to use it

Choose the Local Spatial Lag Model when you have georeferenced data with a continuous outcome, you have a theoretical or empirical reason to expect spatial dependence, and you want to know whether the strength of that dependence differs across the region. It is most relevant when a global spatial lag model fits poorly or when diagnostics suggest that the spillover effect is not constant. Do not use it when the spatial process is plausibly the same everywhere, since a global spatial lag model is then simpler and more stable. Avoid it when the data are too sparse for kernel-weighted estimation at each location, because local estimates will be unstable. If the main concern is that covariate effects vary while spatial lag dependence does not, a local model without a lag term is the more relevant alternative. Before fitting, specify the spatial weights matrix W and state how it is standardised, treat the covariates as exogenous given the spatial lag, and test for spatial non-stationarity rather than assuming it.

Limitations and considerations

  • Each location's estimates rely on kernel-weighted information from nearby observations, so the effective sample behind each local estimate is much smaller than the full dataset.
  • Results depend strongly on the bandwidth, and different selection criteria such as cross-validation and AIC can produce different maps.
  • Local estimates are noisier than the global parameter, and standard inferential theory only approximately describes their sampling behaviour.
  • Local rho and local betas are estimated jointly at each site, which can be unstable when the data do not separate the two effects well.
  • Fitting a separate model at each location is computationally heavy for large datasets.

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

Strengths

  • Estimates a separate autocorrelation parameter at each location, so the map shows where neighbour influence is strong and where it is weak.
  • Combines a spatial lag term with locally varying covariate coefficients, which keeps spillover effects and covariate effects separate in the same model.
  • Produces maps of local rho and local coefficients that can be read directly by non-specialist audiences.
  • Local estimates may point to sub-regions where a targeted intervention would have larger expected spillovers.

Applications

  • Housing markets: mapping where the influence of neighbouring sale prices on a property's price is strongest.
  • Regional economics: identifying areas where neighbouring regions' income or productivity has a stronger effect on local outcomes.
  • Epidemiology: examining whether the spatial dependence of a disease rate differs between urban and rural parts of a study area.
  • Urban planning: assessing where the effects of a land-use change spill over into adjacent parcels.
  • Crime analysis: locating sub-areas where the level of crime in neighbouring areas is most closely linked to local levels.

How it works

How it works

1

The global spatial lag model is y = rho*Wy + X*beta + epsilon. Here W is the spatial weights matrix and rho is a single autocorrelation parameter shared by all observations. This is the baseline that the local version relaxes.

Formula
y = \rho W y + X\beta + \varepsilon
2

In the local version, rho and beta are indexed by location coordinates (u_i, v_i), so each observation has its own autocorrelation parameter and its own covariate effects. The spatial lag term for location i is the sum of neighbouring outcomes weighted by the row of W for that location.

Formula
y_i = \rho(u_i,v_i) \sum_j w_{ij} y_j + X_i \beta(u_i,v_i) + \varepsilon_i
3

For each location i, a distance-decay kernel K with bandwidth h gives higher weight to nearby observations and lower weight to distant ones. Gaussian and bisquare kernels are common choices. The diagonal weight matrix W_i then localises the estimation at i. A small bandwidth lets the estimates change quickly across space; a large bandwidth moves them closer to a single global fit.

Formula
W_i = \text{diag}[K(d_{i1}/h), \ldots, K(d_{in}/h)]
4

Parameters are estimated separately at each location, using observations weighted by the kernel for that location. The bandwidth is chosen beforehand by a data-driven criterion such as cross-validation or AIC, so that the degree of local variation is not set arbitrarily. Before reporting results, confirm the estimator. Global spatial lag models are commonly estimated by maximum likelihood or instrumental variables, and the local version's estimator, its treatment of the endogeneity of the lag term, and its standard errors should be checked in the methodological literature and the software documentation.

5

After fitting, map the estimated rho and each beta across the study area to see where spatial dependence and covariate effects vary. Local t-values and pseudo-p-values are approximate screening indicators, not valid individual tests. Across many locations, apply a multiple-comparison correction or check them with a Monte Carlo or bootstrap procedure. As general practice, also check whether the residuals remain spatially autocorrelated (for example with Moran's I on the residuals), compare the local and global fits with an information criterion such as AIC, and test whether the local rho surface differs significantly from a constant before treating it as spatially varying.

Common pitfalls

  • Choosing the bandwidth by hand rather than by a data-driven criterion, which fixes how much the parameters are allowed to vary.
  • Reading local t-values or pseudo-p-values as exact tests across many locations without accounting for multiple comparisons.
  • Adding local terms without first checking whether the global spatial lag model is inadequate; local estimates are only justified when spatial non-stationarity is present.
  • Confusing the spatial weights matrix W, which defines the neighbour structure of the lag term, with the kernel weights W_i, which localise the estimation around each location.
  • Presenting local coefficient maps without uncertainty or significance information, which can make noisy local estimates look more precise than they are.

Frequently asked questions

How is the Local Spatial Lag Model different from Geographically Weighted Regression?

Geographically Weighted Regression lets regression coefficients vary across locations but does not include a spatial lag of the outcome. The Local Spatial Lag Model adds the lag term and lets its autocorrelation parameter rho vary by location. It is therefore suited to settings where spillovers from neighbouring outcomes are expected alongside spatially varying covariate effects.

Is the local rho always statistically meaningful?

No. In some parts of the study area rho may be close to zero and not statistically distinguishable from zero, while elsewhere it may be larger. Mapping local rho with its local significance indicators shows this variation. Where local rho is not distinguishable from zero, a simpler local model without a lag term may describe those areas adequately.

What software can estimate a Local Spatial Lag Model?

Software availability is not standardised for this model. Its estimation is more involved than for the global spatial lag model or for Geographically Weighted Regression alone. In StatWise, the model is run through the platform route for this method; check its documentation for the options it offers. For other tools, check which implementation is available and what estimator it uses before relying on its results.

How do I choose the bandwidth?

Bandwidth is usually selected by a data-driven criterion, such as minimising cross-validation error or AIC over a set of candidate values. A smaller bandwidth produces more local and more variable estimates, while a larger bandwidth smooths the estimates toward the global model. The choice should balance local flexibility against estimation variance.

Can the Local Spatial Lag Model handle panel data?

Extensions to panel data exist but are considerably more complex, because they require assumptions about how spatial and temporal heterogeneity relate to each other. For spatial panel data, a spatial panel model or a space-time geographically weighted approach may be a more manageable starting point. Panel extensions form a separate methodological topic and call for their own specification and checks.

Related methods

Sources

  1. Anselin, L. (1988). Spatial Econometrics: Methods and Models. Kluwer Academic Publishers.

    ISBN: 978-9024737215
  2. Fotheringham, A. S., Brunsdon, C., & Charlton, M. (2002). Geographically Weighted Regression: The Analysis of Spatially Varying Relationships. Wiley.

    ISBN: 978-0471496168