n.pooled: Sample size for pooled testing for freedom
Description
Calculates sample size to achieve desired
population-level sensitivity, assuming pooled sampling
and allowing for imperfect sensitivity and specificity of the pooled test
Usage
n.pooled(sep, k, pstar, pse, psp = 1)
Arguments
sep
desired population sensitivity (scalar or vector)
k
pool size (constant across pools) (scalar or vector of same length as sep)
pstar
design prevalence (scalar or vector of same length as sep)
pse
pool-level sensitivity (scalar or vector of same length as sep)
psp
pool-level specificity (scalar or vector of same length as sep)