update_inverse_gamma_gaussian

function update_inverse_gamma_gaussian(x:Real, μ:Real, α:Real, β:Real) -> (Real, Real)

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

  • x: The variate.
  • μ: Mean.
  • α: Shape of the inverse-gamma.
  • β: Scale of the inverse-gamma.

Returns: the updated parameters α and β.