Global Spatial Panel Model

Statistics
Introduced by
Elhorst, J. P.; Lee, L. F. & Yu, J.
Year
2003-2010
Type
Spatial panel regression
Family
GIS / spatial

What does it do?

The Global Spatial Panel Model extends panel data regression with a global spatial weights matrix, which allows every location to be linked to every other location in the same period.

It jointly accounts for cross-sectional spatial dependence, the individual-specific effects of each unit, and the repeated observation of units over time. It is used when spillovers between units may operate across the whole study region rather than only between neighbouring units.

The intuition behind the method

Consider output tracked across many regions over several years. Each region's output in a given year depends on its own observed characteristics and its own past, but also on the current outcomes of other regions, weighted by how strongly they are connected. A global weights matrix encodes these pairwise connections for all region pairs, not only for nearby ones, so each region's outcome can be affected, through the model's feedback structure, by the rest of the system. The spatial parameter controls how strong these feedbacks are, and because they are repeated through the system, the total effect of a change in one region is larger than its direct effect alone.

History

Spatial panel models combine the spatial econometrics of cross-sectional data with the econometrics of panel data. Elhorst's book Spatial Econometrics: From Cross-Sectional Data to Spatial Panels covers this model class. Lee and Yu (2010) study the estimation of spatial autoregressive panel data models with fixed effects.

When to use it

Use this model when the data are a panel, with several units observed over several periods, and when there is evidence of spatial dependence in the outcome or the errors, from theory or from diagnostic tests such as Moran's I on residuals or Lagrange multiplier tests. It suits settings where spillovers may be long-range or system-wide rather than strictly local. Do not use it for a purely cross-sectional dataset with a single period; a cross-sectional spatial model is appropriate there. It is also a poor choice when the weights matrix cannot be justified on substantive grounds, or when the number of units is very small, because the spatial parameter is then weakly identified. If the effect of predictors is expected to vary across space, a locally varying model such as Geographically Weighted Regression is more suitable.

Limitations and considerations

  • All estimates depend on the specification of W; a misspecified weights matrix biases the estimates of ρ and β.
  • Computation involves operations on the n × n matrix (I − ρW), so cost rises quickly with the number of units, and very large cross-sections require sparse or approximate methods.
  • Standard maximum likelihood inference assumes the regressors are exogenous; endogenous covariates require instrumental-variable or GMM extensions.
  • A global structure assumes that every unit can, in principle, affect every other unit, which may be implausible for distant or institutionally unconnected locations.

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

Strengths

  • Controls for individual effects, time effects and global spatial dependence within one framework, which reduces omitted-variable bias from several sources.
  • The global weights matrix allows long-range and indirect spillovers to enter the model, which local or distance-restricted specifications may omit.
  • Under standard regularity conditions and correct specification, maximum likelihood estimation is consistent, with the caveat that for fixed effects and short panels the variance estimate needs bias correction.
  • The direct, indirect and total impact decomposition gives a more informative account of predictor effects than the raw slope coefficients.

Applications

  • Regional economic convergence studies, where GDP growth in one region spills over to neighboring regions through trade and factor mobility.
  • Housing market analysis: prices in one metropolitan area affect prices in connected markets via migration and investor flows.
  • Environmental economics: pollution emissions in one jurisdiction affect air or water quality in all linked jurisdictions.
  • Public finance: tax competition and expenditure mimicking among local governments tracked over many budget years.
  • Epidemiology: disease incidence rates across administrative units with cross-unit contagion modeled through a global contact matrix.
  • Agricultural economics: crop yield and input adoption decisions that diffuse across farming regions over time.

How it works

How it works

1

Construct an n × n spatial weights matrix W that encodes the connectivity or proximity of every pair of locations, with zeros on the diagonal so that no unit is treated as its own neighbour. Row-standardisation, which makes each row sum to one, is the usual convention. It makes the spatial lag a weighted average of the other units' values and eases the interpretation of ρ. Report the weighting scheme and its justification. W should be predetermined, that is, exogenous to the outcome. A global matrix assigns non-zero weights to all or most pairs, in contrast with local schemes that restrict weights to nearby units.

Formula
W \in \mathbb{R}^{n \times n},\; w_{ij} \geq 0,\; w_{ii}=0
2

The core panel equation adds a spatially lagged dependent variable, Wy_t, scaled by the spatial autoregressive parameter ρ, to the regressors and the disturbance. Each unit's outcome therefore depends on the contemporaneous outcomes of the other units, as mediated by W.

Formula
y_{it} = \rho W y_{t} + X_{it}\beta + u_{it}
3

The composite disturbance separates a unit-specific, time-invariant component μ_i, which absorbs unobserved heterogeneity, from an idiosyncratic shock ε_it. Spatial dependence can also be placed in the disturbance, which gives the spatial error panel variant instead.

Formula
u_{it} = \mu_i + \varepsilon_{it}
4

