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:
| Test | Question | Data |
|---|---|---|
| Average nearest neighbor | Are the points clustered at all? | February 2015 incident calls (types 700–745), Battalion 2 |
| Getis-Ord General G | Do 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 I | Is patron density spatially autocorrelated? | Library patrons on a 300 ft grid, bands 2,800–4,000 ft |
| Anselin Local Moran's I | Where 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
| Test | Finding |
|---|---|
| Nearest neighbor | Ratio 0.899, z = −1.948. Clustered at 90% confidence. |
| General G | Peak z = 9.401 at a 900 ft band. Clustering of high values at 99% confidence. |
| Global Moran's I | Peak 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. |