CumBernoulliInv

Revision as of 22:48, 17 August 2016 by Lchrisman (talk | contribs) (Added to 5.0 release of distribution densities library)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.