simulate_beta_binomial

function simulate_beta_binomial(n:Integer, α:Real, β:Real) -> Integer

Simulate a beta-binomial distribution.

  • n: Number of trials.
  • α: Shape.
  • β: Shape.