up Inquisit Language Reference

randBinomial function

Generates a random number representing the number of successes in a sequence of n yes/no experiments, each of which succeeds with probability p.

Member of

<global>

Syntax

randBinomial(n, p)

Return Type

number

Parameters

Name Type Description
n integer The number of trials.
p number The probability of a success.

Remarks

Examples


Copyright Millisecond Software, LLC. All rights reserved.