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

    Interface VarTestResult

    Result of varTest. The F distribution has two degrees of freedom, so parameter is a pair.

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

    Hierarchy

    • Omit<HTest, "parameter" | "parameterName">
      • VarTestResult
    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

    Ratio of the sample variances.

    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

    Value of the parameter under the null hypothesis (R's null.value).

    nullValueName?: string

    Name of nullValue (R's names(null.value)), e.g. "difference in means".

    parameter: [number, number]

    [num df, denom df].

    parameterName: [string, string]

    Names of parameter: ["num df", "denom 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).