Sub topic 16
Reversing a Conditional Probability
The direction matters
Assume you know fractions, ratios, percents, and the meaning of conditional probability. Recall that \(P(A \mid B)\) means “the probability of \(A\), given that \(B\) occurred.” The condition after the vertical bar restricts the sample space.
A common GRE trap is to reverse the condition:
\[ P(A\mid B) \ne P(B\mid A) \]
in general.
For example:
- \(P(\text{positive test} \mid \text{disease})\) is the chance that a person tests positive among people who have the disease.
- \(P(\text{disease} \mid \text{positive test})\) is the chance that a person has the disease among people who tested positive.
These answer different questions.
Bayes’ rule
Bayes’ rule reverses a conditional probability:
\[ P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)} \]
The three quantities in the numerator describe the path where both \(A\) and \(B\) occur:
\[ P(B\mid A)P(A)=P(A\text{ and }B) \]
The denominator \(P(B)\) includes every way that \(B\) can occur.
Worked example
Suppose 2% of people have a disease. A test is positive for 95% of people who have the disease. It is also positive for 10% of people who do not have the disease. If a randomly selected person tests positive, what is the probability that the person has the disease?
Let \(D\) mean “has the disease” and \(+\) mean “tests positive.”
Given:
\[ P(D)=0.02,\quad P(+\mid D)=0.95,\quad P(+\mid \text{not }D)=0.10 \]
First calculate the total probability of a positive test:
\[ P(+)=P(+\mid D)P(D)+P(+\mid \text{not }D)P(\text{not }D) \]
\[ P(+)=0.95(0.02)+0.10(0.98)=0.117 \]
Now apply Bayes’ rule:
\[ P(D\mid +)=\frac{0.95(0.02)}{0.117} =\frac{0.019}{0.117} \approx 0.162 \]
The answer is about \(16.2\%\), not \(95\%\). The low base rate of the disease matters.
| Group | Probability of group | Positive-test probability | Joint probability |
|---|---|---|---|
| Has disease | 0.02 | 0.95 | 0.019 |
| Does not have disease | 0.98 | 0.10 | 0.098 |
| Total | 1.00 | — | 0.117 |
The desired probability is the first row’s joint probability divided by the total positive probability.
GRE strategy
For a conditional-probability question:
- Name the event being asked for and the event after the condition bar.
- Find the joint probability of both events.
- Divide by the total probability of the conditioning event.
- Check whether the result is reasonable. A rare cause can remain unlikely even when it often produces the observed result.
Exercise
In a group, 30% are engineers. Of the engineers, 40% work remotely. Of the non-engineers, 10% work remotely. Given that a person works remotely, what is the probability that the person is an engineer?
Show answer
\(P(E\mid R)=\frac{0.40(0.30)}{0.40(0.30)+0.10(0.70)}=\frac{0.12}{0.19}=\frac{12}{19}\).