npv | R Documentation |
Calculates diagnostic test negative predictive value and 95 percent confidence intervals for data from a 2x2 table
npv(Cell1, Cell2, Cell3, Cell4)
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 |
Negative Predictive Value and 95 percent confidence intervals
Mike Malek-Ahmadi
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.
#From Figure 2 in Safari et al (2015)
npv(15, 6, 25, 34)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.