You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > NegBinomCDFInv Method > Probabilities.NegBinomCDFInv Method (double, double, double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.NegBinomCDFInv Method (double, double, double)

Negative binomial distribution point percent function (PPF).

Syntax
C#
Visual Basic
public static double NegBinomCDFInv(double y, double R, double p);
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!