stats_rand_gen_ibinomial_negative

(PECL stats >= 1.0.0)

stats_rand_gen_ibinomial_negativeGenerates a random deviate from the negative binomial distribution

说明

stats_rand_gen_ibinomial_negative ( int $n , float $p ) : int

Returns a random deviate from a negative binomial distribution where the number of success is n and the success rate is p.

参数

n

The number of success

p

The success rate

返回值

A random deviate, which is the number of failure.

相关文章
php statistic 函数 calculates any one parameter of the binomial distribution given values for the othersphp statistic 函数 calculates any one parameter of the negative binomial distribution given values for the othersphp statistic 函数 probability mass function of the binomial distributionphp statistic 函数 probability density function of the negative binomial distributionphp statistic 函数 generates a random deviate from the beta distributionphp statistic 函数 generates a random deviate from the chi square distributionphp statistic 函数 generates a random deviate from the exponential distributionphp statistic 函数 generates a random deviate from the f distributionphp statistic 函数 generates a random deviate from the gamma distributionphp statistic 函数 generates a random deviate from the negative binomial distributionphp statistic 函数 generates a random deviate from the binomial distributionphp statistic 函数 generates random integer between 1 and 2147483562php statistic 函数 generates a single random deviate from a poisson distributionphp statistic 函数 generates a random deviate from the non central chi square distributionphp statistic 函数 generates a random deviate from the non central chi square distributionphp statistic 函数 generates a random deviate from the noncentral f distributionphp statistic 函数 generates a single random deviate from a non central t distributionphp statistic 函数 generates a single random deviate from a normal distributionphp statistic 函数 generates a single random deviate from a t distributionphp statistic 函数 generates a random floating point number between 0 and 1
关注编程学问公众号