Other packages > Find by keyword >

sanba  

Fitting Shared Atoms Nested Models via MCMC or Variational Bayes
View on CRAN: Click here


Download and install sanba package within the R console
Install from CRAN:
install.packages("sanba")

Install from Github:
library("remotes")
install_github("cran/sanba")

Install by package version:
library("remotes")
install_version("sanba", "0.0.4")



Attach the package and use:
library("sanba")
Maintained by
Francesco Denti
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-05-23
Latest Update: 2025-07-31
Description:
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>.
How to cite:
Francesco Denti (2025). sanba: Fitting Shared Atoms Nested Models via MCMC or Variational Bayes. R package version 0.0.4, https://cran.r-project.org/web/packages/sanba. Accessed 05 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:01), 0.0.1 (2025-05-23 20:00), 0.0.2 (2025-07-31 18:30), 0.0.3 (2025-09-24 20:40)
Other packages that cited sanba R package
View sanba citation profile
Other R packages that sanba depends, imports, suggests or enhances
Complete documentation for sanba
Functions, R codes and Examples using the sanba R package
Full sanba package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
correlation  
Methods for Correlation Analysis
Lightweight package for computing different kinds of correlations, such as partial correlations, Ba ...
Download / Learn more Package Citations See dependency  
cdlTools  
Tools to Download and Work with USDA Cropscape Data
Downloads USDA National Agricultural Statistics Service (NASS) cropscape data for a specified state ...
Download / Learn more Package Citations See dependency  
genie  
Fast, Robust, and Outlier Resistant Hierarchical Clustering
Includes the reference implementation of Genie - a hierarchical clustering algorithm that links two ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA