# `Spatex.Dynamics.SpatialTau`
[🔗](https://github.com/CountlinkX-Solutions/spatex/blob/v0.2.1/lib/spatex/dynamics/rank.ex#L19)

Result of `Spatex.Dynamics.spatial_tau/4` (`giddy.rank.SpatialTau`).

`tau`, `tau_p`, `concordant`, `discordant`, `extra_x` and `extra_y` are those of the classic
statistic (see `Spatex.Dynamics.Tau`); `tau_spatial`, `concordant_spatial`,
`discordant_spatial` and `pairs_spatial` restrict it to neighbor pairs. With permutations,
`taus` holds the statistic under random relabelling of locations and `tau_spatial_psim` the
one-sided folded pseudo p-value; both are `nil` otherwise.

# `t`

```elixir
@type t() :: %Spatex.Dynamics.SpatialTau{
  concordant: float(),
  concordant_spatial: float(),
  discordant: float(),
  discordant_spatial: float(),
  extra_x: float(),
  extra_y: float(),
  pairs_spatial: non_neg_integer(),
  permutations: non_neg_integer(),
  seed: non_neg_integer() | nil,
  tau: float() | :nan,
  tau_p: float() | :nan,
  tau_spatial: float() | :nan,
  tau_spatial_psim: float() | nil,
  taus: [float() | :nan] | nil
}
```

---

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