The Bernoulli distribution
best describes all situations where a "trial" is made resulting
in either "success" or "failure," such as when tossing
a coin, or when modeling the success or failure of a surgical procedure.

f(x) =

for x Î {0,1}

where

p |
is the probability that a particular event (e.g., success) will occur |

For a complete listing of all distribution functions, see Distributions and Their Functions.