Result of Spatex.ESDA.moran/3 and Spatex.ESDA.moran_rate/4: global Moran's I with
analytic and permutation inference. Field names are PySAL's esda.Moran attributes in
snake_case (seI_norm is se_i_norm).
Simulation fields (sim, p_sim, ei_sim, se_i_sim, vi_sim, z_sim, p_z_sim,
seed) are nil when permutations: 0; sim is also nil with keep_simulations: false.
Non-finite values (for example vi_rand when n < 4) are the atoms :nan, :infinity
and :neg_infinity.
With keep_simulations: :tensor, sim is an Nx.Tensor of type {:f, 64} and shape
{permutations} instead of a list.
Summary
Types
@type t() :: %Spatex.ESDA.Moran{ ei: value(), ei_sim: value() | nil, i: value(), n: pos_integer(), p_norm: value(), p_rand: value(), p_sim: float() | nil, p_z_sim: value() | nil, permutations: non_neg_integer(), se_i_norm: value(), se_i_rand: value(), se_i_sim: value() | nil, seed: non_neg_integer() | nil, sim: [float()] | Nx.Tensor.t() | nil, vi_norm: value(), vi_rand: value(), vi_sim: value() | nil, z_norm: value(), z_rand: value(), z_sim: value() | nil }
@type value() :: float() | :nan | :infinity | :neg_infinity