Hot Spot Analysis (Getis-Ord Gi*)

Statistics
Introduced by
Arthur Getis and J. Keith Ord
Year
1992
Type
Local spatial statistic
Family
GIS / spatial

What does it do?

Hot Spot Analysis applies the Getis-Ord Gi* local spatial statistic to find locations where high or low attribute values cluster in space more than chance would produce.

Each feature is evaluated against its neighbours, and the result is a z-score that separates significant hot spots and cold spots from areas with no meaningful clustering. The Gi* form was introduced by Arthur Getis and J. Keith Ord in 1992.

The intuition behind the method

Imagine a city crime map and the question 'Are the high-crime blocks surrounded by other high-crime blocks, or are they isolated incidents?' For every location, the method sums the values of nearby features, including the location itself, and asks whether that local total is larger or smaller than expected given the overall distribution across the study area. A significant positive result marks a hot spot and a significant negative result marks a cold spot. Locations with z-scores near zero show no meaningful clustering.

History

The G statistics, including the local Gi and Gi* forms, were introduced by Arthur Getis and J. Keith Ord in 1992 in Geographical Analysis. That paper compared them with Moran's I and illustrated them with empirical examples. Ord and Getis (1995) extended the statistics to non-binary weights, related them to Moran's I, derived correlations between nearby values, and used a Bonferroni criterion to approximate significance when testing extreme values, applying the method to spatial-temporal AIDS data around San Francisco.

When to use it

Use Hot Spot Analysis when your data are georeferenced, carry a continuous or count attribute, and the question is where statistically significant clusters of high or low values occur, such as concentrations of disease, crime, or economic activity. Counts from areas of very different size should be converted to rates first, because the local sums otherwise reflect area as much as intensity. Choose a different tool if your question is about spatial outliers (a high value surrounded by low values, or the reverse), since Local Moran's I addresses that directly. Avoid the method when the attribute has no variation, when a strong regional trend has not been accounted for, or when the sample is so small that the normal reference approximation cannot be trusted.

Limitations and considerations

  • Results follow the chosen weights; changing the distance band can change which features are flagged.
  • Significance is judged against a reference built from the global mean and variance. A subregion whose overall level differs from the study-area average can therefore show clusters that reflect a broad trend rather than local concentration.
  • One test is run for every feature, so many tests are performed at once; without an adjustment, some significant results are expected by chance.
  • The statistic flags neighbourhood sums, not spatial patterns in general. A single high value with moderate neighbours can be flagged, and the method does not distinguish a genuine cluster from a lone extreme value.
  • The normal approximation behind the z-score is weaker when the number of features is small or when the attribute is sparse or binary.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Separates statistically significant clusters from high values that are simply spread across the map, using a reference built from the global mean and variability of the attribute.
  • The star form includes feature i in its own neighbourhood sum, so a high value contributes to its local total; this distinguishes Gi* from the Gi variant that excludes it.
  • Detects local pockets of dependence that a global statistic can miss, which is the reason the 1992 paper recommends using the G statistics alongside Moran's I.
  • The neighbourhood definition (distance band, k nearest neighbours, or contiguity) can be matched to the spatial scale of the hypothesised process.
  • Each feature receives a z-score and a confidence class, which can be mapped directly.

Applications

  • Crime analysis: identifying persistent clusters of incidents to inform patrol allocation and intervention.
  • Epidemiology: locating concentrations of disease burden to guide public health resources and investigate environmental risk factors.
  • Traffic safety: finding road segments where accident rates cluster significantly above the regional average.
  • Ecology: detecting concentrations of biodiversity or invasive species across a landscape.
  • Urban planning: revealing concentrations of deprivation, infrastructure deficits, or service gaps to prioritise investment.

How it works

How it works

1

A spatial weights matrix records which features count as neighbours of each feature, based on a distance band, k nearest neighbours, or contiguity. The Getis-Ord statistics accept non-binary weights, so weights can also reflect graded proximity. Because the local sums depend directly on this matrix, the neighbourhood definition should be chosen to match the spatial scale of the process being studied.

2

