Local Join Count

Local join count (2019) is a local spatial autocorrelation statistic for binary variables (e.g. 0 and 1). It can be used to identify co-occurrences of uncommon events, i.e., situations where observations that take on the value of 1 constitute much less than half of the sample. For more information, please read http://geodacenter.github.io/workbook/6a_local_auto/lab6a.html

localJoinCount()

function localJoinCount(
    WeightResult w,
    Array val,
    Number permutations, 
    String permutation_method,
    NUmber significance_cutoff, 
    Number seed)

Arguments

Name

Type

Description

w

WeightResult

the WeightResult object created from weights function

val

Array

the numeric column that contains the binary values (e.g. 0 and 1) for LISA statistics

permutations

Number

the number of permutations for the LISA computation. Default: 999.

permutation_method

String

the permutation method used for the LISA computation. Options are 'complete', 'lookup'. Default: 'lookup'.

significance_cutoff

Number

the cutoff value for significance p-values to filter not-significant clusters. Default: 0.05.

seed

Number

the seed for random number generator used in LISA statistics. Default: 123456789.

Return

Type

Description

LisaResult

The LisaResult object contains the results of LISA computation: pvalues, clusters, lisa_values, neighbors, labels, colors

Try it yourself in the playground (jsgeoda + deck.gl):

Last updated