downdate_gamma_exponential

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

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

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

Returns: the prior hyperparameters k and θ.