ppv: Positive Predictive Value Calculation From a 2x2 Table

Description Usage Arguments Value Author(s) References Examples

View source: R/ppv.R

Description

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

Usage

1
ppv(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

Positive 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

1
2
3
#From Figure 2 in Safari et al (2015)

ppv(15, 6, 25, 34)

ClinSigMeasures documentation built on Feb. 25, 2021, 5:08 p.m.