CumBernoulliInv

Revision as of 19:04, 18 August 2016 by Bbecane (talk | contribs)


new to Analytica 5.0

CumBernoulliInv(u, p)

The inverse cumulative distribution function for the Bernoulli distribution. Returns the smallest Bernoulli(p) outcome, x, such that the probability of a random variate being less than or equal to x is at least «u».

Both «u» and «p» should be between 0 and 1.

Library

Distribution Densities Library

To use this function, you need to add the Distribution Densities Library to your model.

Examples

CumBernoulliInv(0.5, 0.8) → 1

There is a 0,2 probability of an outcome of 0, which is not "at least" u = 0.5. The probability that the outcome is less than or equal to 1 is 1.0, and 0.0 is at least u = 0.5, so the result here is the outcome 1.

See Also

Comments


You are not allowed to post comments.