For each feature i, the statistic sums the attribute values of its neighbours, weighted by the matrix, and includes feature i itself. It subtracts the global mean multiplied by the sum of the weights, then divides by S times a term that depends on the squared and summed weights. S is the standard deviation of the attribute across all features, so the local sum is compared with what the overall distribution implies for a neighbourhood of that size and shape. In the notation of the formula, x̄ is the mean of x over all n features, S = sqrt(Σx²/n − x̄²), and w_ij is the weight of feature j relative to feature i. The star form requires a non-zero self-weight w_ii, so that feature i is included in its own sum; the non-star Gi statistic excludes feature i by setting w_ii = 0. Report the self-weight convention together with the weights definition.

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}}}
3

Under a normal reference approximation, the Gi* value is treated as a z-score. A large positive value means high attribute values are concentrated around feature i more than the overall distribution would predict. A large negative value indicates a concentration of low values, which is a cold spot.

4

Significance is judged against conventional cut-offs on the absolute z-score (about 1.96 for p < 0.05, 2.58 for p < 0.01, and 3.29 for p < 0.001). One test is run per feature, so some features will pass these cut-offs by chance alone. A multiple-testing adjustment such as Bonferroni is one way to address this; Ord and Getis (1995) used a Bonferroni criterion to approximate significance levels when examining extreme values.

5

Results are usually mapped by confidence level in five classes: cold spot (99%, 95%, 90%), not significant, and hot spot (90%, 95%, 99%). The map shows where clusters occur, how intense they are, and how much statistical confidence each classification carries.

Common pitfalls

  • Choosing a distance band arbitrarily instead of deriving it from the nearest-neighbour distances of the features or from an incremental spatial autocorrelation analysis.
  • Reporting raw p-values without a multiple-testing adjustment when many features are tested at once.
  • Confusing Hot Spot Analysis (Gi*, which tests for clustering of values) with Local Moran's I (which also detects spatial outliers, meaning low values surrounded by high values and vice versa).
  • Running the test on a variable with a strong regional gradient, such as a north-south trend, without detrending or modelling it first; the edges of the gradient can then appear as hot or cold spots.
  • Treating hot spots as causal explanations. The method describes where values cluster and points to places that warrant further investigation.

Frequently asked questions

What is the difference between Hot Spot Analysis and Local Moran's I?

Both are local spatial statistics, but they detect different patterns. The Gi* statistic used in Hot Spot Analysis identifies clusters of high values (hot spots) and low values (cold spots). Local Moran's I additionally identifies spatial outliers, meaning features with high values surrounded by low values and vice versa. It is therefore more informative for detecting anomalies but harder to communicate simply.

How do I choose the right neighbourhood distance?

One principled approach is an incremental spatial autocorrelation analysis: compute Moran's I at increasing distance bands and examine where the global z-score peaks, which indicates the spatial scale at which clustering is strongest. A simpler starting point is the mean or median nearest-neighbour distance among the features.

Should I correct for multiple comparisons?

Usually yes. When every feature is tested at p < 0.05, some features will appear significant by chance. Ord and Getis (1995) used a Bonferroni criterion to approximate significance levels when testing extreme values. Other adjustments, such as controlling the false discovery rate, are also used. The choice should be stated and justified in the analysis.

Can I use Hot Spot Analysis with count or binary data?

Count attributes, such as incidents per polygon, can be used, but counts from areas of very different size should first be converted to rates so that area does not drive the result. For binary (0/1) data, the local sums reflect only how many neighbours take the value 1, and the normal approximation may be weak. Aggregating to coarser spatial units is a common remedy for sparse data, and results should be interpreted cautiously.

How many features do I need for reliable results?

The z-score relies on a normal approximation, which is less reliable when only a few features are available. With small datasets, small changes in the data can shift the results noticeably, so the number of features should be considered when interpreting any hot or cold spot.

Related methods

Sources

  1. Getis, A., & Ord, J. K. (1992). The analysis of spatial association by use of distance statistics. Geographical Analysis, 24(3), 189-206.

    Open DOI reference
  2. Ord, J. K., & Getis, A. (1995). Local spatial autocorrelation statistics: Distributional issues and an application. Geographical Analysis, 27(4), 286-306.

    Open DOI reference