5  Independence of Events

Example 5.1 Do Americans think it is important for federal judges to be impartial in how they decide court cases? Consider the following data from the Pew Research Center. (Indepedendents are classified as either lean Democrat or lean Republican.)

Democrat/lean Dem (\(D\)) Republican/lean Rep (\(D^c\)) Total
Important (\(I\)) 1674 1531 3205
Not important (\(I^c\)) 146 133 279
Total 1820 1664 3484

Suppose a person is randomly selected from this sample. Consider the events \[\begin{align*} I & = \{\text{person thinks it is important for judges to be impartial}\}\\ D & = \{\text{person is a Democrat/leans Dem}\} \end{align*}\]

  1. Compute and interpret \(\text{P}(I)\).




  2. Compute and interpret \(\text{P}(I|D)\).




  3. Compute and interpret \(\text{P}(I|D^c)\).




  4. What do you notice about \(\text{P}(I)\), \(\text{P}(I|D)\), and \(\text{P}(I|D^c)\)?




  5. Compute and interpret \(\text{P}(D)\).




  6. Compute and interpret \(\text{P}(D|I)\).




  7. Compute and interpret \(\text{P}(D|I^c)\).




  8. What do you notice about \(\text{P}(D)\), \(\text{P}(D|I)\), and \(\text{P}(D|I^c)\)?




  9. Compute and interpret \(\text{P}(D \cap I)\).




  10. What is the relationship between \(\text{P}(D \cap I)\) and \(\text{P}(D)\) and \(\text{P}(I)\)?




  11. When randomly selecting a person from this particular group, would you say that events \(D\) and \(I\) are independent? Why?




\[\begin{align*} \text{$A$ and $B$} & \text{ are independent}\\ \text{P}(A \cap B) & = \text{P}(A)\text{P}(B)\\ \text{P}(A^c \cap B) & = \text{P}(A^c)\text{P}(B)\\ \text{P}(A \cap B^c) & = \text{P}(A)\text{P}(B^c)\\ \text{P}(A^c \cap B^c) & = \text{P}(A^c)\text{P}(B^c)\\ \text{P}(A|B) & = \text{P}(A)\\ \text{P}(A|B) & = \text{P}(A|B^c)\\ \text{P}(B|A) & = \text{P}(B)\\ \text{P}(B|A) & = \text{P}(B|A^c) \end{align*}\]

Example 5.2 This is a simplified example of batch testing1 for a disease. In batch testing, specimens (like blood or saliva samples) from a group of people are pooled together into one batch, which then undergoes one test. If none of the people has the disease, then the batch test result will be negative, and no further tests are required. But if at least one person in the batch has the disease, then the batch test result will be positive, and then each person in the batch must be tested individually. (We’re assuming no false positives and no false negatives for this example.)

Suppose that 8 people are to be tested, first in a single batch. Assume that each person has probability \(p=0.1\) of having the disease, independently from person to person. (The assumption of independence might be unreasonable if the people are in close contact with one another.)

  1. Identify the possible values for the total number of tests conducted.




  2. Compute the probability of each possible value.




Example 5.3 Continuing Example 5.2. Now suppose that 8 people to be tested are split into two groups of 4 people each. Within each group of 4 people, specimens are combined into a batch to be tested. If anyone in the batch has the disease, then the batch test will be positive, and those 4 people will need to be tested individually. Assume that each person has probability \(p=0.1\) of having the disease, independently from person to person.

  1. Identify the possible values for the total number of tests conducted.




  2. Compute the probability of each possible value.




5.1 Exercises

Exercise 5.1 A certain system consists of four identical components. Suppose that the probability that any particular component fails is 0.1, and failures of the components occur independently of each other. Find the probability that the system fails if:

  1. The components are connected in parallel: the system fails only if all of the components fail.




  2. The components are connected in series: the system fails whenever at least one of the components fails.




  3. Donny Don’t says the answer to the previous part is \(0.1 + 0.1 + 0.1 + 0.1 = 0.4\). Explain the error in Donny’s reasoning.




Exercise 5.2 Roll two fair four-sided dice, one green and one gold. There are 16 total possible outcomes (roll on green, roll on gold), all equally likely. Consider the event \(E=\{\text{the green die lands on 1}\}\). Answer the following questions by computing and comparing appropriate probabilities.

  1. Consider \(A=\{\text{the gold die lands on 4}\}\). Are \(A\) and \(E\) independent?




  2. Consider \(B=\{\text{the sum of the dice is 3}\}\). Are \(B\) and \(E\) independent?




  3. Consider \(C=\{\text{the sum of the dice is 5}\}\). Are \(C\) and \(E\) independent?




  • Independence concerns whether or not the occurrence of one event affects the probability of the other.
  • Given two events it is not always obvious whether or not they are independent.
  • Independence depends on the underlying probability measure. Events that are independent under one probability measure might not be independent under another.
  • Independence is often assumed. Whether or not independence is a valid assumption depends on the underlying random phenomenon.

  1. Thanks to Allan Rossman for this example. His blog has more investigations into batch testing, including what happens as \(n\) and \(p\) change. Cal Poly implemented versions of batch testing for COVID through saliva samples and wastewater testing.↩︎