Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

npv

Negative Predictive Value Calculation From a 2x2 Table


Description

Calculates diagnostic test negative predictive value and 95 percent confidence intervals for data from a 2x2 table

Usage

npv(Cell1, Cell2, Cell3, Cell4)

Arguments

Cell1

Value for cases with a positive test

Cell2

Value for controls with a positive test

Cell3

Value for cases with a negative test

Cell4

Value for controls with a negative test

Value

Negative Predictive Value and 95 percent confidence intervals

Author(s)

Mike Malek-Ahmadi

References

1. Trevethan R. Sensitivity, specificity, and predictive values: Foundations, pliabilities, and pitfalls in research and practice. Frontiers in Public Health 2017;5:307.

2. Safari S, Baratloo A, Elfil M, Negida A. Evidence Based Emergency Medicine Part 2: Positive and negative predictive values of diagnostic tests. Emerg (Tehran) 2015;3(3):87-88.

Examples

#From Figure 2 in Safari et al (2015)

npv(15, 6, 25, 34)

ClinSigMeasures

Clinical Significance Measures

v1.0
GPL-3
Authors
Mike Malek-Ahmadi <michael.malekahmadi@bannerhealth.com>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.