IDAX.DBERN - Density of the Bernoulli distribution

The DBERN function returns the value of the "probability density" (probability mass function) of the Bernoulli distribution at point x. Given that the probability of success is p, this function returns the probability that you get x successes in a Bernoulli trial.

Syntax

IDAX.DBERN(int8 x, DOUBLE p)

Parameter descriptions

x
Mandatory.
The value that is to be computed.
Data type: INT8
p
Mandatory.
The probability of success.
Min: 0.00000000001
Max: 1-0.00000000001
Data type: DOUBLE

Returned information

The "probability density" (probability mass function) at point x.