stats_rand_gen_f
PHP function
Edit on GitHub ✎
(PECL stats >= 1.0.0)
Generates a random deviate from the F distribution
Description
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.
Parameters
dfnThe degrees of freedom in the numerator
dfdThe degrees of freedom in the denominator
Return Values
A random deviate