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

    Interface PowerTTestResult

    Result of powerTTest: R's power.htest with the solved quantity filled in.

    interface PowerTTestResult {
        alternative: "two.sided" | "one.sided";
        delta: number;
        method: string;
        n: number;
        note?: string;
        power: number;
        sd: number;
        sigLevel: number;
        warnings: string[];
    }
    Index
    alternative: "two.sided" | "one.sided"

    "two.sided" or "one.sided".

    delta: number

    True difference in means.

    method: string

    Description of the calculation.

    n: number

    Number of observations (per group, or of pairs).

    note?: string

    A note on the sample size.

    power: number

    Power of the test.

    sd: number

    Standard deviation.

    sigLevel: number

    Significance level (R's sig.level).

    warnings: string[]

    R's warnings, each once, in R's order (an empty array when there are none).