📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is the law of total probability?

A. P(B) = P(A) + P(not A)
B. P(B) = P(A|B) x P(B|A)
C. P(B) = P(A) - P(not A)
D. P(B) = P(B|A)P(A) + P(B|not A)P(not A) ✅

Correct Answer: D. P(B) = P(B|A)P(A) + P(B|not A)P(not A)

Explanation

The law of total probability splits P(B) by the mutually exclusive causes A and not A.