
you are here 4 301
These formulae work for any
binomial distribution.
E(X) = np
Var(X) = npq
Binomial expectation and variance
Let’s summarize what we just did. First of all, we took at one trial, where
the probability of success is p, and where the distribution is binomial.
Using this, we found the expectation and variance of a single trial.
We then considered n independent trials, and used shortcuts to find the
expectation and variance of n trials. We found that if X ~ B(n, p),
This is useful to know as it gives us a quick way of finding the expectation
and variance of any probability distribution, without us having to work out
lots of individual probabilities.
Q:
The geometric distribution and the
binomial distribution seem similar. What’s
the difference between them? Which one
should I use when?
A: The geometric and binomial
distributions do have some things
in common. Both of them deal with
independent trials, and each trial can result
in success or failure. The difference between
them lies in what you actually need to find
out, and this dictates which probability
distribution you need to use.
If you have a fixed number of trials and you
want to know the probability of getting a
certain number of successes, you need to
use the binomial distribution. You can also
use this to find out how many successes you
can expect to have in your n trials.
If you’re interested in how many trials you’ll
need before you have your first success,
then you need to use the geometric
distribution instead.
Q:
The geometric distribution has a
mode. Does the binomial distribution?
A: Yes, it does. The mode of a probability
distribution is the value with the highest
probability. If p is 0.5 and n is even, the
mode is np. If p is 0.5 and n is odd it has two
modes, the two values either side of np. For
other values of n and p, finding the mode is
a matter of trial and error, but it’s generally
fairly close to np.
Q:
So for both the geometric and the
binomial distributions you run a series
of trials. Does the probability of success
have to be the same for each trial?
A: In order for the geometric or binomial
distribution to be applicable, the probability
of success in each trial must be the same.
If it’s not, then neither the geometric nor
binomial distribution is appropriate.
Q:
I’ve tried calculating E(X) and
it’s not a value that’s in the probability
distribution. Did I do something wrong?
A: When you calculate E(X), the result
may not be a possible value in your
probability distribution. It may not be a value
that can actually occur. If you get a result
like this, it doesn’t mean that you’ve made a
mistake, so don’t worry.
Q:
Are there any other sorts of
probability distribution?
A: Yes, there are. Keep reading and you’ll
find out more.