Master conditional probability, total probability, and Bayes' theorem. Learn to update beliefs with evidence and apply Bayesian reasoning to real-world problems including medical diagnosis and classification.
Calculate the posterior probability using Bayes' theorem!
Given:
Find: P(Disease | Test+)
Find the conditional probability!
Given:
Find: P(A|B)
Conditional probability P(A|B) measures the probability of event A occurring given that event B has occurred. It's fundamental to Bayesian inference and updating beliefs with new information.
Given: P(Rain) = 0.3, P(Clouds|Rain) = 0.9, P(Clouds|No Rain) = 0.4
Find: P(Rain|Clouds)
Step 1: P(Clouds) = 0.9Ã0.3 + 0.4Ã0.7 = 0.55
Step 2: P(Rain|Clouds) = (0.9Ã0.3)/0.55 â 0.491
Answer: 0.491
Given: Draw a card from a standard deck
Find: P(King|Face Card)
Step 1: P(Face Card) = 12/52 = 3/13
Step 2: P(King and Face Card) = 4/52 = 1/13
Step 3: P(King|Face Card) = (1/13)/(3/13) = 1/3
Answer: 1/3
Independent events: P(A|B) = P(A) - knowing B doesn't change A's probability
Dependent events: P(A|B) â P(A) - knowing B changes A's probability
Example: Drawing two cards without replacement: second card depends on first