Educerie · AP · Statistics
AP Statistics 2.7
Independent Events and Unions of Events
How do we describe chance and variation, so that a claim about a population can be backed by numbers?
What you will learn
- Understand independence as one event not changing the probability of another
- Know that independent events satisfy P(A and B) = P(A)P(B)
- Know the addition rule P(A or B) = P(A) + P(B) - P(A and B)
- Understand why mutually exclusive events with positive probability are not independent
You must be able to
- Test independence from a table or from probabilities, with numbers
- Calculate P(A or B) with the addition rule
- Calculate the probability of at least one with the complement
- Calculate P(A and B) for independent events
- Read the regions of a Venn diagram
- Compare independent with mutually exclusive
In the exam. Section I multiple choice asks whether two events are independent from a table or from probabilities, finds with the addition rule, and uses the complement for "at least one" in repeated independent trials. This topic is the entry point to the binomial distribution (2.10), and the idea of independence returns in the conditions for inference and in the chi-square tests of independence in Unit 3. Skill 3.C.
1Independent events
Two events are independent when the occurrence of one tells you nothing about the other. Check by comparing a conditional probability with the unconditional one:
Put that in the multiplication rule and you get the test that is usually quickest:
Worked example 1 (testing from a table, invented). A school has 200 students. The table shows whether each plays a school sport, by grade.
| Plays a sport | Does not | Total | |
|---|---|---|---|
| Grade 12 | 40 | 60 | 100 |
| Other grades | 40 | 60 | 100 |
| Total | 80 | 120 | 200 |
Let be "plays a sport" and be "is in Grade 12". . Given Grade 12, .
The two are equal, so and are independent: knowing a student's grade does not change the probability of playing a sport. The product rule agrees: .
Now change the table. Suppose 50 of the 100 Grade 12 students and 30 of the 100 others play a sport. Then still, but . These are not equal, so the events are not independent: Grade 12 students are more likely to play a sport.
A justification for the exam gives both numbers, says whether they are equal, and states the conclusion in context.
Worked example 2 (from probabilities). , and . Are and independent?
First find the joint probability: . Then . They match, so the events are independent.
2Independence and repeated trials
Trials of a random process are independent when the outcome of one does not change the probabilities of the next. Tossing a coin, rolling dice, and a series of separate customers choosing at random are independent.
Whether sampling is independent depends on replacement.
- With replacement the pool is the same each time, so the draws are independent.
- Without replacement the pool changes, so the draws are not independent. In the group of 10 students with 4 seniors (2.6), choosing two seniors in a row has probability , not .
For a large population the change from one draw to the next is tiny, and sampling without replacement is treated as nearly independent. That is the idea behind the 10% condition of Unit 3.
Multiplying for independent events. Suppose a machine part is checked by 3 independent sensors. Each detects a fault with probability 0.90. The probability that all three detect it is
3Unions and the addition rule
The union of and , , is " or or both". In statistics the word "or" includes both unless the question says "exactly one".
If you add and , the outcomes in both events have been counted twice, so the overlap is subtracted once. For mutually exclusive events the overlap is 0 and the rule reduces to a sum.
Figure 1 shows a sample space with events and whose probabilities are , and .
The regions are separate, and they add to 1: .
- only: . only: . Both: 0.15. Neither: 0.20.
- The union is the three regions that touch a circle:
- The complement of the union is the outside of both circles, "neither": .
In the diagram, and are not independent. , which is not . The events overlap less than independent events with these probabilities would, so one makes the other somewhat less likely.
4"At least one" in independent trials
"At least one" is a union of many events, which is slow to add. Use the complement, as in 2.4, and the product rule for "none".
Worked example 3. A building has 4 independent smoke sensors, and each detects a fire with probability 0.80. What is the probability that at least one detects it?
The common error is , which exceeds 1. Probabilities of events that can overlap are not added without subtracting the overlap.
5Independent is not mutually exclusive
These two ideas are tested together, so keep them apart.
| Mutually exclusive | Independent | |
|---|---|---|
| Meaning | They cannot happen together | Knowing one does not change the probability of the other |
| Test | ||
| Rule for "or" | ||
| Rule for "and" | 0 |
If two events both have positive probability, they cannot be both mutually exclusive and independent. If and are mutually exclusive, then given , the probability of is 0, which differs from . So mutually exclusive events with positive probability are dependent.
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.