Click or drag to resize

NegativeBinomialDistribution Class

Class NegativeBinomialDistribution represents the discrete probability distribution of obtaining N successes in a series of x trials, where the probability of success on each trial is P.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreProbabilityDistribution
    CenterSpace.NMath.CoreNegativeBinomialDistribution

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

The NegativeBinomialDistribution type exposes the following members.

Constructors
  NameDescription
Public methodNegativeBinomialDistribution
Default constructor. Constructs a NegativeBinomialDistribution instance with 2 successes, and a 0.5 probability of success.
Public methodNegativeBinomialDistribution(Int32, Double)
Constructs a NegativeBinomialDistribution instance with the given number of sucesses 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 number of successes.
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 NegativeBinomialDistribution.
(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