Dew Math for .NET
|
Geometric cumulative distribution function (CDF).
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!
|