|
MathQuantileNegativeBinomial
For the specified probability, the function calculates the inverse value of distribution function for negative binomial law with the r and p parameters. In case of error it returns NaN.
double MathQuantileNegativeBinomial(
|
For the specified probability, the function calculates the inverse value of distribution function for negative binomial law with the r and p parameters. In case of error it returns NaN.
double MathQuantileNegativeBinomial(
|
For the specified probability[] array of probability values, the function calculates the inverse value of distribution function for negative binomial law with the r and p parameters. In case of error it returns false. Analog of the qnbinom() in R.
double MathQuantileNegativeBinomial(
|
For the specified probability[] array of probability values, the function calculates the inverse value of distribution function for negative binomial law with the r and p parameters. In case of error it returns false.
bool MathQuantileNegativeBinomial(
|
Parameters
probability
[in] Probability value of random variable.
probability[]
[in] Array with probability values of random variable.
r
[in] Number of successful tests.
p
[in] Probability of success.
tail
[in] Flag of calculation, if false, then calculation is performed for 1.0-probability.
log_mode
[in] Flag of calculation, if log_mode=true, calculation is performed for Exp(probability).
error_code
[out] Variable to get the error code.
result[]
[out] Array with values of quantiles.