update_gamma_poisson

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

Update the parameters of a Gamma distribution with a Poisson likelihood.

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

Returns: the updated parameters k and θ.