The space of convex combinations of things. Hacks for it.
1 Simulating uniformly from the simplex
This one is apparently “folk wisdom”.
But say I wish to simulate a vector drawn uniformly from the
- Simulate
random uniform variables on the unit interval, - Sort them in decreasing order,
- The random vector is
2 Simulating Dirichlet distributions
See Dirichlet variables, which are distributions over the simplex. C&C gumbel max tricks.
3 References
Friedman. 2008. “An Elementary Illustrated Introduction to Simplicial Sets.” arXiv:0809.4221 [Math].