update_lazy_inverse_gamma_gamma


function update_lazy_inverse_gamma_gamma(x:Expression<Real>, k:Expression<Real>, α:Expression<Real>, β:Expression<Real>) -> (Expression<Real>, Expression<Real>)

Update the parameters of an inverse-gamma distribution with a gamma likelihood.

  • x: The variate.
  • k: Shape of the gamma.
  • α: Prior shape of the inverse-gamma.
  • β: Prior scale of the inverse-gamma.

Returns: the posterior hyperparameters α' and β'.