IDAX.DHYPER - Density of the hypergeometric distribution

The DHYPER function returns the value of the "probability density" (probability mass function) of the hypergeometric distribution at point x. It returns the probability that x samples from N trials are drawn without replacement.

Syntax

IDAX.DHYPER(BIGINT x, BIGINT wu, BIGINT bu, BIGINT N)

Parameter descriptions

x
Mandatory.
The number of white balls that are drawn without replacement from an urn that contains black balls and white balls.
Data type: BIGINT
wu
Mandatory.
The number of white balls in the urn.
If wu is negative, DHYPER(x,wu,bu,N) is null for all x values and N values.
Max: 0
Data type: BIGINT
bu
Mandatory.
The number of black balls in the urn.
If bu is negative, DHYPER(x,wu,bu,N) is null for all x values and N values.
Max: 0
Data type: BIGINT
N
Mandatory.
The number of balls that drawn from the urn without replacement.
If N is 0 or less, DHYPER(x,wu,bu,N) is null for all x values, wu values, and bu values.
Max: 1
Data type: BIGINT

Returned information

DECFLOAT(16) for the probability density at point x.