CHIINV

function CHIINV(arg1: number = null, arg2: number = null): number

Description

Returns the inverse of the right-tailed probability of the chi-squared distribution.

Parameters

arg1numberdefault: null

A probability associated with the chi-squared distribution, a value between 0 and 1 inclusive.

arg2numberdefault: null

The number of degrees of freedom, a number between 1 and 10^10, excluding 10^10.

Returns

number

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.CHIDIST(0.4, 10);
oWorksheet.GetRange("B2").SetValue(ans);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).