Package: mcunit 0.3.4

mcunit: Unit Tests for MC Methods

Unit testing for Monte Carlo methods, particularly Markov Chain Monte Carlo (MCMC) methods, are implemented as extensions of the 'testthat' package. The MCMC methods check whether the MCMC chain has the correct invariant distribution. They do not check other properties of successful samplers such as whether the chain can reach all points, i.e. whether is recurrent. The tests require the ability to sample from the prior and to run steps of the MCMC chain. The methodology is described in Gandy and Scott (2020) <arxiv:2001.06465>.

Authors:Axel Gandy [aut, cre], James Scott [aut]

mcunit_0.3.4.tar.gz
mcunit_0.3.4.zip(r-4.5)mcunit_0.3.4.zip(r-4.4)mcunit_0.3.4.zip(r-4.3)
mcunit_0.3.4.tgz(r-4.5-any)mcunit_0.3.4.tgz(r-4.4-any)mcunit_0.3.4.tgz(r-4.3-any)
mcunit_0.3.4.tar.gz(r-4.5-noble)mcunit_0.3.4.tar.gz(r-4.4-noble)
mcunit_0.3.4.tgz(r-4.4-emscripten)mcunit_0.3.4.tgz(r-4.3-emscripten)
mcunit.pdf |mcunit.html
mcunit/json (API)
NEWS

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

Bug tracker:https://bitbucket.org/agandy/mcunit

On CRAN:

Conda:

4.00 score 1 scripts 205 downloads 13 exports 90 dependencies

Last updated 3 years agofrom:82bb329939. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 07 2025
R-4.5-winOKMar 07 2025
R-4.5-macOKMar 07 2025
R-4.5-linuxOKMar 07 2025
R-4.4-winOKMar 07 2025
R-4.4-macOKMar 07 2025
R-4.4-linuxOKMar 07 2025
R-4.3-winOKMar 07 2025
R-4.3-macOKMar 07 2025

Exports:expect_bernoulliexpect_mc_iid_chisqexpect_mc_iid_ksexpect_mc_iid_meanexpect_mc_testexpect_mcmcexpect_mcmc_reversiblemc_testplot_sample_acfssample_acfssample_directsample_indirectsample_rank

Dependencies:abindbackportsbootbriobroomcallrcarcarDatacheckmateclicolorspacecorrplotcowplotcpp11crayonDerivdescdiffobjdigestdoBydplyrevaluatefansifarverFormulafsgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandjsonlitelabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgbuildpkgconfigpkgloadpolynompraiseprocessxpspurrrquantregR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangrprojrootrstatixscalessimctestSparseMstringistringrsurvivaltestthattibbletidyrtidyselectutf8vctrsviridisLitewaldowithr

Checking Levels of Tests or Coverage Probabilities of CIs

Rendered fromlevelcoverageprob.Rmdusingknitr::rmarkdownon Mar 07 2025.

Last update: 2021-03-26
Started: 2020-02-26

Introduction to mcunit

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Mar 07 2025.

Last update: 2021-03-26
Started: 2020-01-27