: nbincdf (x, n, p)

For each element of x, compute the cumulative distribution function (CDF) at x of the negative binomial distribution with parameters n and p.

When n is integer this is the Pascal distribution. When n is extended to real numbers this is the Polya distribution.

The number of failures in a Bernoulli experiment with success probability p before the n-th success follows this distribution.

Package: statistics