observe_gamma

function observe_gamma(x:Real, k:Real, θ:Real) -> Real

Observe a gamma variate.

  • x: The variate.
  • k: Shape.
  • θ: Scale.

Returns: the log probability density.