Spatex.ESDA.MoranBV (Spatex v0.2.1)

Copy Markdown View Source

Result of Spatex.ESDA.moran_bv/4: bivariate Moran's I (esda.Moran_BV).

PySAL's bivariate statistic has no analytic moments. Simulation fields are nil when permutations: 0, sim also with keep_simulations: false.

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

Summary

Types

t()

@type t() :: %Spatex.ESDA.MoranBV{
  ei_sim: value() | nil,
  i: value(),
  n: pos_integer(),
  p_sim: float() | nil,
  p_z_sim: value() | nil,
  permutations: non_neg_integer(),
  se_i_sim: value() | nil,
  seed: non_neg_integer() | nil,
  sim: [float()] | Nx.Tensor.t() | nil,
  vi_sim: value() | nil,
  z_sim: value() | nil
}

value()

@type value() :: float() | :nan | :infinity | :neg_infinity