PHP.nl

stats_cdf_chisquare

stats_cdf_chisquare

Calculates any one parameter of the chi-square distribution given values for the others

float **stats_cdf_chisquare** float $par1 float $par2 int $which

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

The following table lists the return value and parameters by . CDF, x, and k denotes cumulative distribution function, the value of the random variable, and the degree of freedom of the chi-square distribution, respectively.

which

par1The first parameter

par2The second parameter

whichThe flag to determine what to be calculated

Returns CDF, x, or k, determined by . which