(PECL stats >= 1.0.0)
stats_rand_gen_f — Generates a random deviate from the F distribution
stats_rand_gen_f(float $dfn, float $dfd): float
Generates a random deviate from the F (variance ratio) distribution with "dfn" degrees of freedom in the numerator and "dfd" degrees of freedom in the denominator. Method : directly generates ratio of chisquare variates.
dfnThe degrees of freedom in the numerator
dfdThe degrees of freedom in the denominator
A random deviate
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stats-rand-gen-f.php