ntpp.data.frame | R Documentation |
ntpp.data.frame
computes the ratio of the total number of
tests performed per positive test result and the anticipated proportion of the
untested (those screened out of testing) who would actually test positive.
## S3 method for class 'data.frame' ntpp(object, ...)
object |
a dataframe containing columns named |
... |
optional arguments to |
The anticipated number of tests required to detect a single positive nntp is given by
nntp = (SeP + (1 - Sp)(1 - P)) / SeP
where Se is sensitivity, P is positivity and Sp is specificity. The anticipated positive proportion among those screened out is given by
Puntested = ((1 - Se)P) / ((1 - Se)P + Sp (1 - P))
ntpp.easy_tool
returns a data frame containing the
following columns:
sensitivity
the sensitivity (proportion)
specificity
the specificity (proportion)
prev
positive proportion of the test condition
ntpp
anticipated total tests required per positive result
prev_untested
anticipated positive proportion among the untested
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.