statinfer
    Preparing search index...

    Interface ChiSquareGoodnessOfFitOptions

    Options for a chi-square goodness-of-fit test.

    interface ChiSquareGoodnessOfFitOptions {
        expectedProportions?: readonly number[];
        observed: readonly number[];
    }
    Index
    expectedProportions?: readonly number[]

    Expected proportion for each category, adding up to 1. Default: all equal.

    observed: readonly number[]

    Observed counts in each category.