Geometric Probability Formula
Suppose a negative binomial experiment consists of x trials and results in one success. If the probability of success on an individual trial is P and The probability of failure on an individual trial. (This is equal to 1 - P.) is Q, then the geometric probability is:
g(x; P) = P * Qx - 1