DUI: Drinking, Driving, and Bayesian Analysis
What if I told you that based on a positive breathalyzer test, the probability that you were driving drunk is less than 2%?
You’ve just hit a milestone — you’re 16 and finally have your driver’s license in hand. The freedom and independence you feel are exhilarating. Eager to enjoy your newfound autonomy, you hop into your car for an evening drive. But as luck would have it, your adventure takes an unexpected turn when a police officer flags you down for a routine traffic stop.
The officer’s demeanor is stern, and you sense their suspicion as they request to conduct a few tests. Despite feeling nervous, you comply, and take a breathalyzer test to determine if you’re under the influence of alcohol. You test positive and are promptly arrested.
Keep in mind:
- The breathalyzer indicates false drunkenness in only 5% of cases when the driver is sober
- The breathalyzers never fail to detect a truly drunk person
- One in a thousand drivers in your region drive drunk
Fast forward to the trial, and the situation feels dire. Despite your protests of innocence, the breathalyzer test results are presented as evidence against you. The prosecutor paints a grim picture, arguing that there’s a mere 5% chance of your innocence, citing the breathalyzer’s supposed accuracy rate of 95%.
What if I told you that based on the positive breathalyzer test, the probability that you were driving drunk is less than 2%…
To explain this, I’ll introduce Bayes’ theorem — named after the Reverend Thomas Bayes — a fundamental concept in probability theory. It describes the probability of an event based on prior knowledge of conditions that might be related to the event:
Translated:
- — probability of A given B has occurred
- — probability of B given A has occurred
- and — independent probabilities of A and B
Applying Bayes’ Theorem to your situation. Let:
- = You are drunk
- = You are sober
- = The test indicates you are drunk
We have all but one piece: . To find it, consider all scenarios where a positive result could occur:
Plugging in our numbers:
Now the final calculation:
The probability that you were driving drunk, based on the positive breathalyzer test alone, is 1.96%.
Life changing right?
When we think about the quality of a test, what we’re testing for, and how we make sense of the results, it is easy to make mistakes. The evidence of a 95% accurate breathalyzer appears convincing, but the line is not clearly cut. Base rates matter enormously.