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

    Interface PropTestResult

    Result of propTest.

    interface PropTestResult {
        alternative: Alternative;
        confInt?: [number, number];
        confLevel?: number;
        estimate: number | number[];
        estimateNames?: string | string[];
        method: string;
        nullValue?: number | number[];
        nullValueName?: string | string[];
        parameter: number;
        parameterName?: string;
        pValue: number;
        statistic: number;
        statisticName: string;
        warnings: string[];
    }

    Hierarchy

    • Omit<HTest, "nullValue" | "nullValueName">
      • PropTestResult
    Index
    alternative: Alternative

    Alternative hypothesis, always in full form.

    confInt?: [number, number]

    Confidence interval [lower, upper] (R's conf.int).

    confLevel?: number

    Confidence level of confInt (R's attr(conf.int, "conf.level")).

    estimate: number | number[]

    The observed proportion(s).

    estimateNames?: string | string[]

    Name(s) of estimate (R's names(estimate)), e.g. "mean of x".

    method: string

    Description of the test, as R's method (e.g. "Welch Two Sample t-test").

    nullValue?: number | number[]

    Hypothesized proportion(s), when given or for one group.

    nullValueName?: string | string[]

    Names of nullValue (R's names(null.value)), one per group.

    parameter: number

    Degrees of freedom (parameterName is "df").

    parameterName?: string

    Name of parameter (e.g. "df").

    pValue: number

    p-value of the test (R's p.value).

    statistic: number

    Value of the test statistic (R's statistic).

    statisticName: string

    Name of the test statistic (e.g. "t", "X-squared", "V", "W").

    warnings: string[]

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