runjags-package: runjags: Interface Utilities, Model Templates, Parallel...

runjags-packageR Documentation

runjags: Interface Utilities, Model Templates, Parallel Computing Methods and Additional Distributions for MCMC Models in JAGS

Description

User-friendly interface utilities for MCMC models via Just Another Gibbs Sampler (JAGS), facilitating the use of parallel (or distributed) processors for multiple chains, automated control of convergence and sample length diagnostics, and evaluation of the performance of a model using drop-k validation or against simulated data. Template model specifications can be generated using a standard lme4-style formula interface to assist users less familiar with the BUGS syntax. A JAGS extension module provides additional distributions including the Pareto family of distributions, the DuMouchel prior and the half-Cauchy prior.

Details

Just Another Gibbs Sampler (JAGS) is a program which allows analysis of Bayesian models using Markov chain Monte Carlo (MCMC) simulation, and was developed by Martyn Plummer to be an alternative to BUGS that ran on UNIX systems as well as Windows systems. This package is intended to provide additional functions to help automate the process of running models, including convergence diagnostics, collation and plotting of results, and convinience wrappers for running models (either individually or for multiple data sets) over parallel processors and distributed computing clusters.

The package also includes a JAGS extension module providing additional distributions - for more details see the runjags vignettes (links in the examples below). A standalone version of this JAGS module (as well as a version of the runjags package without this module included) is available from the runjags sourceforge page at: https://sourceforge.net/projects/runjags/

Author(s)

Maintainer: Matthew Denwood md@sund.ku.dk

Other contributors:

  • Martyn Plummer (Copyright holder of the code in src/distributions/DPar1.*, configure.ac, R/rjags_functions.R, and original copyright holder of some modified code where indicated) [copyright holder]

References

Denwood, M.J. 2016. runjags: An R Package Providing Interface Utilities, Model Templates, Parallel Computing Methods and Additional Distributions for MCMC Models in JAGS. J. Stat. Softw. 71. doi:10.18637/jss.v071.i09.

See Also

Useful links:

run.jags and extend.jags for basic model runs runjags-class for S3 methods relating to runjags objects, incluing conversion to/from jags objects (for compatibility with the rjags package) runjags.options for ways to set default options for runjags functions jags.model in the rjags package for fine control over the JAGS libraries

Examples

	## Not run: 
	# A quick-start vignette:
	vignette('quickjags', package='runjags')

	# A more comprehensive user guide:
	vignette('userguide', package='runjags')

# For information on how to cite runjags:
citation('runjags')

## End(Not run)


runjags documentation built on Aug. 21, 2023, 9:09 a.m.