Click or drag to resize
BinomialDistribution Class
Represents a discrete binomial distribution.
Inheritance Hierarchy

Namespace:  Meta.Numerics.Statistics.Distributions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public sealed class BinomialDistribution : DiscreteDistribution

The BinomialDistribution type exposes the following members.

Constructors
  NameDescription
Public methodBinomialDistribution
Initializes a new binomial distribution.
Top
Properties
  NameDescription
Public propertyExcessKurtosis
Gets the excess kurtosis of the distribution.
(Inherited from UnivariateDistribution.)
Public propertyMaximum
Gets the largest value in the distribution.
(Overrides DiscreteDistributionMaximum.)
Public propertyMean
Gets the mean of the distribution.
(Overrides DiscreteDistributionMean.)
Public propertyMinimum
Gets the smallest value in the distribution.
(Overrides DiscreteDistributionMinimum.)
Public propertySkewness
Gets the skewness of the distribution.
(Overrides UnivariateDistributionSkewness.)
Public propertyStandardDeviation
Gets the standard deviation of the distribution.
(Inherited from UnivariateDistribution.)
Public propertyVariance
Gets the variance of the distribution.
(Overrides UnivariateDistributionVariance.)
Top
Methods
  NameDescription
Public methodCumulant
Computes a cumulant of the distribution.
(Inherited from UnivariateDistribution.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExpectationValue
Computes the expectation value of an artibrary function.
(Inherited from DiscreteDistribution.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRandomValue
Produces a random integer drawn from the distribution.
(Inherited from DiscreteDistribution.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInverseLeftProbability
Computes the value corresponding to the given percentile.
(Overrides DiscreteDistributionInverseLeftProbability(Double).)
Public methodLeftExclusiveProbability
Computes the probability of obtaining a value less than the given value.
(Overrides DiscreteDistributionLeftExclusiveProbability(Int32).)
Public methodLeftInclusiveProbability
Computes the probability of obtaining a value less than or equal to the given value.
(Inherited from DiscreteDistribution.)
Public methodMoment
Gets a raw moment of the distribution.
(Overrides DiscreteDistributionMoment(Int32).)
Public methodMomentAboutMean
Gets a central moment of the distribution.
(Overrides DiscreteDistributionMomentAboutMean(Int32).)
Public methodProbabilityMass
Returns the probability of the obtaining the given value.
(Overrides DiscreteDistributionProbabilityMass(Int32).)
Public methodRightExclusiveProbability
Computes the probability of obtaining a value greater than the given value.
(Overrides DiscreteDistributionRightExclusiveProbability(Int32).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The binomial distribution gives the probability of obtaining k successes in n independent Bernoulli trials in which the probability of success in each trial is p.

For a single trial, the binomial distribution reduces to a Bernoulli distribution (BernoulliDistribution).

The test statistic for a sign test (SignTest(Double)) is distributed according to the Bernoulli distribution.

See Also