Getis-Ord General G
Getis-Ord General G is a global statistic that tests whether high values (or low values) of a non-negative variable are concentrated among neighbouring locations more than random placement would produce.
Getis-Ord General G는 음수가 아닌 변수의 높은 값(또는 낮은 값)이 무작위 배치보다 이웃 지점에 더 몰려 있는지 검정하는 전역 통계량입니다.
Are the high-crime blocks in this city clustered next to each other overall, or are high values spread out across the map?
이 도시에서 범죄가 많은 블록들이 전체적으로 서로 붙어 몰려 있는지, 아니면 흩어져 있는지 알고 싶어요.
Compute G as the share of all cross-products of values that falls on neighbouring pairs and compare it with its expectation under random relabelling. A G above its expectation with a small p indicates clustering of high values, a G below it clustering of low values.
When to use Getis-Ord General G
- The variable is non-negative (counts, rates, amounts).
- You want one global answer on whether high or low values cluster.
- Locations have coordinates from which neighbours can be defined.
When to use something else
- You need to know where the clusters are; use Getis-Ord Gi* hot spot analysis.
- Values can be negative or you care about similarity in general; use Moran's I.
Assumptions and requirements
- Values are non-negative.
- The neighbourhood definition (k nearest locations) matches the process studied.
- Under the null, values are exchangeable across locations.
What the analysis reports
- G with its analytic expectation and variance
- z score with normal p-values
- Permutation p-value
- Direction of clustering (high or low values)
How to report it
The General G statistic ([k]-nearest-neighbour weights, N = [n]) was G = [value] (E[G] = [value]), z = [value], p = [value], indicating clustering of [high/low] values.
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with PySAL esda.
독립 계산. PySAL esda 대조 참조 시험 1건 통과.
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 Getis-Ord General G on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 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.