lisa.perm {spdyn}R Documentation

Permutation test

Description

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

Usage

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

See Also

bilisa.perm, plot.lisaPerm

Examples

##---- 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) 
{
  }

[Package spdyn version 0.0-1 Index]