Crandore Hub

sanba

Fitting Shared Atoms Nested Models via MCMC or Variational Bayes

An efficient tool for fitting nested mixture models based on a shared set of atoms via Markov Chain Monte Carlo and variational inference algorithms. Specifically, the package implements the common atoms model (Denti et al., 2023), its finite version (similar to D'Angelo et al., 2023), and a hybrid finite-infinite model (D'Angelo and Denti, 2024). All models implement univariate nested mixtures with Gaussian kernels equipped with a normal-inverse gamma prior distribution on the parameters. Additional functions are provided to help analyze the results of the fitting procedure. References: Denti, Camerlenghi, Guindani, Mira (2023) <doi:10.1080/01621459.2021.1933499>, D’Angelo, Canale, Yu, Guindani (2023) <doi:10.1111/biom.13626>, D’Angelo, Denti (2024) <doi:10.1214/24-BA1458>.

Versions across snapshots

VersionRepositoryFileSize
0.0.3 rolling linux/jammy R-4.5 sanba_0.0.3.tar.gz 587.6 KiB
0.0.3 rolling linux/noble R-4.5 sanba_0.0.3.tar.gz 596.7 KiB
0.0.3 rolling source/ R- sanba_0.0.3.tar.gz 236.7 KiB
0.0.3 latest linux/jammy R-4.5 sanba_0.0.3.tar.gz 587.6 KiB
0.0.3 latest linux/noble R-4.5 sanba_0.0.3.tar.gz 596.7 KiB
0.0.3 latest source/ R- sanba_0.0.3.tar.gz 236.7 KiB
0.0.3 2026-04-26 source/ R- sanba_0.0.3.tar.gz 236.7 KiB
0.0.3 2026-04-23 source/ R- sanba_0.0.3.tar.gz 236.7 KiB
0.0.3 2026-04-09 windows/windows R-4.5 sanba_0.0.3.zip 991.0 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests