PHP.nl

stats_dens_pmf_negative_binomial

stats_dens_pmf_negative_binomial

Probability mass function of the negative binomial distribution

float **stats_dens_pmf_negative_binomial** float $x float $n float $pi

Returns the probability mass at , where the random variable follows the negative binomial distribution of which the number of the success is and the success rate is . x``n``pi

xThe value at which the probability mass is calculated

nThe number of the success of the distribution

piThe success rate of the distribution

The probability mass at or false for failure. x