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

    Interface ProportionCIResult<M>

    A confidence interval for a proportion, a difference or a ratio of proportions.

    interface ProportionCIResult<M extends string = string> {
        confInt: [number, number];
        confLevel: number;
        estimate: number;
        method: M;
        sides: CISides;
        warnings: string[];
    }

    Type Parameters

    • M extends string = string
    Index
    confInt: [number, number]

    [lower, upper]; with sides: "left" the upper end of the range, with "right" the lower end.

    confLevel: number

    The confidence level given (of the one-sided limit, for sides other than "two.sided").

    estimate: number

    The point estimate.

    method: M

    The method, in full.

    sides: CISides

    The sides, in full.

    warnings: string[]

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