The OpenD Programming Language

chi2InvCDF

Computes the Chi-squared inverse cumulative distribution function (InvCDF).

@safe pure nothrow @nogc
T
chi2InvCDF
(
T
)
(
const T p
,
const uint k
)
if (
isFloatingPoint!T
)

Parameters

p T

value to evaluate InvCDF

k uint

degrees of freedom

Examples

import mir.test: shouldApprox;
0.09516258.chi2InvCDF(2).shouldApprox == 0.2;

See Also

Meta