Click or drag to resize

GeometricDistribution Class

Class GeometricDistribution represents the goemetric probability distribution.
Inheritance Hierarchy

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

The GeometricDistribution type exposes the following members.

Constructors
  NameDescription
Public methodGeometricDistribution
Constructs a GeometricDistribution instance with the given probability of success.
Top
Properties
  NameDescription
Public propertyKurtosis
Gets the kurtosis, a measure of the degree of peakednesss of the distribution.
Public propertyMean
Gets the mean of the distribution.
Public propertyP
Gets and sets the probability of success. Must be greater than zero and less than or equal to one.
Public propertySkewness
Gets the skewness, a measure of the degree of asymmetry of this distribution.
Public propertyVariance
Gets the variance of the distribution.
Remarks
The variance of the distribution is the standard deviation squared.
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 GeometricDistribution.
(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
Remarks
The goemetric distribution is the probability distribution of the number of failures before the first success. It is supported on the set {0, 1, 2, 3,...}
See Also