SANvi: Fitting Shared Atoms Nested Models via Variational Bayes

An efficient tool for fitting the nested common and shared atoms models using variational Bayes approximate inference for fast computation. Specifically, the package implements the common atoms model (Denti et al., 2023), its finite version (D'Angelo et al., 2023), and a hybrid finite-infinite model. All models use Gaussian mixtures 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>.

Version: 0.1.1
Depends: scales, RColorBrewer
Imports: Rcpp, matrixStats
LinkingTo: Rcpp, RcppArmadillo
Published: 2024-05-15
DOI: 10.32614/CRAN.package.SANvi
Author: Francesco Denti ORCID iD [aut, cre, cph], Laura D'Angelo ORCID iD [aut]
Maintainer: Francesco Denti <francescodenti.personal at>
License: MIT + file LICENSE
NeedsCompilation: yes
Language: en-US
Materials: README NEWS
CRAN checks: SANvi results


Reference manual: SANvi.pdf


Package source: SANvi_0.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): SANvi_0.1.1.tgz, r-oldrel (arm64): SANvi_0.1.1.tgz, r-release (x86_64): SANvi_0.1.1.tgz, r-oldrel (x86_64): SANvi_0.1.1.tgz
Old sources: SANvi archive


Please use the canonical form to link to this page.