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

Negative binomial cumulative distribution function (CDF).

Syntax
C#
Visual Basic
public static double NegBinomCDF(int x, double R, double p);
Parameters 
Description 
int x 
Function domain, integer, nzmber of trials needed to obtain R successes. 
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 cumulative distribution function (CDF) for value x using the parameters R (number of success) and p (probability of success). Probability p must lie on the interval [0,1], x must be greater or equal than zero and R must be greater or equal than one, otherwise the result is NAN.

The negative binomial cumulative distribution function is defined by the following equation: 

 

where I is the interval on which the negative binomial cumulative distribution function is not zero.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!