npv: Negative Predictive Value

View source: R/predictive_value.R

npvR Documentation

Negative Predictive Value

Description

Calculate Negative Predictive Value (NPV) in a population based on sensitivity, specificity, and prevalence estimates.

Usage

npv(sensitivity, specificity, prevalence)

Arguments

sensitivity

The estimate of Sensitivity (PPA)

specificity

The estimate of Specificity (NPA)

prevalence

The estimate of the prevalence of the condition in the population.

Value

The negative predictive value

Examples

npv(0.95, 0.95, 0.05)

bjoleary/dxr documentation built on Dec. 5, 2023, 8:33 p.m.