Let A be the event that a participant is overweight and let B be the event that they drink sugary beverages.
The probability that a person was overweight (event A) given that they drank sugary
beveragesis P(A|B).
$$\small{\begin{array}{rcl} P(A|B) & = & \frac{P(A\cap B)}{P(B)} \\ & = & \frac{0.297}{0.4}\\ & = & 0.743\end{array}}$$
The percentage of overweight participants who drank sugary beverages is analogous to the probability that a participant drank
sugary beverages given that they were overweight, P(B|A).
$$\small{\begin{array}{rcl} P(B|A) & = & \frac{P(A\cap B)}{P(A)} \\ & = & \frac{0.297}{0.544} \\
& = & 0.546\end{array}}$$
54.6% of overweight participants
drank sugary beverages.
Conditional Probabilities
- "The fatality rate for people infected with the novel coronavirus is estimated to be less than 1%" and
- "Among those whose infections cause them to become sickened by the disease known as COVID-19, the fatality rate is 1.38%."
What is the difference between the two statements? In the first, the fatality rate is reported for all people infected with the virus whereas in the second, that population is restricted to those who not only contract the virus but are sickened by it. Restricting the sample space to a particular event is called 'conditioning'.
Statement 2 above could be restated as "the probability that a person infected with the virus dies, conditional on them being sickened, is 0.0138." This is called a conditional probability.
The conditional probability of event A given B is the probability that event A occurs given that event B occurs. We write P(A|B) and say, the probability of "A given B" or "A conditional on B".
The conditional probability of event A given B is the probability that event A occurs given that event B occurs.
NOTATION: P(A|B) indicates the probability of event A given event B.
Other conditional probabilities related to the virus abound. In that same article it was reported that
- The probability that an infected person died, given that they were 80 or older was 0.078.
- The probability that sickened person died, given that they were in their 20's was 0.0006.
Conditional probabilities are common in other areas as well. A political scientist might consider
the probability that a person votes given that he is a republican. A computer tech might wonder about the
probability that malware is detected given that a certain software is installed on a computer.
When thinking about a conditional probability, the sample space
is restricted to a smaller set possessed of a specified characteristic.
- What is the probability that a 6 is rolled?
- What is the probability that a 6 is rolled given that the outcome is even?
To answer the second question, restrict possible outcomes to even numbers. Divide the number of 6's, 1, by the total number even outcomes, 3. The probability is 1/3.

The figure above suggests the formula for finding P(A|B): divide the probability of the intersection of events A and by by the probability of event B.

Let A denote the event that an American adult has used an online dating app and let B denote the event that they have never married. $P(B)=0.2$ and $P(A\cap B) = 0.1$.
The probability that an American adult has used an online dating app given that they have never married is $P(A|B)$.
$$\small{\begin{array}{rcl} P(A|B) & = & \frac{P(A\cap B)}{P(B)} \\ & = & \frac{0.1}{0.2} \\ & = & 0.5 \end{array}}$$
The probability that an American adult has used an online dating app given that they have never married is 0.5.