sep.exact {RSurveillance} | R Documentation |
Population sensitivity for census (all units tested)
Description
Calculates population sensitivity for detecting disease assuming imperfect test sensitivity, perfect test specificity and a census of all units in the population
Usage
sep.exact(d = 1, se = 1, dig = 5)
Arguments
d |
expected number of infected units in population (=design prevalence*N rounded to next integer), scalar or vector of same length as se |
se |
unit sensitivity of test (proportion), scalar or vector |
dig |
number of digits for rounding of results |
Value
vector of population-level sensitivities
Examples
# examples for sep.exact - checked
sep.exact(d=1, se = 0.92)
inf<- 1:5
sens<- 0.8
sep.exact(d=inf, se=sens)
sep.exact(se=0.8, d = ceiling(0.01*c(10, 50, 100, 250, 500)))
[Package RSurveillance version 0.2.1 Index]