Click or drag to resize

BinomialDistribution Class

Class BinomialDistribution represents the discrete probability distribution of obtaining exactly n successes in N trials where the probability of success on each trial is P.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreProbabilityDistribution
    CenterSpace.NMath.CoreBinomialDistribution

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class BinomialDistribution : ProbabilityDistribution, 
	IRandomVariableMoments

The BinomialDistribution type exposes the following members.

Constructors
 NameDescription
Public methodBinomialDistribution Default constructor. Constructs a BinomialDistribution instance with 2 trials, and a 0.5 probability of success.
Public methodBinomialDistribution(Int32, Double) Constructs a BinomialDistribution instance with the given number of trials, and the given probability of success on each trial.
Top
Properties
 NameDescription
Public propertyKurtosis Gets the kurtosis coefficient, a measure of the degree of peakedness of this distribution.
Public propertyMean Gets the mean of this distribution.
Public propertyN Gets and sets the total number of trials.
Public propertyP Gets and sets the probability of success on each trial.
Public propertySkewness Gets the skewness coefficient, a measure of the degree of asymmetry of this distribution.
Public propertyVariance Gets the variance of this distribution.
Top
Methods
 NameDescription
Public methodCDF Returns the cumulative distribution function evaluated at the given value.
(Overrides ProbabilityDistributionCDF(Double))
Public methodClone Creates a deep copy of this BinomialDistribution.
(Overrides ProbabilityDistributionClone)
Public methodInverseCDF Returns the inverse cumulative distribution function evaluated at the given value.
(Overrides ProbabilityDistributionInverseCDF(Double))
Protected methodInverseCdfUsingBracket Uses a bracketing method to evaluate the inverse of cumulative distribution functions.
(Inherited from ProbabilityDistribution)
Protected methodInverseDiscreteCdfUsingBracket Uses a bracketing method to evaluate the inverse of cumulative distribution functions for discrete distributions.
(Inherited from ProbabilityDistribution)
Public methodPDF Returns the probability distribution function evaluated at the given value.
(Overrides ProbabilityDistributionPDF(Double))
Public methodToString Returns a formatted string representation of this distribution.
(Overrides ProbabilityDistributionToString)
Top
See Also