|
  
Bernoulli Distribution
A Bernoulli random number is always either a 0 or 1 with the
specified probability of being a 1. Bernoulli random numbers are
useful in conditional statements using the IF
primitive that are designed to model cases where an event either
occurs or does not.
The Bernoulli distribution is a special application of the
Binomial distribution random number brand
where the number of trials is set to one.
The brand primitive, when
used to generate Bernoulli deviates, has the format
brand( probability )
Probability Density Function for a node using the Bernoulli
distribution with a probability of success of 0.2; brand(0.2).
|