Fast Gibbs sampler for Bayesian mixture models


This page contains computer code, documentation, and example data sets for the fast collapsed Gibbs sampler of Newman (2025).

Code: Download the code and documentation:

  • Gaussian mixture model
  • Poisson mixture model
  • Latent class analysis (categorical mixture model)

    Data: Data sets from the paper:

    Questions or comments

    I welcome questions about the code, suggestions for improvement, or any other comments. My contact details are here.

    Acknowledgements

    Work on this project was funded in part by the US National Science Foundation under grant number DMS-2404617.


    Last modified: August 12, 2025

    Mark Newman