Package: bpgmm 1.3.4

bpgmm: Bayesian Model Selection Approach for Parsimonious Gaussian Mixture Models

Model-based clustering using Bayesian parsimonious Gaussian mixture models. MCMC (Markov chain Monte Carlo) are used for parameter estimation. The RJMCMC (Reversible-jump Markov chain Monte Carlo) is used for model selection. GREEN et al. (1995) <doi:10.1093/biomet/82.4.711>.

Authors:Yaoxiang Li [aut, cre], Xiang Lu [aut], Tanzy Love [aut]

bpgmm_1.3.4.tar.gz
bpgmm_1.3.4.zip(r-4.7)bpgmm_1.3.4.zip(r-4.6)bpgmm_1.3.4.zip(r-4.5)
bpgmm_1.3.4.tgz(r-4.6-x86_64)bpgmm_1.3.4.tgz(r-4.6-arm64)bpgmm_1.3.4.tgz(r-4.5-x86_64)bpgmm_1.3.4.tgz(r-4.5-arm64)
bpgmm_1.3.4.tar.gz(r-4.7-arm64)bpgmm_1.3.4.tar.gz(r-4.7-x86_64)bpgmm_1.3.4.tar.gz(r-4.6-arm64)bpgmm_1.3.4.tar.gz(r-4.6-x86_64)
bpgmm_1.3.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
bpgmm/json (API)

# Install 'bpgmm' in R:
install.packages('bpgmm', repos = c('https://yaoxiangli.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/yaoxiangli/bpgmm/issues

Pkgdown/docs site:https://yaoxiangli.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

armadilloclusteringclustering-algorithmcppmachine-learningmcmcrjmcmcopenblascpp

5.62 score 1 stars 30 scripts 553 downloads 5 exports 56 dependencies

Last updated from:91d8c85a52. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK219
linux-devel-x86_64OK229
source / vignettesOK306
linux-release-arm64OK240
linux-release-x86_64OK241
macos-release-arm64OK173
macos-release-x86_64OK336
macos-oldrel-arm64OK112
macos-oldrel-x86_64OK270
windows-develOK177
windows-releaseOK129
windows-oldrelOK183
wasm-releaseOK180

Exports:constraint_to_modelmodel_to_constraintpgmm_rjmcmcpgmm_rjmcmc_chainssummarize_pgmm_rjmcmc

Dependencies:briocallrclicodacodetoolscombinatcorrplotcpp11crayondescdiffobjdoParallelellipseevaluatefabMixfarverfftwtoolsforeachfsggplot2gluegtablegtoolsisobanditeratorsjsonlitelabel.switchinglabelinglatticelifecyclelpSolvemagrittrMASSmclustmcmcsemvtnormotelpgmmpkgbuildpkgloadpraiseprocessxpsR6RColorBrewerRcppRcppArmadillorlangrprojrootS7scalestestthatvctrsviridisLitewaldowithr

Getting started with bpgmm
Fit a model | Summarize posterior samples | Common early mistakes | Naming convention | Citation

Last update: 2026-06-27
Started: 2026-05-05

Model and sampler details
Observation model | PGMM covariance constraints | Priors and posterior updates | Augmented representation and sufficient statistics | [\sum_{i: z_i = k}(x_i - \tilde{\Lambda}k \tilde{y}{ki})(x_i - \tilde{\Lambda}k \tilde{y}{ki})' | Latent scores, means, and mixture weights | Hyperparameter updates | PGMM conditional posteriors (corrected forms) | RJMCMC moves | Birth and death | Split and combine | Covariance-structure moves | Interface mapping | Citation

Last update: 2026-06-27
Started: 2026-05-21

Exploratory variable prioritization after bpgmm clustering
Simulate data with informative and weak variables | Fit a short clustering chain | Rank variables by posterior allocation separation | Compare with loading magnitudes | Interpretation | Suggested reporting language

Last update: 2026-05-28
Started: 2026-05-22

Preparing data and choosing sampler settings
Matrix orientation | Check finite numeric inputs | Scale variables | Hyperprior defaults | Choose q_new | Choose m_range | Choose the starting covariance model | A prepared call | Practical checklist

Last update: 2026-05-28
Started: 2026-05-22

Worked examples
Simulate a small clustering problem | Fit a fixed-model chain | Summarize posterior samples | Inspect component parameters | Scale the example to real data | What to report

Last update: 2026-05-28
Started: 2026-05-05

Model selection on a larger simulated MFA data set
Simulate clustered factor-analytic data | Run RJMCMC model selection | Compare true and posterior allocations | Interpreting short versus long runs

Last update: 2026-05-26
Started: 2026-05-22

Posterior diagnostics and multiple chains
Simulate a diagnostic example | Run independent chains | Summarize each chain | Trace cluster counts and covariance models | Posterior co-clustering matrix | What to look for

Last update: 2026-05-26
Started: 2026-05-22