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


Extreme Optimization Statistics Library for .NET

BernoulliDistribution Class

Represents the Bernoulli distribution.

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

System.Object
   Distribution
      DiscreteDistribution
         BernoulliDistribution

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

Remarks

The Bernoulli distribution is a discrete probability distribution that has two possible outcomes: 0 (failure) and 1 (success). The distribution has one parameter: the probability probability of success.

The Bernoulli distribution is the simplest discrete probability distribution. It forms the basis for several other distributions, as shown in the following table.

<_list type="table">DistributionDefinitionBinomialDistributionThe number of successes in n trials. GeometricDistributionThe number of failures before the first success. NegativeBinomialDistributionThe number of failures before the nth success.

Example

The distribution of heads and tails in a coin toss is a Bernoulli distribution with probability = 0.5. Which of heads or tails corresponds to a successful outcome is arbitrary in this case.

Requirements

Namespace: Extreme.Statistics.Distributions

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

See Also

BernoulliDistribution Members | Extreme.Statistics.Distributions Namespace | BinomialDistribution | GeometricDistribution | NegativeBinomialDistribution