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

    Interface DiagnosticTestsResult

    Result of diagnosticTests.

    interface DiagnosticTestsResult {
        accuracy: DiagnosticMeasure;
        apparentPrevalence: DiagnosticMeasure;
        confLevel: number;
        diagnosticOR: DiagnosticMeasure;
        lrNeg: DiagnosticMeasure;
        lrPos: DiagnosticMeasure;
        method: "exact" | "wilson" | "jeffreys";
        npv: DiagnosticMeasure;
        npvAtPrevalence?: number;
        ppv: DiagnosticMeasure;
        ppvAtPrevalence?: number;
        prevalence: DiagnosticMeasure;
        sensitivity: DiagnosticMeasure;
        specificity: DiagnosticMeasure;
        warnings: string[];
    }
    Index

    Diagnostic accuracy (a + d)/total.

    apparentPrevalence: DiagnosticMeasure

    Apparent prevalence (a + b)/total (epiR's "ap").

    confLevel: number

    The confidence level.

    diagnosticOR: DiagnosticMeasure

    Diagnostic odds ratio ad/(bc), with Woolf's interval.

    Negative likelihood ratio (1 − se)/sp, with the log interval.

    Positive likelihood ratio se/(1 − sp), with the log interval.

    method: "exact" | "wilson" | "jeffreys"

    The method of the proportions' intervals, in full.

    Negative predictive value d/(c + d).

    npvAtPrevalence?: number

    The negative predictive value at the prevalence given in the options (absent without it).

    Positive predictive value a/(a + b).

    ppvAtPrevalence?: number

    The positive predictive value at the prevalence given in the options (absent without it).

    prevalence: DiagnosticMeasure

    True prevalence (a + c)/total (epiR's "tp").

    sensitivity: DiagnosticMeasure

    Sensitivity a/(a + c).

    specificity: DiagnosticMeasure

    Specificity d/(b + d).

    warnings: string[]

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