recursiveCDF

Computes the cdf 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)