BETADIST
function BETADIST(
arg1: number = null,
arg2: number = null,
arg3: number = null,
arg4: number = null,
arg5: number = null,
): number
Description
Returns the cumulative beta probability density function.
Parameters
- arg1
number
null The value between A and B at which to evaluate the function.
- arg2
number
null The alpha parameter of the distribution which must be greater than 0.
- arg3
number
null The beta parameter of the distribution which must be greater than 0.
- arg4
number
null An optional lower bound to the interval of x (A). If omitted, it is equal to 0.
- arg5
number
null An optional upper bound to the interval of x (B). If omitted, it is equal to 1.
Returns
number
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.BETADIST(0.4, 4, 5);
oWorksheet.GetRange("B2").SetValue(ans);