|
|
Line 1: |
Line 1: |
| [[Category: Analytic Distribution Functions]] | | [[Category: Analytic Distribution Functions]] |
| [[Category: Distribution Densities library functions]] | | [[Category: Distribution Densities library functions]] |
− | | + | [[category:Inverse cumulative probability functions]] |
− | == CumGeometricInv(u, p) ==
| + | #REDIRECT[[Geometric distribution#CumGeometricInv]] |
− | The inverse of the cumulative probability function for the [[Geometric]](p) distribution.
| |
− | | |
− | Computes the smallest number of independent [[Bernoulli]] trials, ''k'', such that the probability of seeing at most ''k'' of failures before the first success is greater than or equal to «u», where the probability of success of each trial is «p».
| |
− | | |
− | == Library ==
| |
− | [[Distribution Densities Library]] ([[media:Distribution Densities.ana|Distribution Densities.ana]])
| |
− | :Use [[File menu|File]] → '''Add Library...''' to add this library
| |
− | | |
− | == Examples ==
| |
− | An aspiring gymnast catches her jaeger (a release move on uneven bars) at practice 40% of the time. Her coach wants her to successfully catch at least one during practice 95% of the time (i.e., in 95% of her practices, she should catch at least one). How many repetitions should the coach insist on during each practice?
| |
− | | |
− | :<code>CumGeometricInv(95%, 40%) → 6</code>
| |
− | | |
− | The actual success rate if she makes 6 attempts every practice should be
| |
− | | |
− | :<code>CumGeometric(6, 40%) → 95.33%</code>
| |
− | | |
− | ==History==
| |
− | This function was included in this library for the first time in the Analytica 4.4.3 patch release. But the function will work in earlier releases, so if you need it you can grab the most recent version of the [[media:Distribution Densities.ana|Distribution Densities.ana]].
| |
− | | |
− | == See Also ==
| |
− | * [[Geometric]]()
| |
− | * [[Prob_Geometric]]()
| |
− | * [[CumGeometric]]()
| |
− | * [[Distribution Densities Library]]
| |
− | * [[media:Distribution Densities.ana|Distribution Densities.ana]]
| |
Enable comment auto-refresher