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

    Interface RocResult

    A ROC curve: the result of roc, as pROC's roc object.

    interface RocResult {
        auc: number;
        cases: number[];
        controls: number[];
        direction: RocDirection;
        levels: [string, string];
        sensitivities: number[];
        specificities: number[];
        thresholds: number[];
        warnings: string[];
    }
    Index
    auc: number

    The area under the curve.

    cases: number[]

    The predictor values of the cases, in input order (missing values removed).

    controls: number[]

    The predictor values of the controls, in input order (missing values removed).

    direction: RocDirection

    The direction used (the one chosen by "auto", or the one given).

    levels: [string, string]

    The control and the case level, as strings (["0", "1"] for the { controls, cases } form).

    sensitivities: number[]

    The sensitivity at each threshold (from 1 down to 0).

    specificities: number[]

    The specificity at each threshold (from 0 up to 1).

    thresholds: number[]

    The thresholds, from -Infinity up to Infinity for direction "<" and down from Infinity for ">": the midpoints between consecutive distinct values of the predictor.

    warnings: string[]

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