lisa.perm: Permutation test

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/lisa.perm.R

Description

Computes a permutation test to assess the statistical significance of Local Indicators of Spatial Association –LISA.

Usage

1
lisa.perm(x,listw,perm=999,FUN=mean,...)

Arguments

x

A numeric vector

listw

A listw object as produced by nb2listw or mat2listw. A list of spatial weights

perm

Number of permutations

FUN

By defautl FUN=mean. In general, a function to compute the central tendency of the data. It should return a scalar. See notes

...

Further arguments passed to FUN

Details

This function implements a conditional permutation test to assess the statistical significance of the LISA. This is a distribution free test that overcomes the limitations of the standard assumption of normality.

Value

Returns a numeric matrix

Ii

Values of the Local Moran Statistics

p-val

P-values

Zi

Z scores or standardized scores

Note

There is no theoretical nor simulation work assessing the behavior of the Local Moran Staistic when the measure of central tendency is different from the mean.

Author(s)

Osmar Leandro Loaiza Quintero

References

Anselin, Luc (1992) Local Indicators of Spatial Association.

See Also

bilisa.perm, plot.lisaPerm

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x) 
{
  }

spdyn documentation built on Feb. 6, 2021, 3 a.m.