If we have two random variables Y1 and Y2 having chi-square distribution with a and b degrees of freedom respectively, ratio
will have F-distribution with a and b degrees of freedom. This distribution is also known as Fisher distribution.
On the right, you can see the probability density function of the F-distribution for some a's and b's. Its analytical form is:
Cumulative distribution function of the F-distribution is:
This module contains algorithms of calculation of the cumulative distribution function (FDistribution subroutine), its own complement (FCDistribution subroutine) and its inverse function (InvFDistribution subroutine).
This article is licensed for personal use only.
ALGLIB Project offers you two editions of ALGLIB:
ALGLIB Free Edition:
+delivered for free
+offers full set of numerical functionality
+extensive algorithmic optimizations
-no multithreading
-non-commercial license
ALGLIB Commercial Edition:
+flexible pricing
+offers full set of numerical functionality
+extensive algorithmic optimizations
+high performance (SMP, SIMD)
+commercial license with support plan
Links to download sections for Free and Commercial editions can be found below: