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

arg1numberdefault: null

The value between A and B at which to evaluate the function.

arg2numberdefault: null

The alpha parameter of the distribution which must be greater than 0.

arg3numberdefault: null

The beta parameter of the distribution which must be greater than 0.

arg4numberdefault: null

An optional lower bound to the interval of x (A). If omitted, it is equal to 0.

arg5numberdefault: 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);

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