Top Banner
Understanding Bayes’ Theorem By David Siegel
14

Understanding bayes theorem

Feb 09, 2017

Download

Business

David Siegel
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Understanding bayes theorem

Understanding Bayes’ Theorem

By David Siegel

Page 2: Understanding bayes theorem

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

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

People who have the disease: 1%

A priori:

Page 5: Understanding bayes theorem

True positives: 1% * 98%

False positives: 2%

False negatives

Test accuracy: 98%

1% * 2%

After testing everyone:

Page 6: Understanding bayes theorem

True positives: 980

False negatives:

Total population: 100,000

20

False positives: 2,000

It helps to use numbers:

Page 7: Understanding bayes theorem

Chance you have nose cancer

True positives=

All positives

Given that you tested positive:

Page 8: Understanding bayes theorem

Chance you have nose cancer

True positives=

All positives

This is Bayes’ Theorem!

Page 9: Understanding bayes theorem

Chance you have nose cancer

980=

980 + 2,000

Plug in the numbers:

Page 10: Understanding bayes theorem

Chance you have nose cancer

980=

2,980= 32.88%

Do the math:

Page 11: Understanding bayes theorem

33%!

Chances that you have nose cancer, given that you tested positive:

Page 12: Understanding bayes theorem

Before test1%

After test33%

This is called a Bayesian update:

update

Page 13: Understanding bayes theorem

What if your test had been negative?

What is the chance you have nose cancer now?

Extra-credit question:

Page 14: Understanding bayes theorem

Understanding Bayes’ Theorem

Learn more at www.businessagilityworkshop.com