update_lazy_gamma_poisson
function update_lazy_gamma_poisson(x:Expression<Integer>, k:Expression<Real>, θ:Expression<Real>) -> (Expression<Real>, Expression<Real>)
Update the parameters of a Gamma distribution with a Poisson likelihood.
- x: The variate.
- k: Prior shape.
- θ: Prior scale.
Returns: the posterior hyperparameters k'
and θ'
.