lpartition_binomial

function lpartition_binomial(n:Integer, ρ:Real) -> Real

Log partition function of a Binomial variate.

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

Return: the log of the normalization constant.