columna API reference - v0.3.0
    Preparing search index...

    Function runsTest

    • Runs test for randomness (Minitab): runs of observations above and below k (the mean by default; values equal to k count as below), normal approximation with μ = 2n₁n₂/n + 1, σ² = 2n₁n₂(2n₁n₂ − n)/(n²(n − 1)); correction: true applies the ±0.5 continuity correction.

      Parameters

      • x: ArrayLike<number | null | undefined>
      • Optionaloptions: { correction?: boolean; k?: number }

      Returns RunsTestResult