observe_binomial

function observe_binomial(x:Integer, n:Integer, ρ:Real) -> Real

Observe a binomial variate.

  • x: The variate.
  • n: Number of trials.
  • ρ: Probability of a true result.

Returns: the log probability mass.