sample

open override fun sample(random: Random): Double(source)

Draws a single random value from this F-distribution.

Generates two independent chi-squared variates (one for each degrees-of-freedom parameter), divides each by its degrees of freedom, and returns their ratio.

Return

a random value drawn from this distribution.

Parameters

random

the source of randomness.