simulate_linear_multivariate_normal_inverse_gamma_gaussian


function simulate_linear_multivariate_normal_inverse_gamma_gaussian(a:Real[_], ν:Real[_], Λ:LLT, c:Real, α:Real, γ:Real) -> Real

Simulate a Gaussian distribution with a linear transformation of a multivariate linear normal inverse-gamma prior.

  • a: Scale.
  • ν: Precision times mean.
  • Λ: Precision.
  • c: Offset.
  • α: Shape of the inverse-gamma.
  • γ: Scale accumulator of the inverse-gamma.