IDAX.QGEOM - Inverse geometric distribution

The QGEOM function returns the value x of a variable that follows the geometric distribution for which the probability of being smaller or equal to x is equal to the specified percentage. x is the number of failures before the first success in a series of Bernoulli trials.

Syntax

IDAX.QGEOM(DOUBLE percentage, DOUBLE p)

Parameter descriptions

percentage
Mandatory.
The requested limit of the percentage.
If percentage is not in the range of 0 - 1, QGEOM(percentage,p) is null for all p values.
Min: 0.00000000001
Max: 0.99999999999
Data type: DOUBLE
p
Mandatory.
The probability of success.
If p is not in the range of 0 - 1, QGEOM(percentage,p) is null for all percentage values.
Min: 0.00000000001
Max: 0.99999999999
Data type: DOUBLE
If PGEOM(x,p)=perc, QGEOM(perc,p)=x for all positive x values and for p values in the range of 0 - 1.

Returned information

INT8 the point x where PGEOM(x,p)=percentage.