Returns the probability from a hypergeometric distribution.
| Category: | Probability |
| Returned data type: | DOUBLE |
is an integer population size parameter.
| Range | N ≥ 1 |
| Data type | INTEGER |
is an integer number of items in the category of interest parameter.
| Range | 0 ≤ K ≤ N |
| Data type | INTEGER |
is an integer sample size parameter.
| Range | 0 ≤ n ≤ N |
| Data type | INTEGER |
is an integer random variable.
| Range | max(0, K + n−N) ≤ x ≤ min(K,n) |
is a numeric odds ratio parameter.
| Range | r ≥ 0 |
| Data type | DOUBLE |
|
Statements
|
Results
|
|---|---|
select probhypr(200,50,10,2); |
0.5236734081 |