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, as well as summary and utility functions.

Version: 0.4.2
Depends: R (≥ 3.5.0)
Imports: graphics, stats
Published: 2021-06-15
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.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): sams_0.4.2.tgz, r-release (x86_64): sams_0.4.2.tgz, r-oldrel: sams_0.4.2.tgz
Old sources: sams archive


Please use the canonical form to link to this page.