simulate_crp_categorical
function simulate_crp_categorical(α:Real, θ:Real, n:Integer[_], N:Integer) -> Integer
Simulate a categorical distribution with Chinese restaurant process prior.
- α: Concentration.
- θ: Discount.
- n: Enumerated items.
- N: Total number of items.