﻿GeometricDistribution Class

# 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
GeometricDistribution
Constructs a GeometricDistribution instance with the given probability of success.
Top
Properties
NameDescription
Kurtosis
Gets the kurtosis, a measure of the degree of peakednesss of the distribution.
Mean
Gets the mean of the distribution.
P
Gets and sets the probability of success. Must be greater than zero and less than or equal to one.
Skewness
Gets the skewness, a measure of the degree of asymmetry of this distribution.
Variance
Gets the variance of the distribution.
Remarks
The variance of the distribution is the standard deviation squared.
Top
Methods
NameDescription
CDF
Returns the cumulative distribution function evaluated at the given value.
(Overrides ProbabilityDistributionCDF(Double).)
Clone
Creates a deep copy of this GeometricDistribution.
(Overrides ProbabilityDistributionClone.)
InverseCDF
Returns the inverse cumulative distribution function evaluated at the given value.
(Overrides ProbabilityDistributionInverseCDF(Double).)
InverseCdfUsingBracket
Uses a bracketing method to evaluate the inverse of cumulative distribution functions.
(Inherited from ProbabilityDistribution.)
InverseDiscreteCdfUsingBracket
Uses a bracketing method to evaluate the inverse of cumulative distribution functions for discrete distributions.
(Inherited from ProbabilityDistribution.)
PDF
Returns the probability distribution function evaluated at the given value.
(Overrides ProbabilityDistributionPDF(Double).)
ToString
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,...}