local_moran_bv: Compute the Local Bivariate Moran's I Statistic
Description
Given two continuous numeric variables, calculate the bivariate Local Moran's I.
Usage
local_moran_bv(x, y, nb, wt, nsim = 499)
Value
a data.frame containing two columns Ib and p_sim containing the local bivariate Moran's I and simulated p-values respectively.
Arguments
x
a numeric vector of same length as y.
y
a numeric vector of same length as x.
nb
a neighbor list object for example as created by st_contiguity().
wt
a weights list as created by st_weights().
nsim
the number of simulations to run.
Details
The Bivariate Local Moran, like its global counterpart, evaluates the value
of x at observation i with its spatial neighbors' value of y. The value of $$I_i^B$$ is just xi * Wyi. Or, in simpler words the local bivariate Moran is the result of multiplying x by the spatial lag of y. Formally it is defined as