Class NegativeBinomial

Negative binomial distribution: A discrete probability distribution that models the number of trials needed to achieve a specified number of successes in a series of Bernoulli trials, each with the same probability of success p.

Constructors

Properties

Methods

Constructors

Properties

mean: number

The mean of the distribution.

p: number

The probability of success.

r: number

The number of successes.

stdev: number

The standard deviation of the distribution.

variance: number

The variance of the distribution.

Methods