logpdf_lazy_negative_binomial


function logpdf_lazy_negative_binomial(x:Expression<Integer>, k:Expression<Integer>, ρ:Expression<Real>) -> Expression<Real>

Observe a negative binomial variate.

  • x: The variate (number of failures).
  • k: Number of successes before the experiment is stopped.
  • ρ: Probability of success.

Returns: the log probability mass.