Spatex.Dynamics.Theta (Spatex v0.2.1)

Copy Markdown View Source

Result of Spatex.Dynamics.theta/3 (giddy.rank.Theta): the share of rank changes that move in the same direction within regimes, per interval (t - 1 values).

ranks are the per-period ranks (average ties), total the absolute rank changes per interval, max_total their theoretical maximum. pvalue_left, pvalue_right and z come from permuting the regimes and are nil with permutations: 0.

Summary

Types

t()

@type t() :: %Spatex.Dynamics.Theta{
  max_total: float(),
  permutations: non_neg_integer(),
  pvalue_left: [float()] | nil,
  pvalue_right: [float()] | nil,
  ranks: [[float()]],
  regimes: [term()],
  seed: non_neg_integer() | nil,
  theta: [float() | :nan],
  total: [float()],
  z: [float() | :nan] | nil
}