Package: bayescount 1.0.0-9

bayescount: Statistical Analyses and Power Calculations for Count Data and Faecal Egg Count Reduction Tests (FECRT)

Power calculations and hypothesis testing for the difference in mean of two negative binomial distributions A set of functions to allow analysis of count data (such as faecal egg count data) using Bayesian MCMC methods. Returns information on the possible values for mean count, coefficient of variation and zero inflation (true prevalence) present in the data. A complete faecal egg count reduction test (FECRT) model is implemented, which returns inference on the true efficacy of the drug from the pre- and post-treatment data provided, using non-parametric bootstrapping as well as using Bayesian MCMC. Functions to perform power analyses for faecal egg counts (including FECRT) are also provided. A working installation of JAGS (<http://mcmc-jags.sourceforge.net>) is required for MCMC-based methods

Authors:Matthew Denwood [aut, cre], Bob Wheeler [cph]

bayescount_1.0.0-9.tar.gz
bayescount_1.0.0-9.zip(r-4.5)bayescount_1.0.0-9.zip(r-4.4)bayescount_1.0.0-9.zip(r-4.3)
bayescount_1.0.0-9.tgz(r-4.4-x86_64)bayescount_1.0.0-9.tgz(r-4.4-arm64)bayescount_1.0.0-9.tgz(r-4.3-x86_64)bayescount_1.0.0-9.tgz(r-4.3-arm64)
bayescount_1.0.0-9.tar.gz(r-4.5-noble)bayescount_1.0.0-9.tar.gz(r-4.4-noble)
bayescount.pdf |bayescount.html
bayescount/json (API)

# Install 'bayescount' in R:
install.packages('bayescount', repos = c('https://mdenwood.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mdenwood/bayescount/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • jags– Just Another Gibbs Sampler for Bayesian MCMC

On CRAN:

94 exports 0.95 score 4 dependencies 1 mentions 9 scripts 390 downloads

Last updated 5 years agofrom:a9906dcb6d. Checks:OK: 1 WARNING: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 07 2024
R-4.5-win-x86_64WARNINGSep 07 2024
R-4.5-linux-x86_64WARNINGSep 07 2024
R-4.4-win-x86_64WARNINGSep 07 2024
R-4.4-mac-x86_64WARNINGSep 07 2024
R-4.4-mac-aarch64WARNINGSep 07 2024
R-4.3-win-x86_64WARNINGSep 07 2024
R-4.3-mac-x86_64WARNINGSep 07 2024
R-4.3-mac-aarch64WARNINGSep 07 2024

Exports:analyse_fecrassess.varianceasymptotic_cibayescount.singlebinary.searchbnb_pscheckintlimitchecklen2posdoublechecksinglelogicalchecksingleposdoublechecksingleposintchecksingleprobconjbeta_cicount_analysescount_analysiscount_modelcount_powercount_precisioncount.analysiscount.modelcount.powercount.precisiondobson_ciestimate_kestimate_k_experimentestimate_k_mlestimate_k_uselessestimate_ksestimate_ks_oldestimate_ks_old_oldfec.analysisFEC.analysisfec.modelFEC.modelfec.powerFEC.powerfec.power.limitsFEC.power.limitsfec.precisionFEC.precisionfecrtFECRTfecrt_analysesfecrt_bnbfecrt_powerfecrt_power_comparison_wrapfecrt_power_pairedfecrt_power_pooledfecrt_power_unpairedfecrt_power_wrapfecrt_sim_pairedfecrt_sim_unpairedfecrt.analysisFECRT.analysisfecrt.modelFECRT.modelfecrt.powerFECRT.powerfecrt.power.limitsFECRT.power.limitsfecrt.precisionFECRT.precisionfind_thetafindthetaget_type_ciget_type_pvlnormal_paramslnormal.paramsmethodcompnormal_paramsnormal.paramsolderprint.fecrt.resultspbeta_nbinompbnbpbnb1pbnb2pghyperpowersim_pairedpowersim_unpairedprint.fecrt_resultsreduction_analysisreduction_modelreduction_powerreduction_precisionreduction_pvalreduction_pvalsreduction.analysisreduction.modelreduction.powerreduction.precisionrun.modelshiny_launchsummarise_fecrwaavp_ci

Dependencies:codalatticeRcpprunjags

Readme and manuals

Help Manual

Help pageTopics
Analysis and power calculations for faecal egg count (FEC) and faecal egg count reduction test (FECRT) data using computationally intensive statistical methodsbayescount-package bayescount bayescountpackage
Count data analysisbayescount.single count.analysis count_analysis FEC.analysis fec.analysis
Count data modelcount.model count_model FEC.model fec.model run.model
Count data power calculationscount.power count_power FEC.power fec.power
Count data precision calculationscount.precision count_precision FEC.power.limits fec.power.limits FEC.precision fec.precision
Analyse Count data using MCMCbayescount.single count.analysis FEC.analysis fec.analysis
Analyse Count Data Using Jagscount.model FEC.model fec.model run.model
Count Data Power Analysis Calculationscount.power FEC.power fec.power
Count Data Predicted Precision Calculationscount.precision FEC.power.limits fec.power.limits FEC.precision fec.precision
FECRT Power Analysis CalculationsFECRT.power fecrt.power
FECRT Predicted Precision CalculationsFECRT.power.limits fecrt.power.limits FECRT.precision fecrt.precision
Calculate the (Log) Likelihood of Obtaining Data from a Distributionlikelihood
Calculate the Log-Normal Mean and Standard Deviation Using the Normal Mean and Standard Deviation and Vice Versalnormal.params lnormal_params normal.params normal_params
Calculate the Log-Normal Mean and Standard Deviation Using the Normal Mean and Standard Deviationlnormal.params
Calculate the Maximum Likelihood Parameters of a Continuous or Count Distributionmaximise.likelihood
Calculate the Normal Mean and Standard Deviation Using the Log-Normal Mean and Standard Deviationnormal.params
Analyse two sets of count data (such as FECRT) compared to a desired mean reductionFECRT fecrt, fecrt.analysis FECRT.analysis, reduction.analysis reduction_analysis
Generate an un-run MCMC model for FECRT dataFECRT.model fecrt.model reduction.model reduction_model
Count reduction (eg FECRT) data power calculationsFECRT.power fecrt.power reduction.power reduction_power reduction_pval
Count data reduction precision calculationsFECRT.power.limits fecrt.power.limits FECRT.precision fecrt.precision reduction.precision reduction_precision