sams: Merge-Split Samplers for Conjugate Bayesian Nonparametric Models

Markov chain Monte Carlo samplers for posterior simulations of conjugate Bayesian nonparametric mixture models. Functionality is provided for Gibbs sampling as in Algorithm 3 of Neal (2000) <doi:10.1080/10618600.2000.10474879>, restricted Gibbs merge-split sampling as described in Jain & Neal (2004) <doi:10.1198/1061860043001>, and sequentially-allocated merge-split sampling <doi:10.1080/00949655.2021.1998502>, as well as summary and utility functions.

Version: 0.4.3
Depends: R (≥ 3.5.0)
Imports: graphics, stats
Published: 2022-04-19
Author: Spencer Newcomb [aut], David B. Dahl ORCID iD [ctb, cre]
Maintainer: David B. Dahl <dahl at>
License: GPL-3
NeedsCompilation: no
Materials: NEWS
CRAN checks: sams results


Reference manual: sams.pdf


Package source: sams_0.4.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): sams_0.4.3.tgz, r-oldrel (arm64): sams_0.4.3.tgz, r-release (x86_64): sams_0.4.3.tgz, r-oldrel (x86_64): sams_0.4.3.tgz
Old sources: sams archive


Please use the canonical form to link to this page.