The prevalence package provides Frequentist and Bayesian methods useful in prevalence assessment studies. Visit http://prevalence.cbra.be/ for more information and tutorials.
Package: | prevalence |
Type: | Package |
Version: | 0.4.1 |
Date: | 2022-06-03 |
BugReports: | https://github.com/brechtdv/prevalence/issues |
Depends: | R (>= 4.0.0), rjags, coda, methods |
SystemRequirements: | JAGS (>= 3.2.0) (see https://mcmc-jags.sourceforge.io/) |
License: | GNU >= 2 |
Available functions in the prevalence package:
propCI |
Derive confidence intervals for an apparent prevalence estimate |
truePrev |
Estimate TP from AP obtained by testing individual samples with a single test |
truePrevMulti |
Estimate TP from AP obtained by testing individual samples with multiple tests, using a conditional probability scheme |
truePrevMulti2 |
Estimate TP from AP obtained by testing individual samples with multiple tests, using a covariance scheme |
truePrevPools |
Estimate TP from AP obtained by testing pooled samples |
Calculate the parameters of a Beta-PERT distribution |
IMPORTANT: the truePrev
functions in the prevalence package call on JAGS (Just Another Gibbs Sampler), through the rjags package. Therefore, JAGS has to be installed on the user's system.
JAGS can be downloaded from https://mcmc-jags.sourceforge.io/