DRJP / nimbleAPT

Adaptive paralelle tempering for sampling multi-modal posteriors in NIMBLE.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nimbleAPT

A collection of functions for sampling the posterior distributions of Bayesian models (written in Nimble's implementation of the BUGS language) via an adaptive parallel tempering (APT) algorithm based on Miasojedow's 2013 and 2016 papers.

The package was previously released under the name nimble-snippets.

Installation

The package can be installed from CRAN. In the R console, just write

install.packages("nimbleAPT")

The package can also be installed from github using the R package 'remotes' as follows.

remotes::install_git(url="https://github.com/DRJP/nimbleAPT.git", subdir="nimbleAPT", build_vignettes = TRUE)

Switching to 'build_vignettes = FALSE' makes for a faster installation, and thus may be a prefered option for users already familiar with the package.

Citation

If you use this package in you analyses, please cite it using the following DOI. DOI

The full citation is available in BibTex format via the following R command.

citation("nimbleAPT")

About

Adaptive paralelle tempering for sampling multi-modal posteriors in NIMBLE.


Languages

Language:R 100.0%