
284 Chapter 7
A quick guide to the geometric distribution
Here’s a quick summary of everything you could possibly need to know about the Geometric distribution
When do I use it?
Use the Geometric distribution if you’re running independent trials, each one can have a success or failure, and
you’re interested in how many trials are needed to get the first successful outcome
How do I calculate probabilities?
Use the following handy formulae. p is the probability of success in a trial, q = 1 - p, and X is the number of
trials needed in order to get the first successful outcome. We say X ~ Geo(p).
P(X = r) = p q
r - 1
P(X ≤ r) = 1 - q
r
P(X > r) = q
r
What about the expectation and variance?
Just use the following
E(X) = 1/p
Var(X) = q/p
2
Q:
Can I trust these formulae? Can
I use them any time I need to find
probabilities and expectations?
A: You can use these shortcuts whenever
you’re dealing with the geometric distribution,
as they’re shortcuts for that probability
distribution. If you’re dealing with a situation
that can’t be modelled by the geometric
distribution, don’t use these shortcuts.
Remember, the geometric distribution is
used for situations where you’re running
independent trials (so the probability stays
the same for each one), each trial ends in
either success or failure, and the thing you’re
interested in is how many trials are needed
to get the first successful outcome.
Q:
What about if my circumstances
are different? What if I have a fixed
number of trials and I want to find the
number of successful outcomes?
A: You can’t use the geometric
distribution to model this sort of situation, but
don’t worry, there are other methods.
Q:
Do I have to learn all of these
shortcuts?
A: If you have to deal with the geometric
distribution, knowing the formulae will
save you a lot of time. If you’re sitting for a
statistics exam, check whether your exam
syllabus covers it.
Q:
Why does the distribution use the
letters p and q?
A: The letter p stands for probability. In
this case, it’s the probability of getting a
successful outcome in one trial.
The letter q is often used in statistics to
represent 1 - p, or p
I
. You’ll see quite a lot
of it through the rest of this chapter and the
rest of the book.
The probability of the first
success being in the r’th trial
The probability you’ll need more than
r trials to get your first success
The probability you’ll need r trials
or less to get your first success
geometric distribution cheat sheet