# `Spatex.ESDA.MoranBV`
[🔗](https://github.com/CountlinkX-Solutions/spatex/blob/v0.2.1/lib/spatex/esda/moran_bv.ex#L1)

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.

# `t`

```elixir
@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`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
