update_lazy_scaled_gamma_exponential


function update_lazy_scaled_gamma_exponential(x:Expression<Real>, a:Expression<Real>, k:Expression<Real>, θ:Expression<Real>) -> (Expression<Real>, Expression<Real>)

Update the parameters of a scaled Gamma distribution with an exponential likelihood.

  • x: The variate.
  • a: Constant scale.
  • k: Prior shape.
  • θ: Prior scale.

Returns: the posterior hyperparameters k' and θ'.