stats_cdf_binomial

(PECL stats >= 1.0.0)

stats_cdf_binomialCalculates any one parameter of the binomial distribution given values for the others

说明

stats_cdf_binomial ( float $par1 , float $par2 , float $par3 , int $which ) : float

Returns the cumulative distribution function, its inverse, or one of its parameters, of the binomial distribution. The kind of the return value and parameters (par1, par2, and par3) are determined by which.

The following table lists the return value and parameters by which. CDF, x, n, and p denotes cumurative distribution function, the number of successes, the number of trials, and the success rate for each trial, respectively.

Return value and parameters
which Return value par1 par2 par3
1 CDF x n p
2 x CDF n p
3 n x CDF p
4 p x CDF n

参数

par1

The first parameter

par2

The second parameter

par3

The third parameter

which

The flag to determine what to be calculated

返回值

Returns CDF, x, n, or p, determined by which.

相关文章
php statistic 函数 calculates any one parameter of the beta distribution given values for the othersphp statistic 函数 calculates any one parameter of the binomial distribution given values for the othersphp statistic 函数 calculates any one parameter of the cauchy distribution given values for the othersphp statistic 函数 calculates any one parameter of the chi square distribution given values for the othersphp statistic 函数 calculates any one parameter of the exponential distribution given values for the othersphp statistic 函数 calculates any one parameter of the f distribution given values for the othersphp statistic 函数 calculates any one parameter of the gamma distribution given values for the othersphp statistic 函数 calculates any one parameter of the laplace distribution given values for the othersphp statistic 函数 calculates any one parameter of the logistic distribution given values for the othersphp statistic 函数 calculates any one parameter of the negative binomial distribution given values for the othersphp statistic 函数 calculates any one parameter of the non central chi square distribution given values for the othersphp statistic 函数 calculates any one parameter of the non central f distribution given values for the othersphp statistic 函数 calculates any one parameter of the non central t distribution give values for the othersphp statistic 函数 calculates any one parameter of the normal distribution given values for the othersphp statistic 函数 calculates any one parameter of the poisson distribution given values for the othersphp statistic 函数 calculates any one parameter of the t distribution given values for the othersphp statistic 函数 calculates any one parameter of the uniform distribution given values for the othersphp statistic 函数 calculates any one parameter of the weibull distribution given values for the othersphp statistic 函数 probability mass function of the binomial distributionphp statistic 函数 generates a random deviate from the negative binomial distribution
关注编程学问公众号