Description Usage Arguments Value Examples
View source: R/risk_based_functions.R
Calculates sample size for risk-based sampling for a single risk factor and using binomial method
1 |
pstar |
design prevalence (scalar) |
rr |
relative risk values (vector, length equal to the number of risk strata) |
ppr |
population proportions corresponding to rr values (vector of equal length to rr) |
spr |
planned surveillance proportion for each risk group (vector equal length to rr, ppr) |
se |
unit sensitivity (fixed or vector same length as rr, ppr, n) |
sep |
required population sensitivity (scalar) |
list of 2 elements, a vector of sample sizes for each risk group a scalar of total sample size, a vector of EPI values and a vector of adjusted risks
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.