statinfer
    Preparing search index...

    Interface TestResult

    The standard result returned by every hypothesis test in statinfer.

    interface TestResult {
        alternative: Alternative | null;
        confidenceInterval: readonly [number, number] | null;
        confidenceLevel: number | null;
        df: number | readonly [number, number] | null;
        estimate: number | null;
        method: string;
        pValue: number;
        statistic: number;
    }
    Index
    alternative: Alternative | null

    Null for tests that have no direction, such as ANOVA or chi-square.

    confidenceInterval: readonly [number, number] | null

    Lower and upper bounds for estimate, or null if the test doesn't provide one. One-sided tests have one open-ended bound.

    confidenceLevel: number | null

    The confidence level used for confidenceInterval, e.g. 0.95, or null if there's no interval.

    df: number | readonly [number, number] | null

    Degrees of freedom: one number, two numbers for F-tests, or null if not applicable.

    estimate: number | null

    The estimated effect, e.g. a mean difference or odds ratio, or null if not applicable.

    method: string

    A human-readable name, e.g. "Welch two-sample t-test".

    pValue: number

    The probability of a result at least this extreme if the null hypothesis were true.

    statistic: number

    The test statistic, e.g. t, z, chi-square or F.