downdate_scaled_gamma_exponential

function downdate_scaled_gamma_exponential(x:Real, a:Real, k':Real, θ':Real) -> (Real, Real)

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

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

Returns: the prior hyperparameters k and θ.