logpdf_lazy_binomial


function logpdf_lazy_binomial(x:Expression<Integer>, n:Expression<Integer>, ρ:Expression<Real>) -> Expression<Real>

Observe a binomial variate.

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

Returns: the log probability mass.