Skip to content

Methods · Spatial analysis · Spatial regression

Spatial Two-Stage Least Squares for the Spatial Lag Model (GMM-IV)

Spatial two-stage least squares estimates a spatial lag model, in which each outcome depends on the weighted average of the outcomes of its neighbours, by using spatial lags of the explanatory variables as instruments for that neighbour average. It needs no assumption of normal errors and offers standard errors that stay valid when error variance differs between locations.

공간 2단계 최소제곱은 각 결과가 이웃 결과의 가중평균에 영향을 받는 공간 시차 모형을, 설명변수의 공간 시차를 도구변수로 써서 추정합니다. 오차의 정규성을 가정하지 않으며, 지점마다 오차 분산이 달라도 타당한 표준오차를 제공합니다.

How strongly does an outcome spill over between neighbouring locations, and what are the direct and indirect effects of each explanatory variable, without assuming normal errors?

이웃 지역 사이에 결과가 얼마나 강하게 파급되며, 정규 오차를 가정하지 않을 때 각 설명변수의 직접효과와 간접효과는 얼마입니까?

The method returns the spatial autoregressive coefficient rho and the regression coefficients with standard errors, z tests and confidence intervals, a pseudo R squared, and the direct, indirect and total impacts of each explanatory variable.

When to use Spatial Two-Stage Least Squares for the Spatial Lag Model (GMM-IV)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A spatial lag model estimated by spatial two-stage least squares (N = [value]) gave rho = [value], 95% CI [[value], [value]], p = [value].

Common variants

자주 쓰는 설정

The same analysis with settings already chosen. Each runs Spatial Two-Stage Least Squares for the Spatial Lag Model (GMM-IV) itself, at the same price.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with PySAL spreg at a stated tolerance of 1e-8.

    독립 계산. PySAL spreg 대조 참조 시험 1건 통과(허용오차 1e-8).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Spatial Two-Stage Least Squares for the Spatial Lag Model (GMM-IV) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q62040 · Reviewed 2026-10-25