## Binomial Distribution

When an experiment involves a ``trial'' such that- it results in possibly two outcomes, say ``success'' or ``failure,'' and
- it is repeatedly and independently performed (that is, each trial is designed to be identical but does not interfere with others),

Tossing a coin is an example of independent trial where head (red face) or tail (blue face) are the two possible outcomes. When it is tossed repeatedly, the experiment yields the number of successes (red faces).

In the experiment the number of successes is the random variable of interest. From the probabilistic point of view it is randomly drawn from the common probability distribution. (Here it is computationally limited to .)

The binomial experiment itself can be reproduced repeatedly, say times. Then the outcome recorded every time reveals the shape of frequency distribution. The exact frequency function is formulated as

for
,

and it is called a binomial distribution
with parameters and .
Here
is the number of combinations of choosing items from items.