Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<stats_rand_gen_exponentialstats_rand_gen_funiform>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026

stats_rand_gen_f

(PECL stats >= 1.0.0)

stats_rand_gen_f — Generates a random deviate from the F distribution

Description

function 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

dfn

The degrees of freedom in the numerator

dfd

The degrees of freedom in the denominator

Return Values

A random deviate


<stats_rand_gen_exponentialstats_rand_gen_funiform>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026