The OpenD Programming Language

chi2CCDF

Computes the Chi-squared complementary cumulative distribution function (CCDF).

@safe pure nothrow @nogc
T
chi2CCDF
(
T
)
(
const T x
,
const uint k
)
if (
isFloatingPoint!T
)

Parameters

x T

value to evaluate CCDF

k uint

degrees of freedom

Examples

import mir.test: shouldApprox;
0.2.chi2CCDF(2).shouldApprox == 0.9048374;

See Also

Meta