IDAX.QHYPER_H - High-tail inverse hypergeometric distribution

The QHYPER_H function returns the value x of a variable that follows the hypergeometric distribution for which the probability of being greater than x is equal to the specified percentage. x is the number of white balls that are drawn without replacement from an urn that contains black balls and white balls.

Syntax

IDAX.QHYPER_H(DOUBLE percentage, BIGINT wu, BIGINT bu, BIGINT
N)

Parameter descriptions

percentage
Mandatory.
The requested limit of the percentage.
If percentage is not in the range of 0 - 1, QHYPER_H(percentage,wu,bu,N) is null for all N values, wu values, and bu values.
Min: 0.00000000001
Max: 0.99999999999
Data type: DOUBLE
wu
Mandatory.
The number of white balls in the urn.
If wu is negative, QHYPER_H(percentage,wu,bu,N) is null for all percentage values and N values.
Min: 0
Data type: BIGINT
bu
Mandatory.
The number of black balls in the urn.
If bu is negative, QHYPER_H(percentage,wu,bu,N) is null for all percentage values and N values.
Min: 0
Data type: BIGINT
N
Mandatory.
The number of balls that drawn from the urn without replacement.
If N is 0 or less, QHYPER_H(percentage,wu,bu,N) is null for all percentage values, wu values, and bu values.
Min: 1
Data type: BIGINT

QHYPER_H(percentage,wu,bu,N) = QHYPER(1-percentage,wu,bu,N) for percentage values in the range of 0 - 1, and for all positive wu values, positive bu values, and positive N values.

If PHYPER_H(x,wu,bu,N)=percentage, QHYPER_H(percentage,wu,bu,N)=x for all x values, and for all positive wu values, positive bu values, and positive N values.

Returned information

BIGINT the point x where PHYPER_H(x,wu,bu,N)=percentage.