Bayes' Theorem lets you swap the order of conditioning. If you know and want :
The denominator usually expands via the law of total probability:
The classic worked example: a test for a rare disease (prevalence in ) has sensitivity and specificity. You test positive. What's the probability you actually have the disease?
Only about . Base rates dominate even very accurate tests when the underlying condition is rare.
This counter-intuitive answer is why Bayesian reasoning shows up everywhere — fraud detection, medical screening, classifier calibration, and any decision where you're updating from a low-prior prior with imperfect evidence.