← All work

Case study

Spatial statistics exercises: testing for clusters and hot spots

Six guided exercises from Esri’s GIS Tutorial, applying cluster and hot spot statistics to incident calls, library patrons and household income.

Context
Graduate coursework, NC State, 2017. Guided tutorial exercises (Esri GIS Tutorial, exercises 8.1–9.2)
Data
Tutorial datasets: fire incident calls, library patrons, 2010 Census income
Output
Six maps with test statistics

Problem

These were step-by-step tutorial exercises, so the questions, data and most settings came from the tutorial. The questions: are a fire battalion's incident calls clustered or random, at what distance is clustering strongest, and where are the significant hot and cold spots? The same tests were applied to library patron locations and household income.

Approach

The exercises move from a simple global test to local hot spot maps. Each test answers a different question:

TestQuestionData
Average nearest neighborAre the points clustered at all?February 2015 incident calls (types 700–745), Battalion 2
Getis-Ord General GDo high values cluster, and at what distance?January 2015 calls, distance bands 700–1,200 ft
Ripley's K (multi-distance)How does clustering change with scale?Incident calls, 99-permutation confidence envelope
Global Moran's IIs patron density spatially autocorrelated?Library patrons on a 300 ft grid, bands 2,800–4,000 ft
Anselin Local Moran's IWhere are the clusters and outliers?Incident calls, 900 ft fixed band
Getis-Ord Gi*Where are income hot and cold spots?2010 Census household income, 1 mi band

Result

TestFinding
Nearest neighborRatio 0.899, z = −1.948. Clustered at 90% confidence.
General GPeak z = 9.401 at a 900 ft band. Clustering of high values at 99% confidence.
Global Moran's IPeak z = 12.059 at 3,400 ft. Patron locations are clustered, not random (99% confidence).
Gi*Clear high-income hot spots to the north and low-income cold spots to the south of central Dallas.
Battalion 2 map of February 2015 incident calls with the nearest neighbor results panel
Average nearest neighbor on February 2015 calls.
Battalion 2 map of January 2015 calls for service with General G results: maximum z-score 9.401 at 900 ft
High/low clustering (General G) on January 2015 calls.
Battalion 2 map with Ripley's K function graphs comparing observed and expected clustering
Multi-distance cluster analysis (Ripley's K) with confidence envelope.
Grid map of library patron locations with Global Moran's I z-scores by distance band, peaking at 3,400 ft
Spatial autocorrelation (Global Moran's I) on library patrons.
Battalion 2 map of incident clusters and outliers over median household income
Cluster and outlier analysis (Local Moran's I) at 900 ft.
Dallas County map of Getis-Ord Gi* income hot spots in red and cold spots in blue, by confidence level
Income hot spot analysis (Gi*), Dallas County, 2010 Census.

Tools

  • ArcMap
  • Spatial Statistics toolbox
  • Average Nearest Neighbor
  • General G
  • Ripley's K
  • Moran's I
  • Hot Spot Analysis (Gi*)