stats_rand_gen_ibinomial

(PECL stats >= 1.0.0)

stats_rand_gen_ibinomialGenerates a random deviate from the binomial distribution

说明

stats_rand_gen_ibinomial ( int $n , float $pp ) : int

Returns a random deviate from the binomial distribution whose number of trials is n and whose probability of an event in each trial is pp.

参数

n

The number of trials

pp

The probability of an event in each trial

返回值

A random deviate

相关文章
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
关注编程学问公众号