PReMiuM: Dirichlet Process Bayesian Clustering, Profile Regression

Bayesian clustering using a Dirichlet process mixture model. This model is an alternative to regression models, non-parametrically linking a response vector to covariate data through cluster membership. The package allows Bernoulli, Binomial, Poisson, Normal, survival and categorical response, as well as Normal and discrete covariates. It also allows for fixed effects in the response model, where a spatial CAR (conditional autoregressive) term can be also included. Additionally, predictions may be made for the response, and missing values for the covariates are handled. Several samplers and label switching moves are implemented along with diagnostic tools to assess convergence. A number of R functions for post-processing of the output are also provided. In addition to fitting mixtures, it may additionally be of interest to determine which covariates actively drive the mixture components. This is implemented in the package as variable selection. The main reference for the package is Liverani, Hastie, Azizi, Papathomas and Richardson (2015) <doi:10.18637/jss.v064.i07>.

Version: 3.2.13
Depends: R (≥ 3.5.1)
Imports: Rcpp (≥ 0.12.13), ggplot2 (≥ 2.2), cluster, plotrix (≥ 3.6-6), gamlss.dist (≥ 4.3-1), data.table (≥ 1.10.4-3), spdep (≥ 0.7-7), sf (≥ 1.0-8)
LinkingTo: Rcpp, RcppEigen (≥, BH (≥ 1.65.0-1)
Suggests: testthat (≥ 1.0.2)
Published: 2024-01-09
DOI: 10.32614/CRAN.package.PReMiuM
Author: David I. Hastie, Silvia Liverani and Sylvia Richardson with contributions from Aurore J. Lavigne, Lucy Leigh, Lamiae Azizi, Xi Liu, Ruizhu Huang, Austin Gratton, Wei Jing
Maintainer: Silvia Liverani <liveranis at>
License: GPL-2
NeedsCompilation: yes
SystemRequirements: GNU make
Citation: PReMiuM citation info
Materials: ChangeLog
In views: Bayesian, Cluster, MissingData, Spatial, Survival
CRAN checks: PReMiuM results


Reference manual: PReMiuM.pdf


Package source: PReMiuM_3.2.13.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): PReMiuM_3.2.13.tgz, r-oldrel (arm64): PReMiuM_3.2.13.tgz, r-release (x86_64): PReMiuM_3.2.13.tgz, r-oldrel (x86_64): PReMiuM_3.2.13.tgz
Old sources: PReMiuM archive


Please use the canonical form to link to this page.