Hot and Cold Spot Analysis Using Stata

Author Name KONDO Keisuke (Fellow, RIETI)
Creation Date/NO. October 2015 15-T-001
Download / Links


Spatial analysis is attracting more attention from Stata users with the increasing availability of regional data. This article presents an implementation of hot and cold spot analysis using Stata. For this purpose, I introduce the new command getisord, which calculates the Getis-Ord Gi* (d) statistic in Stata. To implement this command, the only additionally required information is the latitude and longitude of regions. In combination with shape files, results obtained from the getisord command can be visually displayed in Stata. In this article, I offer an interesting illustration to explain how the getisord command works in Stata.

Published: Kondo, Keisuke, 2016. "Hot and cold spot analysis using Stata," Stata Journal Vol. 16(3), pp. 613-631