recursive PMF
Computes the probability mass function at j using a recursive (iterative) algorithm using logarithms
Return
the probability
Parameters
j
the value to be evaluated
r
number of successes
p
the probability, must be in range (0,1)
Computes the probability mass function at j using a recursive (iterative) algorithm using logarithms
the probability
the value to be evaluated
number of successes
the probability, must be in range (0,1)