Learn R Programming

causalDisco (version 0.9.5)

NPV: Negative predictive value

Description

Computes negative predictive value recall from a confusion matrix, see confusion. Negative predictive value is defined as TN/(TN + FN), where TN are true negatives and FN are false negatives. If TP + FN = 0, 0 is returned.

Usage

NPV(confusion)

Value

A numeric in [0,1].

Arguments

confusion

Confusion matrix as obtained from confusion