PHP.nl

stats_cdf_binomial

stats_cdf_binomial

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

float **stats_cdf_binomial** float $par1 float $par2 float $par3 int $which

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

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

which

par1The first parameter

par2The second parameter

par3The third parameter

whichThe flag to determine what to be calculated

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