The mean, of a binomial distribution is
(1)
where is the number of trials and
is the probability of success.
For any discrete probability distribution , the expected value or mean is
(2)
For example, if a coin is tossed times and the number of heads is recorded, the distribution is
![]() | ![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() | ![]() |
I want to show how the formula is derived from the general formula (equation
).
For a binomial distribution,
The can cancel with the
to leave
on the denominator.
Also, when , hence the sum can start at
.
Let and
When
Simplify
We can move and
out of the sum.
As it is the sum of the probabilities of a binomial distribution with trials.
Hence
Next, deriving the variance formula for a binomial distribution.