The prevalence package provides Frequentist and Bayesian methods useful in prevalence assessment studies. Several methods are available for estimating True Prevalence (TP) from Apparent Prevalence (AP).
|Derive confidence intervals for a prevalence estimate|
|Estimate TP from AP obtained by testing individual samples with a single test|
|Estimate TP from AP obtained by testing individual samples with multiple tests, using a conditional probability scheme|
|Estimate TP from AP obtained by testing individual samples with multiple tests, using a covariance scheme|
|Estimate TP from AP obtained by testing pooled samples|
|Calculate the parameters of a Beta-PERT distribution|
|Calculate the parameters of a Beta distribution based on expert opinion|
To download and install the latest released version from CRAN:
To download and install the latest development version from GitHub:
IMPORTANT: the truePrev functions in the prevalence package call on JAGS (Just Another Gibbs Sampler), which therefore has to be available on the user's system. JAGS can be downloaded from http://mcmc-jags.sourceforge.net/.
truePrev is also available as an online Shiny application: https://cbra.shinyapps.io/truePrev/
More information and tutorials are available at http://prevalence.cbra.be/