simulate_beta_negative_binomial

function simulate_beta_negative_binomial(k:Integer, α:Real, β:Real) -> Integer

Simulate a beta-negative-binomial distribution.

  • k: Number of successes.
  • α: Shape.
  • β: Shape.