Skip to content

Methods · Spatial analysis · Spatial prediction

Random Forest for Spatially Dependent Data (RF-GLS)

RF-GLS grows regression trees whose splits and leaf values minimise a generalised least squares loss under a spatial covariance, so correlated nearby observations are not counted as independent evidence. Predictions at new sites add kriging of the spatially correlated residual.

RF-GLS는 공간 공분산 아래의 일반화 최소제곱 손실로 분할과 잎 값을 정하는 회귀나무를 키워, 서로 가까워 상관된 관측을 독립된 증거로 세지 않습니다. 새 지점의 예측에는 공간 상관 잔차의 크리깅을 더합니다.

I want to predict soil carbon at new field plots from terrain covariates, but nearby plots are correlated. Does a spatially aware forest predict better than an ordinary one?

지형 공변량으로 새 조사구의 토양 탄소를 예측하려는데 가까운 조사구끼리 상관이 있습니다. 공간을 고려한 숲이 일반 랜덤 포레스트보다 잘 예측합니까?

The method returns the estimated working covariance (variance, range, nugget) and hold-out prediction errors for RF-GLS with and without kriging, compared with an ordinary random forest with and without residual kriging.

When to use Random Forest for Spatially Dependent Data (RF-GLS)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

An RF-GLS forest ([value] trees) with an exponential working covariance (range [value] km) gave hold-out RMSE [value] with kriging, against [value] for an ordinary random forest.

Related methods

How this method is validated

이 방법의 검증 근거

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

    독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Random Forest for Spatially Dependent Data (RF-GLS) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, predictor (feature) columns, lat and lon
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 Q62077 · Reviewed 2026-10-25