BINOM_DIST_RANGE

function BINOM_DIST_RANGE(
  arg1: number = null,
  arg2: number = null,
  arg3: number = null,
  arg4: number = null,
): number

Description

Returns the probability of a trial result using a binomial distribution.

Parameters

arg1numberdefault: null

The number of independent trials.

arg2numberdefault: null

The probability of success on each trial.

arg3numberdefault: null

The minimum number of successes in the trials to calculate probability for, a numeric value greater than or equal to 0.

arg4numberdefault: null

The maximum number of successes in the trials to calculate probability for, a numeric value greater than the minimum number of successes and less than or equal to trials.

Returns

number

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.BINOM_DIST_RANGE(60, 0.75, 45, 50));

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