downdate_gamma_poisson

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

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

  • x: The variate.
  • k': Posterior shape.
  • θ': Posterior scale.

Returns: the prior hyperparameters k and θ.