Difference between revisions of "CumBernoulliInv"

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
#REDIRECT[[Bernoulli distribution#CumBernoulliInv]]
 
[[category:Analytic Distribution Functions]]
 
[[category:Analytic Distribution Functions]]
 
[[category:Distribution Densities library functions]]
 
[[category:Distribution Densities library functions]]
 
+
[[category:Inverse cumulative probability functions]]
''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 ==
 
 
 
:<code>CumBernoulliInv(0.5, 0.8) &rarr; 1</code>
 
 
 
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 ==
 
* [[Bernoulli]]
 
* [[Prob_Bernoulli]]
 
* [[CumBernoulli]]
 

Latest revision as of 01:01, 8 December 2018

Comments


You are not allowed to post comments.