observe_gamma_poisson

function observe_gamma_poisson(x:Integer, k:Real, θ:Real) -> Real

Observe a gamma-Poisson variate.

  • x: The variate.
  • k: Shape.
  • θ: Scale.

Returns: the log probability mass.