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

    Function chi2gof

    • Chi-square goodness of fit (scipy chisquare, Minitab Chi-Square Goodness-of-Fit). expected may be counts or probabilities (they are rescaled to the observed total); omitted → uniform. ddof reduces the degrees of freedom by the number of parameters estimated from the data.

      Parameters

      • observed: number[]
      • Optionalexpected: number[]
      • Optionaloptions: { ddof?: number }

      Returns Chi2Result