Lesson 5 of 8 · 12 min
Bernoulli distributions
Model a single trial with two outcomes by a Bernoulli random variable, and derive and use its mean and variance .
What you will be able to do
- Recognise two-outcome situations and model them with a Bernoulli random variable with parameter .
- Derive and use and .
- Work back from a mean or variance to the value of .
A goal kicker lines up a conversion. Either it goes over or it doesn't. A seed germinates or it doesn't. A customer buys the extended warranty or doesn't. Lots of chance situations have exactly two outcomes, and one random variable handles them all.
Definition
Bernoulli random variable
A Bernoulli trial is one chance experiment with exactly two outcomes, called success and failure, where .
The Bernoulli random variable counts the successes in one trial: for a success and for a failure.
| 0 | 1 | |
|---|---|---|
The number is the parameter of the distribution.
"Success" is just a label for the outcome you are counting; it doesn't have to be good. In a study of side effects, "success" might be that a patient has a headache.
Move . Where is the mean? For which value of is the spread greatest?
Using the general formulas from the last two lessons:
Key idea
Mean and variance of a Bernoulli random variable
If is Bernoulli with parameter , then
A goal kicker converts 85% of attempts. Let if the next kick is successful and otherwise. Find .
Which of these can be modelled by a Bernoulli random variable? Select all that apply.
Worked example
Find p from a Bernoulli variance
Let if a goal kicker's next conversion attempt is successful and otherwise. The kicker succeeds more often than not, and .
(a) Determine , the probability of success.
(b) Determine the standard deviation of .
Step 1: Write the variance equation
is Bernoulli with parameter , so .
Step 2: Solve the quadratic
, which factorises as . So or .
Two numbers that add to 1 and multiply to 0.16: 0.2 and 0.8.
Step 3: Choose using the context
The kicker succeeds more often than not, so and .
Step 4: Find the standard deviation
Try it yourself first, then check the working one step at a time.
Answer
and the standard deviation is 0.4.
Method
Set equal to the variance.
Solve the quadratic; the two solutions add to 1.
Use the context to choose one.
Watch out for
Giving both solutions without choosing.
Treating 0.16 as the standard deviation.
A Bernoulli random variable has and . Find .
Common mistake
Mean, variance or standard deviation?
For a Bernoulli variable the mean is , the variance is and the standard deviation is . Three different numbers; read which one the question wants.
Exam tip
Two solutions for p
is symmetric about , so a given variance (below 0.25) comes from two values of that add to 1. Use the information in the question to choose, and say why.
Summary
A Bernoulli trial has two outcomes, success with probability and failure with .
The Bernoulli random variable is 1 for a success and 0 for a failure.
and , which is largest, 0.25, when .
A given variance usually comes from two values of that add to 1.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.