Represents the geometric distribution.

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Class GeometricDistribution _
	Inherits DiscreteDistribution
C#
public class GeometricDistribution : DiscreteDistribution
C++
public ref class GeometricDistribution : public DiscreteDistribution

Methods

IconTypeDescription
DistributionFunction(Int32)
Evaluates the cumulative distribution function of the distribution.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetExpectedHistogram(Int32, Int32, Double)
Gets a Histogram whose bins contain the expected number of samples for a given total number of samples.
GetHashCode()
Serves as a hash function for a particular type.
static memberGetRandomVariate(Random, Double)
Returns a single random variate from a geometric distribution with the specified probability of success.
GetRandomVariate(Random)
Returns a random sample from the distribution.
GetRandomVariates(Random, Int32[]())
Fills an Int32 array with random numbers.
GetRandomVariates(Random, Int32[](), Int32, Int32)
Fills an Int32 array with random numbers from this DiscreteDistribution.
GetType()
Gets the Type of the current instance.
MemberwiseClone()
Creates a shallow copy of the current Object.
Probability(Int32)
Evaluates the probability function of the distribution.
Probability(Int32, Int32)
Gets the probability of obtaining a sample that falls within the specified interval from the distribution.
ToString()
Returns a String that represents the current Object.

Constructors

IconTypeDescription
GeometricDistributionNew(Double)
Constructs a new GeometricDistribution with the specified probability of success. The distribution uses the default random number generator to generate samples.

Properties

IconTypeDescription
Kurtosis
Gets the kurtosis of the distribution.
Mean
Gets the mean or expectation value of the distribution.
ProbabilityOfSuccess
Gets the probability that a trial is successful.
Skewness
Gets the skewness of the distribution.
StandardDeviation
Gets the standard deviation of the distribution.
Variance
Gets the variance of the distribution.

Remarks

The geometric distribution characterizes the probability of the number of trials required to achieve the first success, each trial having a probability probability of being successful.

The geometric distribution is the discrete form of the ExponentialDistribution.

Inheritance Hierarchy

System.Object
  Extreme.Statistics.Distributions.Distribution
    Extreme.Statistics.Distributions.DiscreteDistribution
      Extreme.Statistics.Distributions.GeometricDistribution

See Also