Description Usage Arguments Details Value Author(s) References See Also Examples
Find the optimal testing configuration (OTC) for non-informative two-stage hierarchical (Dorfman) testing and calculate the associated operating characteristics.
1 |
p |
the probability of disease, which can be specified as an overall probability of disease or a homogeneous vector of individual probabilities. |
Se |
the sensitivity of the diagnostic test. |
Sp |
the specificity of the diagnostic test. |
group.sz |
a single group size for which to calculate operating characteristics, or a range of group sizes over which to find the OTC. The details of group size specification are given under 'Details'. |
obj.fn |
a list of objective functions which are minimized to find the OTC. The expected number of tests per individual, "ET", will always be calculated. Additional options include "MAR" (the expected number of tests divided by the expected number of correct classifications, described in Malinovsky et al. (2016)), and "GR" (a linear combination of the expected number of tests, the number of misclassified negatives, and the number of misclassified positives, described in Graff & Roeloffs (1972)). See Hitt et al. (2018) at http://chrisbilder.com/grouptesting for additional details. |
weights |
a matrix of up to six sets of weights for the GR function. Each set of weights is specified by a row of the matrix. |
This function finds the OTC and computes the associated operating characteristics for non-informative two-stage hierarchical (Dorfman) testing. Operating characteristics calculated are expected number of tests, pooling sensitivity, pooling specificity, pooling positive predictive value, and pooling negative predictive value for the algorithm. See Hitt et al. (2018) at http://chrisbilder.com/grouptesting, Dorfman (1943), or Kim et al. (2007) for additional details on the implementation of non-informative two-stage hierarchical testing.
The value(s) specified by group.sz represent the initial (stage 1) group size. If a single value is provided for group.sz, operating characteristics will be calculated and no optimization will be performed. If a range of group sizes is specified, the OTC will be found over all group sizes.
The displayed pooling sensitivity, pooling specificity, pooling positive predictive value, and pooling negative predictive value are weighted averages of the corresponding individual accuracy measures for all individuals within the initial group for a hierarchical algorithm. Expressions for these averages are provided in the Supplementary Material for Hitt et al. (2018). These expressions are based on accuracy definitions given by Altman and Bland (1994a, 1994b).
A list containing:
prob |
the probability of disease, as specified by the user. |
Se |
the sensitivity of the diagnostic test. |
Sp |
the specificity of the diagnostic test. |
opt.ET, opt.MAR, opt.GR |
a list for each objective function specified by the user, containing:
|
Brianna D. Hitt
Altman1994abinGroup
\insertRefAltman1994bbinGroup
\insertRefDorfman1943binGroup
\insertRefGraff1972binGroup
\insertRefHitt2018binGroup
\insertRefKim2007binGroup
\insertRefMalinovsky2016binGroup
Inf.Dorf
for informative two-stage hierarchical (Dorfman) testing,
NI.D3
for non-informative three-stage hierarchical testing,
Inf.D3
for informative three-stage hierarchical testing,
and OTC
for finding the optimal testing configuration for a number
of standard group testing algorithms.
http://chrisbilder.com/grouptesting
Other OTC functions: Inf.Array
,
Inf.D3
, Inf.Dorf
,
NI.A2M
, NI.Array
,
NI.D3
, OTC
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Find the OTC for non-informative two-stage
# hierarchical (Dorfman) testing over a range
# of group sizes.
# This example takes less than 1 second to run.
# Estimated running time was calculated using a
# computer with 16 GB of RAM and one core of an
# Intel i7-6500U processor.
NI.Dorf(p=0.01, Se=0.95, Sp=0.95, group.sz=2:100,
obj.fn=c("ET", "MAR"))
# Calculate the operating characteristics for a specified
# initial group size for non-informative two-stage
# hierarchical (Dorfman) testing.
# This example takes less than 1 second to run.
# Estimated running time was calculated using a
# computer with 16 GB of RAM and one core of an
# Intel i7-6500U processor.
NI.Dorf(p=rep(0.025, 50), Se=0.90, Sp=0.90, group.sz=50,
obj.fn=c("ET", "MAR", "GR"), weights=matrix(data=c(1,1,10,10),
nrow=2, ncol=2, byrow=TRUE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.