Skip to content

Function: chiSquareTail() ​

ts
function chiSquareTail(statistic, degrees): number;

Defined in: src/stats.ts:122

The upper tail of a chi-square distribution: the chance that a fair die strays at least this far. Worked out from the incomplete gamma function, not approximated by a normal curve.

Parameters ​

statistic ​

number

degrees ​

number

Returns ​

number

MIT © John Morris