Spatex.ESDA.GearyLocalMV (Spatex v0.2.1)

Copy Markdown View Source

Result of Spatex.ESDA.geary_local_mv/3: multivariate local Geary (esda.Geary_Local_MV, Anselin 2019).

Every per-site field is a list aligned with the graph's node order (ids).

With keep_simulations: :tensor, sim is an Nx.Tensor of type {:f, 64} and shape {n, permutations} instead of nested lists.

  • local_g - sum_v sum_j w_ij (z_vi - z_vj)^2 / k over the k standardised variables (ddof 0) and the row-standardised graph; 0 for islands.
  • p_sim - folded pseudo p-value of the conditional randomization (esda's only test); sim - the simulated statistics, one list of permutations values per site. Both are nil with permutations: 0; sim is also nil with keep_simulations: false.

Summary

Types

t()

@type t() :: %Spatex.ESDA.GearyLocalMV{
  ids: [term()],
  k: pos_integer(),
  local_g: [float()],
  n: non_neg_integer(),
  p_sim: [float()] | nil,
  permutations: non_neg_integer(),
  seed: non_neg_integer() | nil,
  sim: [[float()]] | Nx.Tensor.t() | nil
}