Journal of Statistical Software (Nov 2021)

BNPmix: An R Package for Bayesian Nonparametric Modeling via Pitman-Yor Mixtures

  • Riccardo Corradin,
  • Antonio Canale,
  • Bernardo Nipoti

DOI
https://doi.org/10.18637/jss.v100.i15
Journal volume & issue
Vol. 100
pp. 1 – 33

Abstract

Read online

BNPmix is an R package for Bayesian nonparametric multivariate density estimation, clustering, and regression, using Pitman-Yor mixture models, a flexible and robust generalization of the popular class of Dirichlet process mixture models. A variety of model specifications and state-of-the-art posterior samplers are implemented. In order to achieve computational efficiency, all sampling methods are written in C++ and seamless integrated into R by means of the Rcpp and RcppArmadillo packages. BNPmix exploits the ggplot2 capabilities and implements a series of generic functions to plot and print summaries of posterior densities and induced clustering of the data.

Keywords