The OpenD Programming Language

fCDF

Computes the F cumulative distribution function (CDF).

@safe pure nothrow @nogc
T
fCDF
(
T
)
(
const T x
,
const T df1
,
const T df2
)
if (
isFloatingPoint!T
)

Parameters

x T

value to evaluate CDF

df1 T

degrees of freedom parameter #1

df2 T

degrees of freedom parameter #2

Examples

import mir.test: shouldApprox;

0.50.fCDF(1, 1).shouldApprox == 0.3918266;
0.75.fCDF(1, 2).shouldApprox == 0.522233;
0.25.fCDF(0.5, 4).shouldApprox == 0.5183719;
0.10.fCDF(2, 1).shouldApprox == 0.08712907;

See Also

Meta