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

    Interface FisherTestResult

    Result of fisherTest. Has no statistic or statisticName, because R's fisher.test() does not return a statistic. For 2 x 2 tables, estimate is the conditional maximum likelihood estimate of the odds ratio and confInt its interval; for larger tables only method, alternative and pValue are set.

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

    Hierarchy

    • Omit<HTest, "statistic" | "statisticName">
      • FisherTestResult
    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[]

    Estimate(s) of the parameter being tested (R's estimate).

    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

    Parameter of the null distribution of the statistic, such as degrees of freedom (R's parameter).

    parameterName?: string

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

    pValue: number

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

    warnings: string[]

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