Dew Math for .NET
|
Hypergeometric cumulative distribution function (CDF).
Parameters |
Description |
int x |
Distribution domain, integer on closed interval [0,N]. |
int M |
Defines total number of elements, valid values ae integers on closed interval [0,X]. |
int K |
Defines number of elements with certain traits, valid values are integers on closed interval [X,M]. |
int N |
Defines number of samples, valid values are integers on closed interval [X,M]. |
the hypergeometric cumulative distribution function (CDF) for value x using the integer parameters M (total number of elements), K (number of elements with a certain trait) and N (number of samples drawn). Value x must be greater of equal than zero, all the parameters M, K N must be greater or equal than zero, M >= N, M >= K, N >= X, K >= x. If not all of these conditions are met, the result is NAN.
The hypergeometric cumulative distribution function is defined by the following equation:
The result of HypGeometricCDF is the probability of drawing up to x elements of a possible K in N drawings without replacement from a group of M elements.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|