- Use the addition rule to calculate the probability of one event or some other event occurring.
- Use contingency tables to describe relationships between two variables.
- Use the complement rule to calculate probabilities.
Consider a six-sided die. \[P(\text{roll a 1 or 2}) = \frac{\text{2 ways}}{\text{6 outcomes}} = \frac{1}{3}\] We get the same result by taking \[P(\text{roll a 1})+P(\text{roll a 2}) = \frac{1}{6}+\frac{1}{6} = \frac{1}{3}\] It turns out this is widely applicable!
If \(A_1\) and \(A_2\) are disjoint outcomes, then the probability that one of them occurs is \[P(A_1 \text{ or } A_2) = P(A_1)+P(A_2)\] This can also be extended to more than two disjoint outcomes: \[P(A_1 \text{ or } A_2 \text{ or } \dots \text{ or } A_k) = P(A_1)+P(A_2)+\dots + P(A_k)\] for \(k\) disjoint outcomes.
\(A\): \(\quad 2\diamondsuit\) \(3\diamondsuit\) \(4\diamondsuit\) \(5\diamondsuit\) \(6\diamondsuit\) \(7\diamondsuit\) \(8\diamondsuit\) \(9\diamondsuit\) \(10\diamondsuit\) \(J\diamondsuit\) \(Q\diamondsuit\) \(K\diamondsuit\) \(A\diamondsuit\)
\(B\): \(\quad J\heartsuit\) \(Q\heartsuit\) \(K\heartsuit\) \(J\clubsuit\) \(Q\clubsuit\) \(K\clubsuit\) \(J\diamondsuit\) \(Q\diamondsuit\) \(K\diamondsuit\) \(J\spadesuit\) \(Q\spadesuit\) \(K\spadesuit\)
The collection of cards that are diamonds or face cards (or both) is
Looking at these cards, I can see that there are 22 of them, so \[P(A \text{ or } B) = \frac{22}{52}\]
What happened?
For any two events \(A\) and \(B\), the probability that at least one will occur is \[P(A \text{ or } B) = P(A)+P(B)-P(A \text{ and }B).\]
A contingency table is a way to summarize bivariate data, or data from two variables.
|
|
Inoculated |
|||
|
|
yes |
no |
total |
|
|
Result |
lived |
238 |
5136 |
5374 |
|
died |
6 |
844 |
850 |
|
|
total |
244 |
5980 |
6224 |
|
|
|
Inoculated |
|||
|
|
yes |
no |
total |
|
|
Result |
lived |
0.0382 |
0.8252 |
0.8634 |
|
died |
0.0010 |
0.1356 |
0.1366 |
|
|
total |
0.0392 |
0.9608 |
1.0000 |
|
|
|
Inoculated |
|||
|
|
yes |
no |
total |
|
|
Result |
lived |
0.0382 |
0.8252 |
0.8634 |
|
died |
0.0010 |
0.1356 |
0.1366 |
|
|
total |
0.0392 |
0.9608 |
1.0000 |
|
|
|
Inoculated |
|||
|
|
yes |
no |
total |
|
|
Result |
lived |
0.0382 |
0.8252 |
0.8634 |
|
died |
0.0010 |
0.1356 |
0.1366 |
|
|
total |
0.0392 |
0.9608 |
1.0000 |
|
Find the probability an individual was inoculated OR lived.
The complement of an event is all of the outcomes in the sample space that are not in the event. For an event \(A\), we denote its complement by \(A^c\).
In probability notation: \[S = \{1, 2, 3, 4, 5, 6\}\] \[A=\{1,2\}\] \[A^c=\{3, 4, 5, 6\}\]
\[P(A \text{ or } A^c)=1\]
\[P(A) = 1-P(A^c)\]
Use the complement rule to find the probability a person was NOT inoculated.
Consider rolling 2 six-sided dice and taking their sum.
The event of interest \(A\) is a sum less than 12. Find