nnd | R Documentation |
Calculates the Number Needed to Diagnose for data from a 2x2 table
nnd(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 |
Number Needed to Diagnose
Mike Malek-Ahmadi
1. Larner AJ. Number Needed to Diagnose, Predict, or Misdiagnose: Useful Metrics for Non-Canonical Signs of Cognitive Status? Dement Geriatr Cogn Disord Extra 2018;8:321–327
#From Shaikh (2011), page 3, 2x2 table for "Diagnostic Test Evaluation"
#NND is the inverse of the Youden Index (1 / Youden Index)
nnd(105, 171, 15, 87)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.