GoLang stats_rand_gen_f

request it (320)
GoLang replacement for PHP's stats_rand_gen_f [edit | history]



Do you know a GoLang replacement for PHP's stats_rand_gen_f? Write it!

PHP stats_rand_gen_f

PHP original manual for stats_rand_gen_f [ show | php.net ]

stats_rand_gen_f

(PECL stats >= 1.0.0)

stats_rand_gen_fGenerates a random deviate from the F distribution

Description

float stats_rand_gen_f ( float $dfn , float $dfd )

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

dfn

The degrees of freedom in the numerator

dfd

The degrees of freedom in the denominator

Return Values

A random deviate