1. Conditional Probability
Conditional probability measures the probability of an event A occurring given that another event B has already occurred.
P(A∣B)=P(B)P(A∩B),if P(B)>0
- P(A∣B) = probability of A given B
- P(A∩B) = probability that both A and B occur
- P(B) = probability of B
Key Points
- Conditional probability changes the sample space to B.
- If A and B are independent, then
P(A∣B)=P(A)
Example:
- A card is drawn from a deck of 52 cards.
- Let A = "card is a King" (4/52)
- Let B = "card is a face card" (12/52)
P(A∣B)=P(B)P(A∩B)=12/524/52=31
2. Multiplication Rule
Conditional probability leads to the general multiplication rule:
P(A∩B)=P(B)⋅P(A∣B)=P(A)⋅P(B∣A)
- Useful for dependent events.
- If A and B are independent, P(A∩B)=P(A)⋅P(B).
3. Bayes’ Theorem
Bayes’ Theorem allows us to update the probability of an event based on new information.
Suppose E1,E2,...,En are mutually exclusive and exhaustive events (partition of sample space) and A is an event. Then:
P(Ei∣A)=∑j=1nP(A∣Ej)⋅P(Ej)P(A∣Ei)⋅P(Ei)
- P(Ei) = prior probability of Ei
- P(A∣Ei) = probability of observing A given Ei
- P(Ei∣A) = posterior probability of Ei after observing A
Steps to Use Bayes’ Theorem
- Identify the partition events E1,E2,...,En.
- Determine the prior probabilities P(Ei).
- Determine likelihoods P(A∣Ei).
- Apply formula to find posterior probability P(Ei∣A).
Example: Medical Test
- Disease prevalence: P(D)=0.01
- Test positive if diseased: P(T+∣D)=0.99
- Test positive if healthy: P(T+∣D′)=0.05
Probability that a person has the disease given a positive test:
P(D∣T+)=P(T+∣D)P(D)+P(T+∣D′)P(D′)P(T+∣D)P(D)
P(D∣T+)=0.99⋅0.01+0.05⋅0.990.99⋅0.01≈0.166
- Even with a positive test, probability of disease ≈ 16.6%
- Shows importance of prior probability (prevalence).
4. Summary Table
| Concept |
Formula |
Notes |
|
|
|
| Conditional Probability |
$$ P(A |
B) = \frac{P(A \cap B)}{P(B)} $$ |
Changes sample space to B |
|
|
| Multiplication Rule |
$P(A \cap B) = P(A) P(B |
A) = P(B) P(A |
B)$ |
For dependent events |
|
| Bayes' Theorem |
$P(E_i |
A) = \frac{P(A |
E_i)P(E_i)}{\sum P(A |
E_j)P(E_j)}$ |
Updates probability based on new info |
Key Points to Remember
- Conditional probability adjusts probabilities based on known events.
- Multiplication rule links joint probability to conditional probability.
- Bayes’ theorem is widely used in diagnostics, risk analysis, and machine learning.