Spatial GEE for Gridded Data (Block-Cluster and Power-Function Working Correlation)
Fits a regression to values on a regular grid of square cells while allowing for spatial autocorrelation. The grid is cut into small blocks that act as clusters, and the correlation between cells of a block is modelled as a function of their distance (or by one power-function correlation over the whole grid), so that coefficients and their standard errors account for the similarity of neighbouring cells.
정사각형 격자 칸에 놓인 자료에 회귀를 맞추면서 공간 자기상관을 반영합니다. 격자를 작은 블록으로 나눠 군집으로 삼고, 블록 안 칸 사이의 상관을 거리의 함수로(또는 격자 전체에 하나의 거듭제곱 함수로) 두어 이웃 칸이 비슷한 만큼 계수와 표준오차를 보정합니다.
Does temperature still predict species presence on a 10 km grid once the clustering of neighbouring cells is taken into account?
10 km 격자에서 이웃 칸끼리 비슷한 점을 고려해도 기온이 종 출현을 예측합니까?
Coefficients with robust (sandwich) standard errors, the estimated working correlations by distance, and Moran's I of the residuals before and after the adjustment.
When to use Spatial GEE for Gridded Data (Block-Cluster and Power-Function Working Correlation)
- The data are cells of a regular square grid (raster, atlas grid)
- Residuals of an ordinary regression are spatially autocorrelated
- The outcome is continuous, binary or a count
When to use something else
- Points are irregularly spaced: use CAR Areal Regression (Maximum Likelihood)
- Clusters are defined by a known grouping such as schools: use Generalized Estimating Equations (GEE)
Assumptions and requirements
- Cells are square and lie on one regular grid
- Correlation beyond a block is negligible (block structures)
- Enough blocks (about 30 or more) for sandwich standard errors
What the analysis reports
- Coefficients with robust or model-based SE
- Within-block correlation by distance
- Moran's I of GLM and GEE residuals
- GLM estimates for comparison
How to report it
A GEE with a distance-specific working correlation within 3 x 3 blocks gave b = [value] (robust SE = [value], p = [value]); residual Moran's I fell from [value] to [value].
Related methods
- Generalized Estimating Equations (GEE)
- CAR Areal Regression (Maximum Likelihood)
- Centred Autologistic Model for Binary Spatial Data
How this method is validated
이 방법의 검증 근거
- R cross-check. 13 reported values agree with R (gee::gee, spdep::moran, geepack::geeglm) within a tolerance of 1e-5; the largest observed difference is 4e-10.
R 교차 검증. R(gee::gee, spdep::moran, geepack::geeglm) 대조: 보고 값 13개가 허용오차 1e-5 안에서 일치합니다(관측된 최대 차이 4e-10).
- Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (117 values) agree with R (psych::describe, stats::quantile, stats::t.test, lmtest::bptest) within 1e-6. This covers the supporting tables, not the main estimates.
보조 표 R 대조. R(psych::describe, stats::quantile, stats::t.test, lmtest::bptest) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 117개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.
- Independent computation. 4 reference tests compare the results with PySAL esda, statsmodels and direct computations (formulas, enumeration or simulation).
독립 계산. PySAL esda·statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 4건 통과.
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 GEE for Gridded Data (Block-Cluster and Power-Function Working Correlation) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns, lat and lon
- 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
- Results cross-checked against R
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.