invChiSquare

Syntax

invChiSquare(df, X)

Arguments

df is a positive integer indicating the degree of freedom of a chi-squared distribution.

X is a floating scalar or vector between 0 and 1.

Details

Return the value of a chi-squared inverse cumulative distribution function.

Examples

invChiSquare(1, [0, 0.05, 0.15, 0.25]);
// output
[0, 0.003932, 0.035766, 0.101531]

invChiSquare(1, [0.1, 0.3, 0.5, 0.7, 0.9]);
// output
[0.015791, 0.148472, 0.454936, 1.074194, 2.705543]