HYPGEOMDIST
function HYPGEOMDIST(
arg1: number = null,
arg2: number = null,
arg3: number = null,
arg4: number = null,
): number
Description
Returns the hypergeometric distribution.
Parameters
- arg1
number
null The number of successes in the sample.
- arg2
number
null The size of the sample.
- arg3
number
null The number of successes in the population.
- arg4
number
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));