ntpp.lasso_screenr | R Documentation |
ntpp.lasso_screenr
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 'lasso_screenr' ntpp( object, ..., model = c("minAIC", "minBIC"), type = c("cvResults", "isResults"), prev = NULL )
object |
a |
... |
optional arguments to |
model |
(character) select the model which produced the
minimum AIC ( |
type |
(character) one of |
prev |
an optional positive proportion for the test outcome; if missing
the test positivity is obtained from |
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 prevalence and Sp is specificity. The anticipated positivity among those screened out is given by
Puntested = ((1 - Se)P) / ((1 - Se)P + Sp (1 - P))
ntpp.lasso_screenr
returns a data frame containing the
following columns:
sensitivity
The sensitivity (proportion) of the screener.
specificity
The specificity (proportion) of the screener.
ntpp
the number of tests required to discover a single positive test result.
prev_untested
The antipated proportion who would positive among those who are screened out of testing.
attach(uniobj1) ntpp(uniobj1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.