4/17
Part 2 of 7 · Bayes' ruleLearn

Bayes' rule turns the rates you know into the one you want

The Stanford Encyclopedia of Philosophy calls Bayes' theorem a simple formula for calculating conditional probabilities:

P(F∣flag)=P(flag∣F) P(F)P(flag)P(F \mid \text{flag}) = \frac{P(\text{flag} \mid F)\, P(F)}{P(\text{flag})}

Here F is fraud. The top is the flagged fraud. The bottom, P(flag), is everything flagged: the flagged fraud plus the flagged good orders. They're the same two counts as the tree, divided by 10,000.