Spatex.Dynamics.TauRegional (Spatex v0.2.1)

Copy Markdown View Source

Result of Spatex.Dynamics.tau_regional/4 (giddy.rank.Tau_Regional).

  • regimes - the distinct regime labels in ascending order; tau_reg the k x k matrix of mean concordance between (row) and within (diagonal) regimes, :nan for a regime with one member on the diagonal.
  • p_sim - k x k pseudo p-values (nil without permutations); sim - the P simulated k x k matrices (with keep_simulations: true). With keep_simulations: :tensor, sim is one Nx.Tensor of type {:f, 64} and shape {permutations, k, k}.

Summary

Types

matrix()

@type matrix() :: [[float() | :nan]]

t()

@type t() :: %Spatex.Dynamics.TauRegional{
  p_sim: matrix() | nil,
  permutations: non_neg_integer(),
  regimes: [term()],
  seed: non_neg_integer() | nil,
  sim: [matrix()] | Nx.Tensor.t() | nil,
  tau_reg: matrix()
}