rStats.js v1.3.0
    Preparing search index...

    Interface GTestOptions

    Options for gTest.

    interface GTestOptions {
        correct?: string & {} | GTestCorrection;
        p?: readonly number[];
        rescaleP?: boolean;
    }
    Index
    correct?: string & {} | GTestCorrection

    "none" (default), "williams" (Williams' correction q of the statistic) or "yates" (Yates' correction of the counts by 0.5, 2 x 2 tables and two-category goodness of fit only). Unambiguous abbreviations are accepted.

    p?: readonly number[]

    Expected probabilities for the goodness-of-fit test. Default: equal probabilities. Ignored for a table.

    rescaleP?: boolean

    Rescale p to sum to 1. Default false, in which case p must sum to 1 (within sqrt(eps)).