specificity | R Documentation |
Calculates diagnostic test specificity and 95 percent confidence intervals for data from a 2x2 table
specificity(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 |
Specificity 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. Weissberger GH, Strong JV, Stefanidis KB, Summers MJ, Bondi MW, Stricker NH. Diagnostic accuracy of memory measures in Alzheimer's dementia and mild Cognitive Impairment: a Systematic Review and Meta-Analysis. Neuropsychol Rev. 2017;27(4):354-388.
#Specificity calculation from Figure 11, Line 22 of Weissberger et al
specificity (121, 50, 13, 199)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.