IDAX.QBERN - Inverse Bernoulli distribution
The QBERN function returns the value x of a variable that follows the Bernoulli distribution for which the probability of being smaller or equal to x is equal to the specified percentage.
Syntax
IDAX.QBERN(DOUBLE percentage, DOUBLE p)
Parameter descriptions
- percentage
- Mandatory.
- p
- Mandatory.
If PBERN(x,p)=perc, QBERN(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 PBERN(x,p)=percentage.