Lesson 4.4 · Probability, Random Variables and Distributions
Independence
Sometimes learning that one event happened tells you nothing at all about another. A coin doesn't remember the last flip, and one randomly chosen customer's purchase doesn't affect the next one's. When events don't influence each other's probabilities, they are independent, and probability calculations become much simpler.
What independence means
Definition
Independent events
Events and are independent if knowing whether one occurs does not change the probability of the other:
Equivalently, , or .
Any one of those three equations is enough to show independence, and if any one fails, the events are dependent.
Checking independence in a two-way table
Compare a conditional probability with the overall (unconditional) probability.
Worked example: Are grade and phone type independent?
A survey of 220 students recorded grade level and phone type.
| iPhone | Android | Total | |
|---|---|---|---|
| 9th grade | 38 | 22 | 60 |
| 10th grade | 45 | 35 | 80 |
| 11th grade | 52 | 28 | 80 |
| Total | 135 | 85 | 220 |
Are the events "Android" and "9th grade" independent for a randomly chosen student?
Solution. Compare
These are not equal, so the events are not independent. Knowing a student is a ninth grader slightly lowers the chance the student uses Android.
In real data, conditional and overall proportions are rarely exactly equal. For this lesson, "independent" means exactly equal. (Later in the course, a chi-square test will tell you whether a difference is big enough to be convincing.)
Worked example: Checking with the multiplication rule
Suppose , and . Are and independent?
Solution. , which equals . So and are independent. You could also check .
The multiplication rule for independent events
When events are independent, is just , so the general multiplication rule simplifies:
Multiplication rule for independent events
If and are independent,
This extends to any number of independent events: multiply their probabilities.
Worked example: Connecting flights
Your first flight is on time with probability , and your connecting flight is on time with probability . Assuming the flights are independent, what is the probability both are on time?
Solution. .
Is independence reasonable here? Maybe not: bad weather at a hub could delay both. Always think about whether the assumption makes sense in context.
"At least one" problems
"At least one" means one, two, three, … up to all of them, which is many cases. The complement, "none", is a single case, and with independence it's easy to compute.
Worked example: At least one failure
A machine has 4 components that work independently. Each component fails during a year with probability . What is the probability that at least one component fails during the year?
Solution. Each component survives with probability , so
Independent is not the same as mutually exclusive
These two ideas are easy to confuse, but they are nearly opposites. Mutually exclusive events can't happen together, so if you know happened, definitely did not. That is very strong information about . So two mutually exclusive events with positive probabilities are always dependent.
Common mistake
Don't multiply probabilities unless the events are independent, and don't call events independent just because they are "different" or "separate". Check with or , or justify independence from how the data were produced (for example, separate flips of a coin or a random sample from a large population).
Practice
Events and are independent with and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For the events in the previous problem, find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For events and , , and . Which statement is true?
A random sample of 400 adults were asked whether they exercise regularly.
| Yes | No | Total | |
|---|---|---|---|
| Under 40 | 128 | 72 | 200 |
| 40 and over | 96 | 104 | 200 |
| Total | 224 | 176 | 400 |
Are the events "under 40" and "exercises regularly" independent?
A salesperson makes 5 independent calls, and each call results in a sale with probability . Find the probability of at least one sale. Round to 4 decimal places.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Events and are mutually exclusive, with and . Which statement is true?
Events and are independent, and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.