downdate_beta_bernoulli

function downdate_beta_bernoulli(x:Boolean, α':Real, β':Real) -> (Real, Real)

Downdate the parameters of a Beta distribution with a Bernoulli likelihood.

  • x: The variate.
  • α': Posterior first shape.
  • β': Posterior second shape.

Returns: the prior hyperparameters α and β.