- Introduced by
- Arthur Getis and J. Keith Ord
- Year
- 1992
- Type
- Local spatial statistic
What does it do?
Getis-Ord Gi* is a local spatial statistic from the family of G statistics introduced by Getis and Ord in 1992, which includes the local Gi and Gi* forms.
For each location it compares the weighted sum of values at that location and its neighbours with the global mean, flagging statistically significant clusters of high values (hot spots) and low values (cold spots).
The intuition behind the method
Picture a map shaded by some measured quantity. Gi* asks, for each location, whether it sits inside a neighbourhood where the values run unusually high or unusually low compared with the map as a whole. A high positive z-score marks a location surrounded by high values (a hot spot); a strongly negative z-score marks one surrounded by low values (a cold spot).
History
Arthur Getis and J. Keith Ord introduced the family of G statistics in 1992 as distance-based measures of spatial association, including the local Gi and Gi* forms that detect local pockets of dependence. Ord and Getis discussed local spatial autocorrelation statistics further in 1995.
When to use it
Choose Gi* when you have a continuous variable measured at georeferenced locations and want to map where values cluster significantly high or low. It needs a spatial weight matrix defined by distance or k-nearest neighbours, and the neighbourhood choice must be justified because results are sensitive to it. Apply a multiple-testing correction to the per-location results. Avoid Gi* when the main question is whether high values are surrounded by low values (spatial outliers), since it captures only high-high and low-low clustering; a LISA decomposition such as Local Moran's I is the usual alternative for that question.
Limitations and considerations
- Needs a spatial weight matrix built from coordinates or another defined neighbour structure; without one the statistic cannot be computed.
- Results depend on the distance threshold or neighbour count in the weight matrix and can shift with that choice.
- Only detects high-high and low-low clustering; unlike LISA it does not flag spatial outliers (high values surrounded by low values, or the reverse).
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Identifies statistically significant local clusters and maps them directly as hot spots and cold spots.
- Gives a per-location z-score referenced to the standard normal distribution, so each location's result can be read individually.
- The starred form includes the location itself in the sum when its self-weight w_ii is nonzero, so a location can contribute to its own cluster score.
- As the 1992 paper emphasises, it can be used alongside a global statistic such as Moran's I to detect local pockets of dependence that the global statistic alone may not show.
Applications
- Mapping hot and cold spots of disease incidence or health outcomes across regions, similar to the county-level analysis of sudden infant death syndrome in North Carolina in the 1992 paper.
- Examining spatial patterns of property prices across districts, similar to the 1992 study of dwelling unit prices by zip-code area in San Diego.
- Identifying spatial concentrations of crime, economic activity or environmental measurements.
- Detecting clusters of high or low values in any georeferenced cross-sectional variable.
How it works
How it works
For each location i, Gi* sums the values at i and its neighbours using weights w_ij from a spatial weight matrix, and subtracts the sum expected under the global mean. The difference is divided by a standard deviation term derived from the weights and the number of locations, giving a z-score. Large positive values indicate clustering of high values (hot spots); large negative values indicate clustering of low values (cold spots).
Formula
G_i^{*} = \dfrac{\sum_{j} w_{ij} x_j - \bar{X}\sum_{j} w_{ij}}{S\sqrt{\dfrac{n\sum_{j} w_{ij}^{2} - (\sum_{j} w_{ij})^{2}}{n-1}}}The global mean X̄ and standard deviation S are computed across all n locations and enter the denominator. The null hypothesis is that no local clustering is present, so values are spatially unrelated to the neighbourhood. Under that null, each z-score is approximately standard normal, and the approximation can be poor when the number of locations is small. The test is read two-sided: a significantly large positive score marks a hot spot and a significantly large negative score marks a cold spot, judged against a normal critical value at the chosen significance level. The weights may be binary or row-standardised, and this choice affects the scale of the sum and should be reported. Because one test is run per location, a multiple-testing correction such as a false discovery rate (FDR) adjustment is commonly applied; it is not part of the original Gi* procedure or of the formula.
Formula
z(G_i^{*}) \sim \mathcal{N}(0,1),\quad \bar{X} = \frac{\sum_j x_j}{n},\; S = \sqrt{\frac{\sum_j x_j^{2}}{n} - \bar{X}^{2}}Common pitfalls
- Reporting raw per-location significance without a false discovery rate correction for the many simultaneous tests.
- Fixing a distance threshold arbitrarily without checking how the hot and cold spots change across reasonable alternatives.
- Running the analysis on a very small number of locations, where the normal reference for the z-score may be a poor guide.
- Expecting Gi* to reveal spatial outliers; it measures concentration of similar values, not local mismatch.
Frequently asked questions
How does Gi* differ from Local Moran's I (LISA)?
Gi* identifies only clusters of similar values: high-high (hot spots) and low-low (cold spots). Local Moran's I additionally distinguishes spatial outliers, such as a high value surrounded by low values, so LISA gives a fuller local typology while Gi* focuses on concentration.
What does the Gi* z-score mean?
It is a standardised score comparing the local weighted sum of a location and its neighbours against the global mean. A large positive z-score signals a significant hot spot; a large negative one signals a cold spot; values near zero indicate no significant local clustering. The normal reference is an approximation.
Why is a multiple-testing correction needed?
Gi* runs one significance test per location, so on a map of many locations some will appear significant by chance. A correction such as FDR is commonly applied to these simultaneous comparisons; it is applied on top of the z-scores and is not contained in the formula.
Why do my hot spots change when I change the distance threshold?
Gi* depends on the spatial weight matrix that defines each location's neighbours, set by a distance threshold or a number of nearest neighbours. Because results are sensitive to this choice, the neighbourhood definition should be justified and its influence checked.
Related methods
Sources
Getis, A. & Ord, J.K. (1992). The Analysis of Spatial Association by Use of Distance Statistics. Geographical Analysis, 24(3), 189–206.
Open DOI referenceOrd, J.K. & Getis, A. (1995). Local Spatial Autocorrelation Statistics. Geographical Analysis, 27(4), 286–306.
Open publication reference