GeometricDistribution.Probability Method

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

Probability(Int32) Returns the probability of obtaining a specific integer value in the distribution.
Probability(Int32, Int32) Gets the probability of obtaining a sample that falls within the specified interval from the distribution.

Probability(Int32)

Returns the probability of obtaining a specific integer value in the distribution.
C#
public override double Probability(
	int n
)

Parameters

n  Int32
An integer value.

Return Value

Double
The probability of obtaining the specified value.

Remarks

This method represents the probability function of the distribution.

See Also