Geometric Distribution.Distribution Function Method
Gets the probability of obtaining an outcome less than
or equal to a specified value.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The probability of obtaining an outcome less than or equal to a specified value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public override double DistributionFunction(
int n
)
Parameters
- n Int32
- An integer value.
Return Value
DoubleThe probability of obtaining an outcome less than or equal to a specified value.
Remarks
The distribution function is the cumulative sum of the Probability(Int32) function up to and including n.