tp.normal: Normal approximation confidence limits for true prevalence
Description
Estimates true prevalence and confidence limits for
estimates based on normal approximation
Usage
tp.normal(x, n, se, sp, conf = 0.95)
Arguments
x
number of positive results in sample (scalar or vector)
n
sample size (scalar or vector)
se
test unit sensitivity (scalar or vector)
sp
test unit specificity (scalar or vector)
conf
desired level of confidence for CI, default = 0.95 (scalar or vector)
Value
list with 2 elements, a matrix of apparent prevalence and wilson lower and upper confidence limits
and a matrix of true prevalence and normal approximation lower and upper confidence limits