observe_beta_binomial

function observe_beta_binomial(x:Integer, n:Integer, α:Real, β:Real) -> Real

Observe a beta-binomial variate.

  • x: The variate.
  • n: Number of trials.
  • α: Shape.
  • β: Shape.

Returns: the log probability mass.