Join count statistics are a method of spatial analysis used to assess the degree of association, in particular the autocorrelation, of categorical variables distributed over a spatial map. They were originally introduced by Australian statistician P. A. P. Moran. Join count statistics have found widespread use in econometrics, remote sensing and ecology. Join count statistics can be computed in a number of software packages including PASSaGE, GeoDA, PySAL and spdep.
Binary data
Given binary data x i ∈ { 0 , 1 } {\displaystyle x_{i}\in \{0,1\}} distributed over N {\displaystyle N} spatial sites, where the neighbour relations between regions i {\displaystyle i} and j {\displaystyle j} are encoded in the spatial weight matrix
w i j = { 1 i neighbor of j 0 otherwise {\displaystyle w_{ij}={\begin{cases}1\qquad &i{\text{ neighbor of }}j\\0&{\text{otherwise}}\end{cases}}}
the join count statistics are defined as
J = J B B + J B W + J W W {\displaystyle J=J_{BB}+J_{BW}+J_{WW}}
Where
J B B = 1 2 ∑ i j , i ≠ j w i j x i x j {\displaystyle J_{BB}={\frac {1}{2}}\sum _{ij,i\neq j}w_{ij}x_{i}x_{j}}
J B W = 1 2 ∑ i j , i ≠ j w i j ( x i − x j ) 2 {\displaystyle J_{BW}={\frac {1}{2}}\sum _{ij,i\neq j}w_{ij}(x_{i}-x_{j})^{2}}
J W W = 1 2 ∑ i j , i ≠ j w i j ( 1 − x i ) ( 1 − x j ) {\displaystyle J_{WW}={\frac {1}{2}}\sum _{ij,i\neq j}w_{ij}(1-x_{i})(1-x_{j})}
J = 1 2 ∑ i j , i ≠ j w i j {\displaystyle J={\frac {1}{2}}\sum _{ij,i\neq j}w_{ij}}
The B , W {\displaystyle B,W} subscripts refer to 'black'=1 and 'white'=0 sites. The relation J = J B B + J B W + J W W {\displaystyle J=J_{BB}+J_{BW}+J_{WW}} implies only three of the four numbers are independent. Generally speaking, large values of J B B {\displaystyle J_{BB}} and J W W {\displaystyle J_{WW}} relative to J B W {\displaystyle J_{BW}} imply autocorrelation and relatively large values of J B W {\displaystyle J_{BW}} imply anti-correlation. To assess the statistical significance of these statistics, the expectation under various null models has been computed. For example, if the null hypothesis is that each sample is chosen at random according to a Bernoulli process with probability
p = number of black cells N = N 1 N {\displaystyle p={\frac {\text{number of black cells}}{N}}={\frac {N_{1}}{N}}}
then Cliff and Ord show that
… excerpt ends here. Continue reading the full article.


