simulate_conway_maxwell_poisson


function simulate_conway_maxwell_poisson(λ:Real, ν:Real, n:Integer) -> Integer

Simulate a Conway-Maxwell-Poisson distribution.

  • λ: Rate.
  • ν: Dispersion.
  • n: Truncation point.