You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > GeometricCDF Method > Probabilities.GeometricCDF Method (int, double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.GeometricCDF Method (int, double)

Geometric cumulative distribution function (CDF).

Syntax
C#
Visual Basic
public static double GeometricCDF(int x, double p);
Parameters 
Description 
int x 
Function domain, positive integer. 
double p 
Defines success probability. p must lie on the [0,1] closed interval. 

The geometric cumulative distribution function (CDF) for value x by using parameter p (probability). Probability p must lie on the interval [0,1] and x must be greater or equal than zero, otherwise the result is NAN.

The geometric cumulative distribution function is defined by the following equation: 

 

The result of GeometricCDF is the probability of observing up to x trials before a success, when the probability of success in any given trial is p.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!