/BBM

Codes (in R) for paper A Bayesian Bootstrap for Mixture Models

Primary LanguageR

BBM

Codes (in R) for the illustration part of the paper A Bayesian Bootstrap for Mixture Models by Cui and Walker (2023).

codes_discrete.R: R script for Section 4.1 (simulated data in discrete cases).

codes_cts.R: R script for Section 4.1 (simulated data in continuous cases).

mixture_galaxy.R: R script for Section 4.2 (Gaussian mixture model on galaxy data set).

codes_discrete.R and codes_cts.R need to use Mosek.

If you have any questions or suggestion about the codes, please email cuifuheng@utexas.edu. We appreciate it very much for your questions and suggestion.