function update_multivariate_dot_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 univariate Gaussian likelihood and scaling.

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

Returns: the posterior hyperparameters μ', Λ', α' and β'.