update_inverse_gamma_weibull

function update_inverse_gamma_weibull(x:Real, k:Real, α:Real, β:Real) -> (Real, Real)

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

  • x: The variate.
  • k: Likelihood shape.
  • α: Prior shape.
  • β: Prior scale.

Returns: the posterior hyperparameters α' and β'.