update_multivariate_linear_normal_inverse_gamma_gaussian

function update_multivariate_linear_normal_inverse_gamma_gaussian(x:Real[_], A:Real[_,_], μ:Real[_], c:Real[_], Λ:Real[_,_], α:Real, β:Real) -> (Real[_], Real[_,_], Real, Real)

Update the parameters of a normal inverse-gamma distribution with a multivariate Gaussian likelihood and scaling.

  • x: The variate.
  • A: Scale.
  • μ: Mean.
  • c: Offset.
  • Λ: Precision.
  • α: Shape of the inverse-gamma.
  • β: Scale of the inverse-gamma.

Returns: the updated parameters μ, Σ, α and β.