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

    Interface AnsariTestOptions

    Options for ansariTest.

    interface AnsariTestOptions {
        alternative?: "l" | Alternative | "two" | "g";
        confInt?: boolean;
        confLevel?: number;
        exact?: boolean;
    }
    Index
    alternative?: "l" | Alternative | "two" | "g"

    Alternative hypothesis (unambiguous abbreviations accepted). Default "two.sided".

    confInt?: boolean

    Compute a confidence interval for the ratio of scales and its estimate (R's conf.int). Default false.

    confLevel?: number

    Confidence level of the interval. Default 0.95.

    exact?: boolean

    Exact p-value. Default: exact when both samples have fewer than 50 values and there are no ties. The exact distribution keeps 2 (m + 1) (floor((m + n + 1)^2 / 4) + 1) doubles and makes m + n passes over half of them; beyond 2^24 doubles or 2^32 steps (m = n = 203, or m = 1 and n = 2047) it is a RangeError (R computes it however large).