Subject
1 entry
Drug Testing
Bookmarks
Bayes' Rule in Haskell, or Why Drug Tests Don't Work
Classic probabilistic reasoning example using drug tests to illustrate Bayes' rule: even a highly accurate test produces mostly false positives when the base rate of drug use is low. Implemented in Haskell to make conditional probability feel like simple if-statements.
