array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.stats-dens-pmf-negative-binomial.php', 1 => 'stats_dens_pmf_negative_binomial', ), 'up' => array ( 0 => 'ref.stats.php', 1 => 'Statistic Fonctions', ), 'prev' => array ( 0 => 'function.stats-dens-pmf-hypergeometric.php', 1 => 'stats_dens_pmf_hypergeometric', ), 'next' => array ( 0 => 'function.stats-dens-pmf-poisson.php', 1 => 'stats_dens_pmf_poisson', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stats/functions/stats-dens-pmf-negative-binomial.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL stats >= 1.0.0)
stats_dens_pmf_negative_binomial — Probability mass function of the negative binomial distribution
Returns the probability mass at x
, where the
random variable follows the negative binomial distribution of which
the number of the success is n
and the success
rate is pi
.
x
The value at which the probability mass is calculated
n
The number of the success of the distribution
pi
The success rate of the distribution
The probability mass at x
or false
for failure.