Returns the right-tailed probability of the chi-squared distribution.
Name | Type | Description |
arg1 | number | The value at which the distribution will be evaluated, a nonnegative number. |
arg2 | number | The number of degrees of freedom, a number between 1 and 10^10, excluding 10^10. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); var avg = oFunction.CHIDIST(12, 10); oWorksheet.GetRange("B2").SetValue(avg); builder.SaveFile("xlsx", "CHIDIST.xlsx"); builder.CloseFile();