prevalence-package | R Documentation |
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 |
betaPERT | Calculate the parameters of a Beta-PERT distribution |
betaExpert | Calculate the parameters of a Beta distribution based on expert opinion |
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/
Creator, Maintainer
Brecht Devleesschauwer <brechtdv@gmail.com>
Contributors
Paul Torgerson, Johannes Charlier, Bruno Levecke, Nicolas Praet, Sophie Roelandt, Suzanne Smit, Pierre Dorny, Dirk Berkvens, Niko Speybroeck
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.