When ρ is non-zero the spatially lagged outcome is correlated with the disturbance, so ordinary least squares is biased and inconsistent. The model is therefore estimated by maximum likelihood (or quasi-maximum likelihood), or by instrumental-variable or GMM methods. Maximum likelihood maximises the log-likelihood over the spatial and regression parameters jointly. With fixed individual effects and finite T, the joint ML estimate of the error variance is inconsistent (the incidental parameters problem). Use bias-corrected or quasi-ML estimators that address this, and check how sensitive ρ and β are to the panel length T.

Formula
\hat{\theta} = \arg\max_{\theta}\; \ln L(\theta \mid y, X, W)
5

The coefficient β is not the marginal effect of a predictor, because feedback through (I − ρW)^−1 transmits a change in one unit to the others and back. For predictor k, the matrix (I − ρW)^−1 β_k holds all unit-to-unit effects. The average direct impact is the mean of its diagonal elements. The average indirect (spillover) impact is the mean of the row sums of its off-diagonal elements. The total impact is the sum of the two. These averages are the quantities to report, and they can differ substantially from β. Test spillovers with the indirect effects, not with ρ alone. Their significance depends on all coefficient estimates, so it is usually assessed by simulating their distribution.

Formula
\text{Direct}_k = \tfrac{1}{n}\operatorname{tr}\!\big[(I-\hat{\rho}W)^{-1}\big]\hat{\beta}_k,\quad \text{Total}_k = \tfrac{1}{n}\mathbf{1}'(I-\hat{\rho}W)^{-1}\mathbf{1}\,\hat{\beta}_k,\quad \text{Indirect}_k = \text{Total}_k - \text{Direct}_k

Common pitfalls

  • Reading β directly as the marginal effect. Feedback through (I − ρW)^−1 means the direct effect differs from β, and the indirect effects can be large.
  • Choosing the weights matrix (contiguity, inverse distance, nearest neighbours) or its normalisation without a substantive justification, or without reporting it. Row-standardisation is conventional, not mandatory, and it changes the interpretation of ρ.
  • Choosing between the spatial lag, spatial error and spatial Durbin specifications without first running Lagrange multiplier diagnostics, which can lead to a misspecified model and biased estimates.
  • Ignoring the choice between fixed and random individual effects. A Hausman-type test is one way to inform this choice.
  • Using fixed-effects ML with a short panel without considering that the variance estimate is inconsistent for finite T.
  • Treating the estimates as reliable when ρ is close to one. With a row-standardised W the model is stable for |ρ| < 1, but the impact multipliers in (I − ρW)^−1 become very large, so the reported spillovers can be exaggerated.

Frequently asked questions

What is the difference between a global and a local spatial panel model?

A global spatial weights matrix allows every location pair to have a non-zero weight, so every unit can in principle influence every other unit. A local approach, such as nearest neighbours with a small number of neighbours or a distance-restricted kernel, limits spillovers to nearby units. The global approach captures system-wide interdependence. The local approach is computationally lighter and is more appropriate when spillovers fade quickly with distance.

How do I choose between the spatial lag, spatial error and spatial Durbin specifications?

Run Lagrange multiplier tests, using panel versions that account for the individual effects, and state which version you used. If the lag test is significant and the error test is not, the spatial lag panel model is usually preferred. If the reverse holds, the spatial error panel model is preferred. If both are significant, or if theory predicts spillovers in the predictors, the spatial Durbin panel model is a candidate because it nests both alternatives. Robust versions of the tests are generally preferred when both are significant, and the final choice should be checked against the model's estimates and against theory.

Why can I not just use OLS with spatial dummy variables?

Spatial dummy variables control for time-invariant spatial effects, but they do not model the endogenous spatial lag. When ρ is non-zero, the spatially lagged outcome is a regressor correlated with the disturbance, so OLS is biased and inconsistent. Maximum likelihood or instrumental-variable estimation is required.

How do I compute and report marginal effects?

Compute (I − ρ̂W)^−1 and, for each predictor k, multiply by β̂_k. The average direct impact is the mean of the diagonal elements. The average indirect impact is the mean of the row sums of the off-diagonal elements. The total impact is their sum. Report all three rather than the raw β coefficients alone. To judge whether spillovers exist, assess the indirect effects, for example by simulating their distribution from the estimated parameters, rather than relying on the significance of ρ.

How large a sample is needed?

No universal minimum number of units or periods applies. The estimator's properties are established asymptotically, as the number of units and/or the number of periods grows large. With few units, the weights matrix is small and ρ can be imprecisely estimated. With fixed effects and short T, variance estimates may need bias correction. Assess the adequacy of your N and T through the standard errors, the sensitivity of the estimates and the diagnostics of the specific analysis. W must be predetermined and exogenous to the outcome, and |ρ| should be below 1 for stability with a row-standardised W.

Related methods

Sources

  1. Elhorst, J. P. (2014). Spatial Econometrics: From Cross-Sectional Data to Spatial Panels. Springer.

    ISBN: 978-3642403408
  2. Lee, L. F., & Yu, J. (2010). Estimation of spatial autoregressive panel data models with fixed effects. Journal of Econometrics, 154(2), 165-185.

    Open DOI reference