GoLang stats_dens_pmf_negative_binomial

request it (87)
GoLang replacement for PHP's stats_dens_pmf_negative_binomial [edit | history]



Do you know a GoLang replacement for PHP's stats_dens_pmf_negative_binomial? Write it!

PHP stats_dens_pmf_negative_binomial

PHP original manual for stats_dens_pmf_negative_binomial [ show | php.net ]

stats_dens_pmf_negative_binomial

(PECL stats >= 1.0.0)

stats_dens_pmf_negative_binomialProbability density function of the negative binomial distribution

Description

float stats_dens_pmf_negative_binomial ( float $x , float $n , float $pi )

Returns the probability density 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.

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.