Join count statistic: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>WikiNukalito
 
(No difference)

Latest revision as of 11:57, 24 July 2024

Template:Short description


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.[1] Join count statistics have found widespread use in econometrics,[2] remote sensing[3] and ecology.[4] Join count statistics can be computed in a number of software packages including PASSaGE,[5] GeoDA, PySAL[6] and spdep.[7]

Binary data

Join counts for binary data on a 10×10 grid using 'rook' (north, south, east, west) neighbors. Left: black is never next to black, nor white to white resulting in zeros values of JBB,JWW. Centre: random pattern shows no bias for pairing colours, resulting in approximately equal values for all join count statistics. Right: A solid patch of black in a white background results in high values for JBB,JWW and low values of JBW, since black is only next to white along the patch boundary.

Given binary data xi{0,1} distributed over N spatial sites, where the neighbour relations between regions i and j are encoded in the spatial weight matrix

wij={1i neighbor of j0otherwise

the join count statistics are defined as [8][4]

J=JBB+JBW+JWW

Where

JBB=12ij,ijwijxixj
JBW=12ij,ijwij(xixj)2
JWW=12ij,ijwij(1xi)(1xj)
J=12ij,ijwij

The B,W subscripts refer to 'black'=1 and 'white'=0 sites. The relation J=JBB+JBW+JWW implies only three of the four numbers are independent. Generally speaking, large values of JBB and JWW relative to JBW imply autocorrelation and relatively large values of JBW imply anti-correlation.

To assess the statistical significance of these statistics, the expectation under various null models has been computed.[9] 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 cellsN=N1N

then Cliff and Ord [8] show that

E(JBB)=12S0p2
var(JBB)=p2(1p)4([S1(1p)+S2p])
E(JBW)=S0p(1p)
var(JBW)=p(1p)4[4S1+S2(14p(1p))]

where

S0=ijwij
S1=12ij(wji+wij)2
S2=i(jwji+jwij)2

However in practice[10] an approach based on random permutations is preferred, since it requires fewer assumptions.

Local join count statistic

Anselin and Li introduced[11][12] the idea of the local join count statistic, following Anselin's general idea of a Local Indicator of Spatial Association (LISA).[13] Local Join Count is defined by e.g.

JBBi=xijwijxj

with similar definitions for BW and WW. This is equivalent to the Getis-Ord statistics computed with binary data. Some analytic results for the expectation of the local statistics are available based on the hypergeometric distribution[11] but due to the multiple comparisons problem a permutation based approach is again preferred in practice.[12]

Extension to multiple categories

Join counts for 3 category data on a 10×10 grid using 'rook' (north, south, east, west) neighbors. Left: each category never has a neighbour of its own type, resulting in zeros on the diagonal. Centre: random pattern shows no bias for pairing colours, resulting in approximately equal values for all join count statistics. Right: Since different types are only adjacent on the edge of the patches this results in small values for Jrs.

When there are k2 categories join count statistics have been generalised[4][8][9]

Jrs=12ijIr(xi)Is(xj)

Where Ir(xi)=δr,xi is an indicator function for the variable xi belonging to the category r. Analytic results are available[14] or a permutation approach can be used to test for significance as in the binary case.

References

Template:Reflist

  1. Moran PA. The interpretation of statistical maps. Journal of the Royal Statistical Society. Series B (Methodological). 1948 Jan 1;10(2):243-51.
  2. Anselin L. Spatial econometrics. Handbook of spatial analysis in the social sciences. 2022 Nov 15:101-22.
  3. Congalton RG, Green K. Assessing the accuracy of remotely sensed data: principles and practices. CRC press; 2019 Aug 8.
  4. 4.0 4.1 4.2 Dale MR, Fortin MJ. Spatial analysis: a guide for ecologists. Cambridge University Press; 2014 Sep 11.
  5. https://www.passagesoftware.net/
  6. Template:Cite web
  7. Template:Cite web
  8. 8.0 8.1 8.2 Template:Cite book
  9. 9.0 9.1 Sokal RR, Oden NL. Spatial autocorrelation in biology: 1. Methodology. Biological journal of the Linnean Society. 1978 Jun 1;10(2):199-228.
  10. Template:Cite web
  11. 11.0 11.1 Anselin L, Li X. Operational local join count statistics for cluster detection. Journal of geographical systems. 2019 Jun 1;21:189-210.
  12. 12.0 12.1 Template:Cite web
  13. Anselin, Luc. 1995. “Local Indicators of Spatial Association — LISA.” Geographical Analysis 27: 93–115.
  14. Epperson, B.K., 2003. Covariances among join-count spatial autocorrelation measures. Theoretical Population Biology, 64(1), pp.81-87.