CHISQ_DIST

function CHISQ_DIST(arg1: number = null, arg2: number = null, arg3: boolean = null): number

Description

Returns the left-tailed probability of the chi-squared distribution.

Parameters

arg1numberdefault: null

The value at which the distribution will be evaluated, a nonnegative number.

arg2numberdefault: null

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

arg3booleandefault: null

A logical value that determines the form of the function. If this argument is equal to true, the cumulative distribution function is returned; if it is equal to false, the probability density function is returned.

Returns

number

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.CHISQ_DIST(2, 3, false));

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).