bimoran.test | R Documentation |
This function computes a conditional permutation test for the Bivariate Global Moran Statistic.
bimoran.test(x,y=NULL,listw,CENT=mean,DESV=sd,nsim=999)
x |
Either a numeric vector or a numeric matrix with two columns. If |
y |
A numeric vector. This is the variable to be spatially lagged.
If |
listw |
A list of spatial weights as provided by |
CENT |
Central tendency statistic used to compute the Moran Statistic.
Defaults to |
DESV |
Dispersion statistic. Defaults to |
nsim |
Number of permutations or simulations. |
The bimoran.test
implements a conditional permutation test to asses the
statistical significance of the Bivariate Global Moran Statistic.
An object of class moranPerm
:
sim_statistics |
A vector with the values of the simulated bivariate global moran statistic |
statistic |
Value of the bivariate moran statistic as returned by the function |
pvalue |
Pseudo p-value returned by the permutation test |
Osmar Leandro Loaiza Quintero
Anselin, Luc (1995). Local Indicators of Spatial Association. Geographical Analysis
bilisa.perm, bimoran, unimoran.test
data(usinc)
require(spdep)
lw<-nb2listw(
poly2nb(usinc,queen=TRUE),style='W'
)
bimoran.test(x=usinc$X2007, y=usinc$X2009, listw=lw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.