NegativeBinomial distribution NegativeBinomial(Integer r, Double p) It uses the Pascal distribution with the given number of successes (integer) and probability of success. Parameters Integer r - the number of successes. Double p - the probability of a success. Return type Integer