
Local bivariate Moran statistic with conditional permutation
Source:R/LocalSpatialStatistics.R
LocalMoranBivariate.Rd\(I^B_i = x_i \sum_j w_{ij} y_j\) with x and y standardised when
scale, as spdep::localmoran_bv. For unit i the neighbour
values of y are redrawn nsim times with replacement from the other
n - 1 values; draws come from Philox stream i of seed (index
floor(u (n - 1))), identical to the Python arm (spdep uses R's
generator). Reported per unit: permutation mean and variance, deviate,
two-sided normal p-value and folded pseudo p-value
(min(#sim >= I, nsim - #sim >= I) + 1) / (nsim + 1). Quadrants compare x
with its mean and the unscaled lag of y with the lag's mean (ties are
Low).
Value
List with local_values, statistic (mean),
expected, variance, z, p_normal,
p_folded, quadrant, nsim.