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>.

Package details

AuthorAxel Gandy [aut, cre], James Scott [aut]
MaintainerAxel Gandy <a.gandy@imperial.ac.uk>
LicenseGPL-3
Version0.3.2
URL https://bitbucket.org/agandy/mcunit/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("mcunit")

Try the mcunit package in your browser

Any scripts or data that you put into this service are public.

mcunit documentation built on April 2, 2021, 5:06 p.m.