Result of Spatex.ESDA.join_counts_local/3: univariate local join counts
(esda.Join_Counts_Local, Anselin and Li 2019).
Every per-site field is a list aligned with the graph's node order (ids).
ljc- number of neighbors withy = 1of every site withy = 1(0 elsewhere, islands included), as floats.p_sim- pseudo p-value of the conditional randomization,:nanwhereljcis 0 (as in esda);sim- the simulated counts, one list ofpermutationsvalues per site (esda'srjoins). Both arenilwithpermutations: 0;simis alsonilwithkeep_simulations: false.
With keep_simulations: :tensor, sim is an Nx.Tensor of type {:f, 64} and shape
{n, permutations} instead of nested lists.
Summary
Types
@type t() :: %Spatex.ESDA.JoinCountsLocal{ alternative: atom(), ids: [term()] | nil, ljc: [float()], n: pos_integer(), p_sim: [float() | :nan] | nil, permutations: non_neg_integer(), seed: non_neg_integer() | nil, sim: [[float()]] | Nx.Tensor.t() | nil }