7/17
Part 2 of 7 · Bayes' ruleLearn and do

A negative result is evidence too

A check that comes back clean lowers the odds. Its likelihood ratio uses the misses: how often the evidence is absent when the answer is yes, over how often it's absent when the answer is no, (1 − sensitivity) / (1 − false positive rate).

ResultLikelihood ratioFor the reviewer: 80% of fraud, 5% of good orders
positivesensitivity / false positive rate0.80 / 0.05 = 16
negative(1 − sensitivity) / (1 − false positive rate)0.20 / 0.95 = 0.21

A flagged order that the reviewer then clears goes from 18.4% to about 4.5%. Each result's answer is the next one's prior, so results chain in order.

In the editor, write update(prior, results), which chains results that are positive or negative. It prints a flagged order that the reviewer confirms, then one the reviewer clears.