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

    Interface McregOptions

    Options for mcreg.

    interface McregOptions {
        confLevel?: number;
        errorRatio?: number;
        iterMax?: number;
        methodBootstrapCi?: string & {} | McregBootstrapCiMethod;
        methodCi?: string & {} | McregCiMethod;
        methodReg?: string & {} | McregMethod;
        naRm?: boolean;
        nnested?: number;
        nsamples?: number;
        rngSeed?: number;
        slopeMeasure?: string & {} | "radian" | "tangent";
        threshold?: number;
    }
    Index
    confLevel?: number

    Level of the intervals, in (0, 1) (mcr's 1 - alpha). Default 0.95.

    errorRatio?: number

    The ratio of the error variances σ²(x)/σ²(y), x the reference method (mcr's error.ratio; Deming and weighted Deming), positive and finite. Default 1.

    iterMax?: number

    Weighted Deming: the largest number of iterations, a positive integer. Default 30.

    methodBootstrapCi?: string & {} | McregBootstrapCiMethod

    The bootstrap interval: "quantile" (the default), "Student", "BCa" or "tBoot" (bootstrap-t: with Deming or with nested resamples).

    methodCi?: string & {} | McregCiMethod

    "analytical" (the default for Deming and Passing-Bablok; not available for weighted Deming), "jackknife" (the default for weighted Deming), "bootstrap" or "nestedbootstrap". mcr's default is "bootstrap".

    methodReg?: string & {} | McregMethod

    "PaBa" (Passing-Bablok, the default, as mcr), "Deming" or "WDeming" (weighted Deming, constant coefficient of variation). Unambiguous abbreviations are accepted.

    naRm?: boolean

    Drop the pairs with NaN (otherwise they are an error). Default false.

    nnested?: number

    Number of inner resamples of each resample for "nestedbootstrap", a positive integer. Default 25.

    nsamples?: number

    Number of bootstrap resamples, a positive integer. Default 999.

    rngSeed?: number

    Seed of the resamples: the stream of R's set.seed(rngSeed, kind = "Mersenne-Twister"), as mcr's rng.seed; the state of the generator is restored afterwards if it had one (in a session that never drew a random number, the stream of the seed continues, as in R). Without it the resamples are drawn from the current stream.

    slopeMeasure?: string & {} | "radian" | "tangent"

    Passing-Bablok: the mean of two middle slopes as "radian" (tan of the mean angle, the default) or "tangent".

    threshold?: number

    Weighted Deming: the iteration stops when both coefficients change by less than this (absolute). Default 1e-6.