update_lazy_beta_negative_binomial


function update_lazy_beta_negative_binomial(x:Expression<Integer>, k:Expression<Integer>, α:Expression<Real>, β:Expression<Real>) -> (Expression<Real>, Expression<Real>)

Update the parameters of a Beta distribution with a Negative Binomial likelihood.

  • x: The variate.
  • k: Number of successes.
  • α: Prior first shape.
  • β: Prior second shape.

Returns: the posterior hyperparameters α' and β'.