PHP
数学 | Mathematics

stats_rand_gen_chisquare

stats_rand_gen_chisquare

(PECL stats >= 1.0.0)

stats_rand_gen_chisquare — Generates a random deviate from the chi-square distribution

Description

float stats_rand_gen_chisquare ( float $df )

Returns a random deviate from the chi-square distribution where the degrees of freedom is df.

Parameters

df

The degrees of freedom

Return Values

A random deviate

← stats_rand_gen_beta

stats_rand_gen_exponential →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-rand-gen-chisquare.php