Learn R Programming

compareMCMCs (version 0.6.0)

Compare MCMC Efficiency from 'nimble' and/or Other MCMC Engines

Description

Manages comparison of MCMC performance metrics from multiple MCMC algorithms. These may come from different MCMC configurations using the 'nimble' package or from other packages. Plug-ins for JAGS via 'rjags' and Stan via 'rstan' are provided. It is possible to write plug-ins for other packages. Performance metrics are held in an MCMCresult class along with samples and timing data. It is easy to apply new performance metrics. Reports are generated as html pages with figures comparing sets of runs. It is possible to configure the html pages, including providing new figure components.

Copy Link

Version

Install

install.packages('compareMCMCs')

Monthly Downloads

199

Version

0.6.0

License

BSD_3_clause + file LICENSE | GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Perry de Valpine

Last Published

October 1st, 2024

Functions in compareMCMCs (0.6.0)

compareMCMCs

Run a set of MCMCs for performance comparison
MCMCdef_dummy

MCMC plugins that come with the compareMCMCs package
metrics

Built-in metrics for MCMCresult objects
modifyMetrics

Manipulate metrics in one or more MCMCresult object(s)
registerMCMCengine

Register an MCMC function for use by compareMCMCs
applyConversions

Apply a set of parameter conversions to MCMC output
MCMCresult

R6 class to hold MCMC samples, timing results, and metrics
pageComponents

Register, unregister and access page components used by make_MCMC_comparison_pages
combineMetrics

Combine all metrics from a list of MCMCresult objects.
make_MCMC_comparison_pages

Create html output with comparisons of MCMC results
registerMetrics

Register, unregister, or access registered MCMC metric functions for use by compareMCMCs or addMetrics
renameMCMC

Rename an MCMC method throughout a list of MCMCresult objects