HYPGEOMDIST

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

Description

Returns the hypergeometric distribution.

Parameters

arg1numberdefault: null

The number of successes in the sample.

arg2numberdefault: null

The size of the sample.

arg3numberdefault: null

The number of successes in the population.

arg4numberdefault: null

The population size.

Returns

number

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.HYPGEOMDIST(2, 3, 3, 12));

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