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

    Function bonett2

    • Bonett's two-sample test of σ₁² = σ₂² with the small-sample correction c(α) (Minitab 2 Variances, Bonett's method): CI for the ratio exp[ln(c·s₁²/s₂²) ± z_{α/2}·√(se₁² + se₂²)], seᵢ² = (γ̂ − (nᵢ − 3)/nᵢ)/(nᵢ − 1), c = [n₁/(n₁ − z_{α/2})] / [n₂/(n₂ − z_{α/2})]. The p-value is the smallest α at which the (1 − α) interval excludes 1, so p and CI always agree.

      Parameters

      • a: ArrayLike<number | null | undefined>
      • b: ArrayLike<number | null | undefined>
      • Optionaloptions: { confidence?: number }

      Returns VarianceTestResult & { kurtosis: number }