BETAINV
function BETAINV(
arg1: number = null,
arg2: number = null,
arg3: number = null,
arg4: number = null,
arg5: number = null,
): number
Description
Returns the inverse of the cumulative beta probability density function for a specified beta distribution (BETADIST).
Parameters
- arg1
number
null A probability associated with the beta distribution.
- 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();
oWorksheet.GetRange("A1").SetValue(oFunction.BETAINV(0.2, 4, 5));