stats_dens_pmf_negative_binomial
stats_dens_pmf_negative_binomial
(PECL stats >= 1.0.0)
stats_dens_pmf_negative_binomial — Probability density function of the negative binomial distribution
Description
float stats_dens_pmf_negative_binomial ( float $x , float $n , float $pi )
Return
s the probability den
sity at x
, where the ran
dom variable follows the n
egative bin
omial distribution
of which the n
umber of the success is n
an
d the success rate is pi
.
Parameters
x
The value at which the probability density is calculated
n
The number of the success of the distribution
pi
The success rate of the distribution
Return Values
The probability density at x
or FALSE
for failure.
← stats_dens_pmf_hypergeometric
stats_dens_pmf_poisson →
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/function.stats-dens-pmf-negative-binomial.php