logpdf_conway_maxwell_poisson


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

Observe a Conway-Maxwell-Poisson variate.

  • x: The variate.
  • λ: Rate.
  • ν: Dispersion.
  • n: Truncation point.

Returns: the log probability mass.