NPV {causalDisco} R Documentation

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)


Arguments

 confusion Confusion matrix as obtained from confusion

Value

A numeric in [0,1].

[Package causalDisco version 0.9.1 Index]