statinfer
    Preparing search index...

    Interface ChiSquareIndependenceOptions

    Options for a chi-square test of independence.

    interface ChiSquareIndependenceOptions {
        correction?: boolean;
        table: readonly (readonly number[])[];
    }
    Index
    correction?: boolean

    Apply Yates' continuity correction to 2×2 tables. Default: true.

    table: readonly (readonly number[])[]

    A table of counts, as rows. Needs at least 2 rows and 2 columns.