Dew Math for .NET
|
Negative binomial distribution point percent function (PPF).
Parameters |
Description |
double y |
Probability, real positive value on closed interval [0,1]. |
double R |
Defines number of successes, positive integer. |
double p |
Defines probability of each trial, real value on closed interval [0,1]. |
the Negative binomial distribution point percent function (PPF) for probability y using the parameters R (number of success) and p (probability of success). Probabilities p and y must lie on the interval [0,1], and R must be greater or equal than one, otherwise the result is NAN.
The result of NegBinomCDFinv is the smallest integer such that the negative binomial CDF evaluated at result equals or exceeds y. If the function returns NAN, either one of the inputs was NAN, or total loss of precision was detected.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|