# Fitting Shared Atoms Nested Models via MCMC or Variational Bayes

## Documentation for package ‘sanba’ version 0.0.1

- DESCRIPTION file.
- Package NEWS.

## Help Pages

estimate_G | Estimate the Atoms and Weights of the Discrete Mixing Distributions
fit_CAM | Fit the Common Atoms Mixture Model
fit_fiSAN | Fit the Finite-Infinite Shared Atoms Mixture Model
fit_fSAN | Fit the Finite Shared Atoms Mixture Model
plot.SANmcmc | Visual check of convergence of the MCMC output
plot.SANvi | Visual check of convergence of the VI output
plot.SANvi_G | Estimate the Atoms and Weights of the Discrete Mixing Distributions
plot.summary_mcmc | Summarize the estimated observational and distributional partition
plot.summary_vi | Summarize the estimated observational and distributional partition
print.SANmcmc | Print the MCMC output
print.SANvi | Print the variational inference output
print.SANvi_G | Estimate the Atoms and Weights of the Discrete Mixing Distributions
print.summary_mcmc | Summarize the estimated observational and distributional partition
print.summary_vi | Summarize the estimated observational and distributional partition
summary | Summarize the estimated observational and distributional partition
summary.SANmcmc | Summarize the estimated observational and distributional partition
summary.SANvi | Summarize the estimated observational and distributional partition