Skip to content

Methods · Spatial analysis · Spatial multilevel

Hierarchical Spatial Autoregressive Model (HSAR, Bayesian MCMC)

A two-level model for individuals nested in areas, with spatial dependence at both levels: individual outcomes depend on those of nearby individuals, and area random effects depend on those of neighbouring areas. It is fitted by a Gibbs sampler and reports direct, indirect and total impacts of covariates.

지역 안에 개인이 속한 두 수준 자료에서 두 수준 모두의 공간 의존을 다룹니다. 개인의 결과는 가까운 개인의 결과에, 지역 무선효과는 이웃 지역의 효과에 의존하며, 깁스 표집으로 적합해 공변량의 직접·간접·총 효과를 보고합니다.

Do house prices depend on nearby sales and also on unobserved neighbourhood effects that are correlated between adjacent neighbourhoods?

주택 가격이 인근 거래 가격과, 이웃 동네끼리 서로 상관된 관측되지 않은 동네 효과 모두에 영향을 받습니까?

Posterior means and credible intervals of the coefficients, the individual-level and area-level spatial parameters, both variances and the impacts of each covariate.

When to use Hierarchical Spatial Autoregressive Model (HSAR, Bayesian MCMC)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The individual-level spatial parameter was [value] (95% CrI [value], [value]) and the area-level parameter [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with NumPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-8.

    독립 계산. NumPy·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Hierarchical Spatial Autoregressive Model (HSAR, Bayesian MCMC) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, predictor (feature) columns and a grouping variable
Price
900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 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 Q62089 · Reviewed 2026-10-25