Observe compound gamma

function observe_compound_gamma(x:Real, k:Real, α:Real, β:Real) -> Real

Observe a compound-gamma variate.

  • x: The variate.
  • k: Shape.
  • α: Prior shape.
  • β: Prior scale.

Return: the log probability density.