Getis–Ord statistics, also known as Gi*, are used in spatial analysis to measure the local and global spatial autocorrelation. Developed by statisticians Arthur Getis and J. Keith Ord they are commonly used for Hot Spot Analysis[1] [2] to identify where features with high or low values are spatially clustered in a statistically significant way. Getis-Ord statistics are available in a number of software libraries such as CrimeStat, GeoDa, ArcGIS, PySAL[3] and R.[4] [5]
There are two different versions of the statistic, depending on whether the data point at the target location
i
Gi=
\sumjwijxj | |
\sumjxj |
* | |
G | |
i |
=
\sumjwijxj | |
\sumjxj |
Here
xi
ith
wij
* | |
G | |
i |
A value larger (or smaller) than the mean suggests a hot (or cold) spot corresponding to a high-high (or low-low) cluster. Statistical significance can be estimated using analytical approximations as in the original work[7] [8] however in practice permutation testing is used to obtain more reliable estimates of significance for statistical inference.
The Getis-Ord statistics of overall spatial association are[9]
G=
\sumij,wijxixj | |
\sumij,xixj |
G*=
\sumijwijxixj | |
\sumijxixj |
The local and global
G*
| |||||||||
\sumixi |
=
\sumijxiwijxj | |
\sumixi\sumjxj |
=G*
G
Gi
Gi
i
Moran's I is another commonly used measure of spatial association defined by
I=
N | |
W |
\sumijwij(xi-\bar{x | |
)(x |
j-\bar{x})}{\sumi(xi-\bar{x})2}
N
W=\sumijwij
I=(K1/K2)G-K2\bar{x}\sumi(wi+w ⋅ )xi+K2\bar{x}2W
wi=\sumjwij
w ⋅ =\sumjwji
K1=\left(\sumij,xixj\right)-1
K2=
W | |
N |
\left(\sumi(xi-\bar{x})2\right)-1
wij=w
Ord and Getis also show that Moran's I can be written in terms of
* | |
G | |
i |
I=
1 | |
W |
\left(\sumiziVi
* | |
G | |
i |
-N\right)
zi=(xi-\bar{x})/s
s
x
2 | |
V | |
i |
=
1 | |
N-1 |
\sumj\left(wij-
1 | |
N |
\sumkwik\right)2
wij