Functions§
- dirichlet_
distribution - A Dirichlet sample on the probability simplex,
x_i = g_i / Σ g_jwith independentg_i ~ Gamma(α_i, 1). Its mean isα_i / α₀(α₀ = Σ α_i); two components give the beta distribution.
x_i = g_i / Σ g_j with independent
g_i ~ Gamma(α_i, 1). Its mean is α_i / α₀ (α₀ = Σ α_i); two components give the beta
distribution.