Home > Extreme Optimization Statistics Library for .NET > Reference > Extreme.Statistics.Distributions Namespace


Extreme Optimization Statistics Library for .NET

NegativeBinomialDistribution Class

Represents the negative binomial distribution.

For a list of all members of this type, see NegativeBinomialDistribution Members.

System.Object
   Distribution
      DiscreteDistribution
         NegativeBinomialDistribution

[Visual Basic]
Public Class NegativeBinomialDistribution
Inherits DiscreteDistribution
[C#]
public class NegativeBinomialDistribution : DiscreteDistribution

Remarks

The negative binomial distribution models the number of failures before a specified number of successes in a series of Bernoulli trials. A Bernoulli trial is an experiment with two possible outcomes, labeled 'success' and 'failure,' where the probability of success has a fixed value for all trials.

A negative binomial distribution has two parameters: the NumberOfTrials and the ProbabilityOfSuccess of an individual trial.

Example

In jury selection, the total number of candidates before 12 jurors have been selected has a negative binomial distribution.

When playing a video game where the probability of completing a level is constant, the total number of levels completed before the three lives are used up has a negative binomial distribution.

Requirements

Namespace: Extreme.Statistics.Distributions

Assembly: Extreme.Statistics (in Extreme.Statistics.dll)

See Also

NegativeBinomialDistribution Members | Extreme.Statistics.Distributions Namespace