understanding bayes theorem
TRANSCRIPT
![Page 1: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/1.jpg)
Understanding Bayes’ Theorem
By David Siegel
![Page 2: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/2.jpg)
1 out of 100 people has nose cancer, a fictional disease
1
A new test is 98% accurate.2
You test positive. 3
What is the likelihood that you have the disease?
4
Nose cancer!
Here is the problem:
![Page 3: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/3.jpg)
You test positive.
What is the likelihood that you have the disease?
Here is the problem:
Please work out your answer before continuing …
![Page 4: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/4.jpg)
People who have the disease: 1%
A priori:
![Page 5: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/5.jpg)
True positives: 1% * 98%
False positives: 2%
False negatives
Test accuracy: 98%
1% * 2%
After testing everyone:
![Page 6: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/6.jpg)
True positives: 980
False negatives:
Total population: 100,000
20
False positives: 2,000
It helps to use numbers:
![Page 7: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/7.jpg)
Chance you have nose cancer
True positives=
All positives
Given that you tested positive:
![Page 8: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/8.jpg)
Chance you have nose cancer
True positives=
All positives
This is Bayes’ Theorem!
![Page 9: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/9.jpg)
Chance you have nose cancer
980=
980 + 2,000
Plug in the numbers:
![Page 10: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/10.jpg)
Chance you have nose cancer
980=
2,980= 32.88%
Do the math:
![Page 11: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/11.jpg)
33%!
Chances that you have nose cancer, given that you tested positive:
![Page 12: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/12.jpg)
Before test1%
After test33%
This is called a Bayesian update:
update
![Page 13: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/13.jpg)
What if your test had been negative?
What is the chance you have nose cancer now?
Extra-credit question:
![Page 14: Understanding bayes theorem](https://reader031.vdocuments.us/reader031/viewer/2022021813/589bc9031a28ab082b8b6b15/html5/thumbnails/14.jpg)
Understanding Bayes’ Theorem
Learn more at www.businessagilityworkshop.com