update_multivariate_normal_inverse_gamma

function update_multivariate_normal_inverse_gamma(x:Real[_], μ:Real[_], Λ:LLT, α:Real, β:Real) -> (Real, Real)

Update the parameters of an inverse-gamma distribution that is part of a multivariate normal inverse-gamma joint distribution.

  • x: The variate.
  • μ: Prior mean.
  • Λ: Prior precision.
  • α: Prior shape of the inverse-gamma.
  • β: Prior scale of the inverse-gamma.

Returns: the posterior hyperparameters α' and β'.