• Bayes rule flips a conditional probability: get from
    • this is the theorem as a tool for solving probability problems; for the school of statistics that treats it as the foundation of probability, see Bayesian Inference
  • derivation: write the intersection both ways with the multiplication rule ( Probability Rules )
    • then partition over and , the law of total probability:
    • with more than two parts the denominator is
  • example: a disease has 1% prevalence, the test catches 99% of cases and false alarms 5% of the time; ?
    • only 1 in 6 positives is real: the false alarms on the 99% healthy swamp the true hits, the prior matters