Merge-Split Samplers for Conjugate Bayesian Nonparametric Models
Coerce a Vector of Cluster Labels to Canonical Form
Coerce a Set Partition in List Structure to Numeric Vectors of Cluster...
Coerce a Set Partition as Numeric Vectors of Cluster Labels to a List ...
Compute the Proportion of Items in Each Cluster for All Partitions
Plot Traces of Cluster Sizes
Identify Which Cluster Contains a Given Item
Create a New Cluster with Given Item
Compute Probability Mass of a Partition Under the Two Parameter Chines...
Get theta Parameters from a Numeric Vector of Cluster Labels and Uniqu...
Check if a Vector of Cluster Labels is in Canonical Form
Join Item to an Existing Cluster
Count the Number of Clusters in a Set Partition
Conjugate Gibbs Sampler for a Partition
Multivariate Independent Bernoulli Data (p = 18)
Correlated Multivariate Normal Data (p = 18)
Independent Multivariate Normal Data (p = 18)
Multivariate Independent Bernoulli Data (p = 6)
Large Sample Multivariate Independent Bernoulli Data (p = 6)
Independent Multivariate Normal Data (p = 6)
Calculate the Entropy of a Set Partition
Compute the Pochhammer Symbol (Rising Factorials) With Increment
Compute the Posterior Pairwise Similarity for All Pairs of Items
Merge-Split Sampling for a Partition Based on Sequential Allocation In...
Base Functionality for the psmMergeSplit Function
Merge-Split Sampling for a Partition Based on Restricted Gibbs Scans
Merge-split Sampling for a Partition Based on Sequential Allocation of...
Base Functionality for the seqAllocatedMergeSplit Function
Merge-Split Sampling for a Partition Using Uniformly Random Allocation
Calculate the Number of Items in the Largest Cluster of a Set Partitio...
Enumerate Transformed Weights for Choosing i and j Non-Uniformly
Markov chain Monte Carlo samplers for posterior simulations of conjugate Bayesian nonparametric mixture models. Functionality is provided for Gibbs sampling as in Algorithm 3 of Neal (2000) <DOI:10.1080/10618600.2000.10474879>, restricted Gibbs merge-split sampling as described in Jain & Neal (2004) <DOI:10.1198/1061860043001>, and sequentially-allocated merge-split sampling <DOI:10.1080/00949655.2021.1998502>, as well as summary and utility functions.