- Introduced by
- Getis & Ord; Ord & Getis
- Year
- 1992-1995
- Type
- Local spatial statistic
- Family
- GIS / spatial
What does it do?
Local Hot Spot Analysis uses the Getis-Ord Gi* statistic to locate where high or low attribute values cluster together more than a random spatial arrangement would produce.
Unlike global measures that summarise the whole study area in one value, Gi* returns a z-score for each feature, so the output shows where hot spots (high-value clusters) and cold spots (low-value clusters) occur. The statistic was introduced by Getis and Ord (1992) and extended by Ord and Getis (1995).
The intuition behind the method
Picture a window centred on each location in turn. For that location, the statistic adds up the attribute value at the location and at its neighbours, then asks how large this local total is compared with what the study-area mean would predict for a neighbourhood of the same size. A local total far above that expectation marks a hot spot; one far below marks a cold spot. Because every feature receives its own score, the result is a map of where clustering is concentrated rather than a single verdict on the whole area.
History
Getis and Ord (1992) introduced the G family of distance-based statistics, including the local G_i and G_i* forms, and compared them with Moran's I using empirical examples. Ord and Getis (1995) extended these statistics to non-binary weights, related them to Moran's I, derived correlations between nearby values and checked them by simulation, and used a Bonferroni criterion to approximate significance levels for extreme values.
When to use it
Choose this method when the question is where high or low values cluster, not only whether clustering exists. It suits georeferenced data with a continuous attribute, such as rates derived from counts, property values or environmental measurements, and analyses that need place-specific results, for example to prioritise locations for inspection. Avoid it when there are very few observations, since small samples give unstable scores, when attribute values are binary, when the neighbourhood definition cannot be justified on substantive grounds, or when one global clustering measure answers the question. If spatial outliers (a high value among low neighbours) are of interest, use Local Moran's I instead.
Limitations and considerations
- Results depend on the weights specification: changing the distance band or the number of neighbours can change which locations are flagged as significant.
- Small samples give unstable z-scores and may produce misleading significance results. No fixed minimum sample size is given in the cited sources, so check the permutation-based p-values and the sensitivity of results to the weights choice.
- A broad regional gradient can produce significant clusters that reflect the gradient rather than a local process. Gi* compares each neighbourhood with the global mean, so it does not by itself separate these effects.
- Gi* does not identify spatial outliers, where a high value is surrounded by low values; Local Moran's I is needed for that distinction.
- The analytic z-score assumes approximate normality, which may not hold for skewed attributes or irregular polygon geometries.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Each feature receives its own z-score and p-value, so the output identifies which locations drive clustering rather than only indicating that clustering exists.
- The sign of the score separates hot spots from cold spots in a single analysis.
- Getis and Ord (1992) recommend using Gi* alongside a global statistic such as Moran's I, because local pockets of dependence may not appear in the global measure alone.
- Non-binary weights are permitted (Ord and Getis, 1995), so neighbour influence can be graded rather than all-or-nothing.
- Inference can use the analytic z-score or permutation-based p-values. Permutation p-values do not rely on the analytic normal approximation, so they are often preferred for skewed data; this is general practice rather than a result established by the cited sources.
Applications
- Crime mapping: identifying statistically significant crime hot spots to direct patrol resources.
- Epidemiology: locating disease clusters to prioritize public health interventions.
- Urban planning: detecting housing price hot spots and cold spots across a city.
- Environmental science: pinpointing pollution concentration zones in a watershed.
- Retail and marketing: identifying high-demand geographic clusters for store placement.
- Disaster management: mapping earthquake damage intensity clusters after a seismic event.
How it works
How it works
Each feature's neighbourhood is set by a spatial weights matrix w_ij: a fixed distance band, k nearest neighbours, or a contiguity rule. Only neighbours of feature i receive non-zero weight and so contribute to its local statistic. Ord and Getis (1995) allow non-binary weights, so the influence of a neighbour can decline with distance rather than being either fully included or excluded. State the weights convention used (binary or row-standardised, and whether a feature counts as its own neighbour), because it alters the z-score and the classification, and report it with the results.
For feature i, the numerator is the weighted sum of attribute values over its neighbourhood, sum over j of w_ij x_j, minus x-bar times sum over j of w_ij, where x-bar is the mean of the attribute across all n features. This difference is divided by a scale term: S, the global standard deviation of the attribute across all features, multiplied by a factor that depends on n and on the weights. The exact divisor conventions for S and for this factor vary between implementations, and different conventions produce different z-scores, so check the software documentation. In the star form the sums include feature i itself, which is the difference from the Gi statistic. The result is a standardised score.
Formula
G_i^* = \frac{\sum_j w_{ij} x_j - \bar{x} \sum_j w_{ij}}{S \sqrt{\frac{n \sum_j w_{ij}^2 - (\sum_j w_{ij})^2}{n-1}}}The Gi* value is read as an approximately standard normal z-score. Large positive values indicate that high attribute values are concentrated around the feature (hot spot); large negative values indicate that low values are concentrated there (cold spot). Values near zero show no local departure from the expectation. Compare the score with the standard normal critical value for the chosen two-sided significance level. The reading depends on the normal approximation, which the FAQ addresses.
Significance is judged against conventional p-value thresholds (p < 0.05, 0.01, 0.001). Because a score is computed for every feature, a multiple-testing adjustment is needed. The 5% figure is the expected marginal false-positive rate under independence, but neighbouring Gi* values are correlated, so the flags are not independent and the 5% figure is only an approximation. A false discovery rate correction or a Bonferroni criterion is recommended; Ord and Getis (1995) use a Bonferroni criterion to approximate significance levels when testing extreme values. Check which correction the software applies and report the adjusted significance.
Each feature is labelled as a significant hot spot, a significant cold spot, or not significant at the chosen confidence level. A significant positive score gives a hot spot and a significant negative score gives a cold spot. Use labels based on adjusted significance where a correction is applied, not raw p-values. The output is a classified map of local clustering. The labels describe spatial pattern and do not on their own establish a cause.
Common pitfalls
- Choosing the distance band arbitrarily, or selecting the band that gives the most significant result, can create or mask hot spots. The scale should reflect a justified interaction range.
- Ignoring multiple-testing correction: under independence, about 5% of locations would be flagged at p < 0.05 by chance alone, and because neighbouring values are correlated, the actual rate of flags can differ from this figure.
- Interpreting hot spots as causal mechanisms rather than descriptive spatial patterns that call for further investigation.
- Applying the method to raw counts without population-at-risk denominators, which can make dense areas appear as hot spots regardless of underlying risk.
Frequently asked questions
What is the difference between Local Hot Spot Analysis (Gi*) and Local Moran's I?
Both are local spatial statistics, but Gi* identifies clusters of similarly high or low values (hot and cold spots), while Local Moran's I also detects spatial outliers, where a location's value differs from those of its neighbours. If the question is only where high or low values concentrate, Gi* is the natural choice. If spatial outliers matter as well, use both.
How do I choose the spatial weights or distance threshold?
The threshold should reflect a theoretically meaningful scale of interaction, for example a realistic travel distance for crime or the maximum dispersal range for a species. Use an incremental spatial autocorrelation analysis to find the distance at which clustering peaks, or examine a semivariogram for continuous data.
Why should I apply a false discovery rate (FDR) correction?
Running a significance test for every feature creates many chances for false positives. An FDR correction limits the expected proportion of false discoveries among the features declared significant. Without any adjustment, a p < 0.05 threshold would flag about 5% of features by chance alone. Check whether your software applies a correction and which option is selected.
Can Local Hot Spot Analysis handle population-weighted count data?
Yes, but the data should be adjusted first. For count data such as disease cases, compute a rate (cases per population) or adjust for population density before running Gi*. Otherwise the output may show hot spots that reflect dense areas rather than elevated risk.
Is a permutation test better than the analytical z-score?
The analytical z-score assumes approximate normality, which may not hold for skewed data or irregular polygon shapes. A permutation test randomly reassigns attribute values across locations to build a reference distribution for the statistic, so it does not rely on the normal approximation. It is more computationally demanding for large datasets.
Related methods
Sources
Ord, J. K., & Getis, A. (1995). Local spatial autocorrelation statistics: Distributional issues and an application. Geographical Analysis, 27(4), 286-306.
Open DOI referenceGetis, A., & Ord, J. K. (1992). The analysis of spatial association by use of distance statistics. Geographical Analysis, 24(3), 189-206.
Open DOI reference