RandomBernoulli ( probability )
Returns random values from a Bernoulli distribution (0 or 1)
Average rating: 4.3 (36 votes) Log in to vote
Jeremy Bante https://github.com/jbante/ |
RandomBernoulli ( .3 );
RandomBernoulli ( .3 );
RandomBernoulli ( .3 );
RandomBernoulli ( .3 );
RandomBernoulli ( .3 );
RandomBernoulli ( .3 );
RandomBernoulli ( .3 );
RandomBernoulli ( .3 );
RandomBernoulli ( .3 );
RandomBernoulli ( .3 )
)
0
1
0
1
0
1
0
0
0
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
When called repeatedly, RandomBernoulli creates values consistent with a Bernoulli random variable with probability of "event success" (1) given by the argument.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.