Dirichlet process Created 2026-09-24 Updated 2026-09-28
A Dirichlet process is a distribution over probability measures such that the masses assigned to every finite measurable partition have a Dirichlet distribution. Its draws are almost surely discrete.
In a finite normal distribution mixture with allocation labels , independently assign , and weights a Dirichlet distribution. Let count allocations to component and sum their observations. The conditional mean precision is , giving . The conditional variance is the displayed inverse-gamma distribution; weights have Dirichlet parameters increased by allocation counts. Allocation probabilities are proportional to . Independence of the mean prior from is important: its density does not add an extra inverse-gamma shape term.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 43 3 a iv Solution Created 2026-10-03 Updated 2026-10-14
Choose a fixed Dirichlet distribution proposal with every , independent of the current state, and propose the entire weight vector. This automatically respects the simplex constraint. With , the Independence Metropolis–Hastings algorithm accepts withThis includes , not merely the posterior ratio. A particularly simple choice is , the weight prior: its factors cancel and the ratio is just the mixture likelihood ratio. A proposal concentrated around a pilot estimate can mix better, provided it retains positive density throughout the relevant simplex. Both target and proposal densities use the same independent simplex coordinates, so this direct weight proposal has no extra transformation Jacobian determinant.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 43 3 b i Solution Created 2026-10-03 Updated 2026-10-14
Use the data augmentation labels to separate the mixture into groups. Define , and . The intended joint posterior distribution is proportional toSumming over all allocation labels recovers the marginal mixture posterior. The Gaussian mixture Gibbs updates with independent priors follow by collecting the terms in each parameter.
For , the conditional exponent isCompleting the square givesFor , the conditional density is proportional to , henceThe independent prior on adds neither a factor nor a penalty. Finally, combining the allocation counts with the Dirichlet distribution prior givesA Gibbs sampler successively draws from these conditionals, using the most recently updated values. An empty component has , so its mean and variance conditionals reduce to their proper priors without dividing by an undefined group sample mean.