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

    Interface BinomDiffEquivalenceTestResult

    interface BinomDiffEquivalenceTestResult {
        alpha: number;
        confInt: [number, number];
        confLevel: number;
        estimate: number;
        margin: number;
        method: BinomDiffEquivalenceMethod;
        pValue: number;
        pValues: [number, number];
        result: "rejected" | "not rejected";
        statistic: [number, number];
        statisticName: string;
        warnings: string[];
    }
    Index
    alpha: number

    The level of each one-sided test.

    confInt: [number, number]

    The 1 - 2 alpha interval of p1 - p2 of binomDiffCI with the same method; equivalence is shown exactly when it lies inside (-margin, margin).

    confLevel: number

    1 - 2 alpha.

    estimate: number

    The estimate p1 - p2.

    margin: number

    The margin epsilon.

    The statistic, in full ("mn", "mee" or "wald").

    pValue: number

    The larger of pValues: the p-value of the test of equivalence.

    pValues: [number, number]

    [P(Z > z(-margin)), P(Z < z(margin))]: the one-sided p-values of H01 and H02.

    result: "rejected" | "not rejected"

    "rejected" (equivalence shown: both p-values below alpha) or "not rejected", as tost's result.

    statistic: [number, number]

    [z(-margin), z(margin)], z(delta0) = (p1 - p2 - delta0) / sqrt(var(delta0)): the statistics of H01: p1 - p2 <= -margin (large values reject) and of H02: p1 - p2 >= margin (small values reject).

    statisticName: string

    "z".

    warnings: string[]

    Warnings (none: input without a defined result is an error).