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

    Interface TTOSTResult

    Result of tTOST and tsumTOST.

    interface TTOSTResult {
        bounds: { raw: [number, number]; smd: [number, number] };
        confLevel: number;
        hypothesis: "EQU" | "MET";
        lower: TTOSTTest;
        method: string;
        pValue: number;
        raw: { confInt: [number, number]; estimate: number; se: number };
        smd: {
            confInt: [number, number];
            df: number;
            estimate: number;
            J: number;
            label: string;
            se: number;
        };
        tTest: TTOSTTest;
        upper: TTOSTTest;
        warnings: string[];
    }
    Index
    bounds: { raw: [number, number]; smd: [number, number] }

    The bounds [low, high] in the units of the data (raw) and of the standardised difference (smd).

    Type Declaration

    • raw: [number, number]

      [low, high] in the units of the data.

    • smd: [number, number]

      [low, high] in the units of the standardised difference.

    confLevel: number

    1 - 2 alpha.

    hypothesis: "EQU" | "MET"

    "EQU" or "MET".

    lower: TTOSTTest

    The test of the lower bound: alternative "greater" (EQU) or "less" (MET).

    method: string

    The t test's method ("Welch Two Sample t-test", " Two Sample t-test", "Paired t-test", "One Sample t-test").

    pValue: number

    The p-value of the TOST: the larger (EQU) or the smaller (MET) of the p-values of lower and upper.

    raw: { confInt: [number, number]; estimate: number; se: number }

    The raw effect, the difference minus mu: estimate, standard error and 1 − 2 alpha interval.

    Type Declaration

    • confInt: [number, number]

      Its 1 − 2 alpha interval.

    • estimate: number

      The difference minus mu.

    • se: number

      Its standard error.

    smd: {
        confInt: [number, number];
        df: number;
        estimate: number;
        J: number;
        label: string;
        se: number;
    }

    The standardised mean difference: its label ("Hedges's g(av)", "Cohen's d", "Hedges's g(z)", "Glass's delta(g)", ...), estimate, standard error, 1 − 2 alpha interval, the degrees of freedom of its interval and the bias correction J (1 without it).

    Type Declaration

    • confInt: [number, number]

      Its 1 − 2 alpha interval.

    • df: number

      The degrees of freedom of the interval.

    • estimate: number

      The estimate.

    • J: number

      The bias correction J (1 without it).

    • label: string

      The name of the standardised difference, such as "Hedges's g(av)".

    • se: number

      Its standard error.

    tTest: TTOSTTest

    The two-sided t test of the difference against mu (TOSTER's "t-test" row).

    upper: TTOSTTest

    The test of the upper bound: alternative "less" (EQU) or "greater" (MET).

    warnings: string[]

    TOSTER's notes, as warnings.