3  Conditional Probability

Example 3.1 The probability1 that a randomly selected American adult (18+) uses Snapchat is 0.24.

  1. Suppose the randomly selected adult is under age 30. Do you think the probability that a randomly selected adult who is under age 30 uses Snapchat is 0.24? What if the adult is over age 30?




  2. The probability2 that a randomly selected American adult is under age 30 is 0.20. Start to create a two-way table representing 10000 hypothetical U.S. adults. Is the probability that a randomly selected American adult both (1) is under age 30, and (2) uses Snapchat equal to \(0.20\times 0.24\)? Explain.




  3. Suppose that the probability that a randomly selected American adult both is use age 30 and uses Snapchat is 0.13. Construct an appropriate two-way table.




  4. Find the probability that a randomly selected American adult who is under age 30 uses Snapchat.




  5. How can the probability in the previous part be written in terms of the probabilities provided earlier?




  6. Find the probability that a randomly selected American adult who is over age 30 uses Snapchat.




  7. Find the probability that a randomly selected American adult who uses Snapchat is under age 30.




Example 3.2 The following two phrases contain exactly the same words, just in different orders. Which is larger, the numerical value of 1 or 2?

  1. The probability that a randomly selected man who is greater than six feet tall plays in the National Basketball Association (NBA).
  2. The probability that a randomly selected man who plays in the National Basketball Association (NBA) is greater than six feet tall.




Example 3.3 Suppose

  • 20% of adults are under age 30
  • 63% of adults under age 30 use TikTok
  • 31% of adults over age 30 TikTok
  1. Use the information to set up a hypothetical two-way table.




  2. Compute the probability that an adult uses TikTok.




  3. Compute the probability that an adult who uses TikTok is under age 30.




3.1 Exercises

Exercise 3.1 Continuing Exercise 2.1. The probability that a randomly selected U.S. household has a pet dog is 0.47. The probability that a randomly selected U.S. household has a pet cat is 0.25. the probability that a randomly selected U.S. household has a pet dog and a pet cat is 0.15.

In addition to computing, represent the probabilities using appropriate notation.

  1. Compute the probability that a randomly selected U.S. household that has a pet dog also has a pet cat. Is it 0.25?




  2. Compute the probability that a randomly selected U.S. household that does not have a pet dog has a pet cat. Is it the same as the previous part? Is it one minus the previous part?




  3. Describe in words the probability that results from subtracting the answer to the first part from 1.




  4. Compute the probability that a randomly selected U.S. household that has a pet cat also has a pet dog.




Exercise 3.2 Suppose that3

  • 67% of Democrats believe in human-driven climate
  • 46% of Independents believe in human-driven climate
  • 34% of Republicans believe in human-driven climate

Also suppose that4

  • 28% of American adults are Democrats
  • 42% of American adults are Independents
  • 30% of American adults are Republicans
  1. Define the event \(A\) to represent “believes in human-driven climate change” and \(D, I, R\) to correspond to affiliation in each of the parties. If the probability measure \(\text{P}\) corresponds to selecting an American adult uniformly at random, write all the percentages above as probabilities using proper notation.





  2. Construct an appropriate two-way table of probabilities.




  3. Now suppose that the randomly selected American believes in human-driven climate change. How does this information change the probability that the selected American belongs to each political party? Answer by computing appropriate probabilities (and using proper notation).




  4. How many times more likely is it for an American adult to believe in human-driven climate change and be Independent than to:
    1. believe in human-driven climate change and be Democrat




    2. believe in human-driven climate change and be Republican




  5. How many times more likely is it for an American adult who believes in human-driven climate change to be Independent than to be:
    1. Democrat




    2. Republican




  6. What do you notice about the answers to the two previous parts?




  • The process of conditioning can be thought of as “slicing and renormalizing”.
    • Extract the “slice” corresponding to the event being conditioned on (and discard the rest). For example, a slice might correspond to a particular row or column of a two-way table.
    • “Renormalize” the values in the slice so that corresponding probabilities add up to 1.
  • Slicing determines the shape; renormalizing determines the scale.
  • Slicing determines relative probabilities; renormalizing just makes sure they add up to 1.

Exercise 3.3 Continuing Exercise 3.2. Explain in detail how you could conduct a simulation, using only the information provided in the problem set up, and how you would use the results to approximate the conditional probability of each party given belief in human driven climate change.






  • Conditional probabilities can be approximated by filtering (or subsetting) based on the condition
  • To approximate \(\text{P}(A|B)\), simulate the random phenomenon for a set number of repetitions (say 10000), discard those repetitions on which \(B\) does not occur, and compute the relative frequency of \(A\) among the remaining repetitions (on which \(B\) does occur).
  • Be careful! The margin of error is based on only the number of repetitions used to compute the relative frequency. So if you perform 10000 repetitions but \(B\) occurs only on 2000, then the margin of error for estimate \(\text{P}(A|B)\) is roughly on the order of \(1/\sqrt{2000} = 0.022\) (rather than \(1/\sqrt{10000} = 0.01\). Especially if \(\text{P}(B)\) is small, the margin of error could be large resulting in an imprecise estimate of \(\text{P}(A|B)\). (Advantage: not computationally intensive.)

  1. The values in this problem are based on a April, 2021 report by the Pew Research Center.↩︎

  2. Based on data from the U.S. Census Bureau↩︎

  3. Probabilities are estimated based on this 2024 survey.↩︎

  4. Estimate based on Gallup poll↩︎