BERNOULLI

BERNOULLI probability mass function of a Bernoulli distribution

Synopsis

BERNOULLI(k,p)

Arguments

k: integer

p: probability of success

Note

If k != 0 and k != 1 this function returns a #NUM! error. If p < 0 or p > 1 this function returns a #NUM! error.

See also

RANDBERNOULLI.