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
- arg1
number
null The value at which the distribution will be evaluated, a nonnegative number.
- arg2
number
null The number of degrees of freedom, a number between 1 and 10^10, excluding 10^10.
- arg3
boolean
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));