1 of 82

To the extent possible under law, Somik Raha has waived all copyright and related or neighboring rights to the slide deck “The Magic of Probability.” This work is published from: United States and India.

2 of 82

The Magic of Probability

Workshop by Dr. Somik Raha

3 of 82

Make a copy of this deck.�

You can now edit it

4 of 82

This deck has Speaker Notes.

Please review the speaker notes to prepare

Make sure they are turned on in your view

5 of 82

Somik Raha

The Magic of Probability

6 of 82

Hello!

7 of 82

Poll Question:

Are you joining from your computer or mobile device?

Which year are you?

Which college are you from?

Which department are you in?

What is your level of comfort with probability?

8 of 82

ವಿಜ್ಞಾನದಲ್ಲಿ ನಾವು ಹೇಳುವ ಎಲ್ಲಾ ವಿಷಯಗಳು, ಎಲ್ಲಾ ತೀರ್ಮಾನಗಳು ಅನಿಶ್ಚಿತವಾಗಿವೆ, ಏಕೆಂದರೆ ಅವುಗಳು ಕೇವಲ ತೀರ್ಮಾನಗಳಾಗಿವೆ. ಏನಾಗಲಿದೆ ಎಂಬುದಕ್ಕೆ ಅವು ಊಹೆಗಳಾಗಿವೆ ಮತ್ತು ಏನಾಗುತ್ತದೆ ಎಂದು ನಿಮಗೆ ತಿಳಿದಿಲ್ಲ, ಏಕೆಂದರೆ ನೀವು ಸಂಪೂರ್ಣ ಪ್ರಯೋಗಗಳನ್ನು ಮಾಡಿಲ್ಲ.

9 of 82

ಆದ್ದರಿಂದ, ವಿಜ್ಞಾನಿಗಳು ಅನುಮಾನ ಮತ್ತು ಅನಿಶ್ಚಿತತೆಯನ್ನು ಎದುರಿಸಲು ಬಳಸಲಾಗುತ್ತದೆ. ಎಲ್ಲಾ ವೈಜ್ಞಾನಿಕ ಜ್ಞಾನವು ಅನಿಶ್ಚಿತವಾಗಿದೆ. ಅನುಮಾನ ಮತ್ತು ಅನಿಶ್ಚಿತತೆಯೊಂದಿಗಿನ ಈ ಅನುಭವವು ಮುಖ್ಯವಾಗಿದೆ. ಇದು ಹೆಚ್ಚಿನ ಮೌಲ್ಯವನ್ನು ಹೊಂದಿದೆ ಮತ್ತು ವಿಜ್ಞಾನವನ್ನು ಮೀರಿ ವಿಸ್ತರಿಸಿದೆ ಎಂದು ನಾನು ನಂಬುತ್ತೇನೆ. ಹಿಂದೆಂದೂ ಪರಿಹರಿಸದ ಯಾವುದೇ ಸಮಸ್ಯೆಯನ್ನು ಪರಿಹರಿಸಲು, ನೀವು ಅಜ್ಞಾತಕ್ಕೆ ಬಾಗಿಲು ತೆರೆಯಬೇಕು ಎಂದು ನಾನು ನಂಬುತ್ತೇನೆ. ನೀವು ಅದನ್ನು ನಿಖರವಾಗಿ ಹೊಂದಿಲ್ಲದಿರುವ ಸಾಧ್ಯತೆಯನ್ನು ನೀವು ಅನುಮತಿಸಬೇಕು. ಇಲ್ಲದಿದ್ದರೆ, ನೀವು ಈಗಾಗಲೇ ನಿಮ್ಮ ಮನಸ್ಸನ್ನು ಹೊಂದಿದ್ದರೆ, ನೀವು ಅದನ್ನು ಪರಿಹರಿಸದಿರಬಹುದು.

10 of 82

ವಿಜ್ಞಾನಿ ನಿಮಗೆ ಉತ್ತರ ತಿಳಿದಿಲ್ಲ ಎಂದು ಹೇಳಿದಾಗ, ಅವನು ಅಜ್ಞಾನಿ. ಅದು ಹೇಗೆ ಕೆಲಸ ಮಾಡುತ್ತದೆ ಎಂಬುದರ ಕುರಿತು ತನಗೆ ಹಂಬಲವಿದೆ ಎಂದು ಅವನು ನಿಮಗೆ ಹೇಳಿದಾಗ, ಅವನು ಅದರ ಬಗ್ಗೆ ಅನಿಶ್ಚಿತನಾಗಿರುತ್ತಾನೆ. ಅದು ಹೇಗೆ ಕೆಲಸ ಮಾಡುತ್ತದೆ ಎಂದು ಅವನು ಖಚಿತವಾಗಿ ಹೇಳಿದಾಗ ಮತ್ತು "ಇದು ಕೆಲಸ ಮಾಡುವ ಮಾರ್ಗವಾಗಿದೆ, ನಾನು ಬಾಜಿ ಕಟ್ಟುತ್ತೇನೆ" ಎಂದು ಅವನು ನಿಮಗೆ ಹೇಳಿದಾಗ, ಅವನು ಇನ್ನೂ ಕೆಲವು ಅನುಮಾನಗಳಲ್ಲಿರುತ್ತಾನೆ. ಮತ್ತು ಪ್ರಗತಿಯನ್ನು ಸಾಧಿಸಲು, ಈ ಅಜ್ಞಾನ ಮತ್ತು ಈ ಅನುಮಾನವನ್ನು ನಾವು ಗುರುತಿಸುವುದು ಅತ್ಯುನ್ನತ ಪ್ರಾಮುಖ್ಯತೆಯಾಗಿದೆ. ನಮಗೆ ಸಂದೇಹವಿರುವುದರಿಂದ, ಹೊಸ ಆಲೋಚನೆಗಳಿಗಾಗಿ ಹೊಸ ದಿಕ್ಕುಗಳಲ್ಲಿ ನೋಡುವುದನ್ನು ನಾವು ಪ್ರಸ್ತಾಪಿಸುತ್ತೇವೆ. ವಿಜ್ಞಾನದ ಬೆಳವಣಿಗೆಯ ದರವು ನೀವು ಕೇವಲ ಅವಲೋಕನಗಳನ್ನು ಮಾಡುವ ದರವಲ್ಲ ಆದರೆ, ಹೆಚ್ಚು ಮುಖ್ಯವಾಗಿ, ನೀವು ಪರೀಕ್ಷಿಸಲು ಹೊಸ ವಿಷಯಗಳನ್ನು ರಚಿಸುವ ದರ.

11 of 82

01. WHERE DOES PROBABILITY COME FROM?

12 of 82

Let’s call a coin toss

ನಾಣ್ಯ ಟಾಸ್ ಅನ್ನು ಮುನ್ಸೂಚಿಸೋಣ

HEADS

TAILS

13 of 82

Let’s call a coin toss

ನಾಣ್ಯ ಟಾಸ್ ಅನ್ನು ಮುನ್ಸೂಚಿಸೋಣ

<NAME1>, What’s your probability of heads?

<NAME2>, What’s your probability of heads?

50%

50%

14 of 82

Let’s call a coin toss

ನಾಣ್ಯ ಟಾಸ್ ಅನ್ನು ಮುನ್ಸೂಚಿಸೋಣ

Psst… <NAME2>, take a look.

<NAME1>, What’s your probability of heads?

<NAME2>, What’s your probability of heads?

NAME2, What’s your probability of heads?

<NAME1>, What’s your probability of heads?

50%

50%

100%

50%

15 of 82

How can two people have different probabilities for the same event?

ಒಂದೇ ಈವೆಂಟ್‌ಗೆ ಇಬ್ಬರು ವ್ಯಕ್ತಿಗಳು ಹೇಗೆ ವಿಭಿನ್ನ ಸಂಭವನೀಯತೆಯನ್ನು ಹೊಂದಿರುತ್ತಾರೆ?

  • Dialog

16 of 82

Probability = Your State of Information

ಸಂಭವನೀಯತೆ = ನಿಮ್ಮ ಮಾಹಿತಿಯ ಸ್ಥಿತಿ

17 of 82

THERE IS NO OBJECTIVE PROBABILITY

ವಸ್ತುನಿಷ್ಠ ಸಂಭವನೀಯತೆಯಂತಹ ಯಾವುದೇ ವಿಷಯವಿಲ್ಲ

If it was objective, it would be data, not probability!�ಅದು ವಸ್ತುನಿಷ್ಠವಾಗಿದ್ದರೆ, ಅದು ಡೇಟಾ, ಸಂಭವನೀಯತೆ ಅಲ್ಲ!

Probability = Your State of Information

ಸಂಭವನೀಯತೆ = ನಿಮ್ಮ ಮಾಹಿತಿಯ ಸ್ಥಿತಿ

18 of 82

THERE IS NO OBJECTIVE PROBABILITY

ವಸ್ತುನಿಷ್ಠ ಸಂಭವನೀಯತೆಯಂತಹ ಯಾವುದೇ ವಿಷಯವಿಲ್ಲ

Inappropriate Phrases

ಸೂಕ್ತವಲ್ಲದ ನುಡಿಗಟ್ಟುಗಳು

The probability

Appropriate Phrases

ಸೂಕ್ತವಾದ ನುಡಿಗಟ್ಟುಗಳು

My probability

Your probability

Prabha’s probability

Sojan’s probability

Our group’s probability

19 of 82

You can only place a probability on clear distinctions

ನೀವು ಸ್ಪಷ್ಟ ಪರಿಕಲ್ಪನೆಗಳ ಮೇಲೆ ಮಾತ್ರ ಸಂಭವನೀಯತೆಯನ್ನು ಇರಿಸಬಹುದು

The Clarity Test�ಸ್ಪಷ್ಟತೆ ಪರೀಕ್ಷೆ

Can a fact-based clairvoyant tell you how the distinction has resolved?

20 of 82

What is your probability of rain in Bengaluru tomorrow?

Let’s first define rain: At least 10 cm of water from the sky

Let’s define tomorrow: From 12:01 AM to 11:59 PM

Quick poll

21 of 82

Poll Question:

What is your probability of rain in Bengaluru tomorrow?

22 of 82

When should you place a 100% or 0% probability?

ನೀವು ಯಾವಾಗ 100% ಅಥವಾ 0% ಸಂಭವನೀಯತೆಯನ್ನು ಇರಿಸಬೇಕು?

I did not die yesterday

I will definitely die someday

23 of 82

The Epistemology of Probability from a Decision Analysis Perspective

ನಿರ್ಧಾರ ವಿಶ್ಲೇಷಣೆಯ ದೃಷ್ಟಿಕೋನದಿಂದ ಸಂಭವನೀಯತೆಯ ಜ್ಞಾನಶಾಸ್ತ್ರ

24 of 82

Epistemology.�ಜ್ಞಾನಶಾಸ್ತ್ರ�

The theory of knowledge, especially with regard to its methods, validity, and scope, and the distinction between justified belief and opinion�ಜ್ಞಾನದ ಸಿದ್ಧಾಂತ, ವಿಶೇಷವಾಗಿ ಅದರ ವಿಧಾನಗಳು, ಸಿಂಧುತ್ವ ಮತ್ತು ವ್ಯಾಪ್ತಿ ಮತ್ತು ಸಮರ್ಥನೀಯ ನಂಬಿಕೆ ಮತ್ತು ಅಭಿಪ್ರಾಯದ ನಡುವಿನ ವ್ಯತ್ಯಾಸಕ್ಕೆ ಸಂಬಂಧಿಸಿದಂತೆ

dictionary.com

It is the branch of philosophy concerned with knowledge�ಇದು ಜ್ಞಾನಕ್ಕೆ ಸಂಬಂಧಿಸಿದ ತತ್ವಶಾಸ್ತ್ರದ ಶಾಖೆಯಾಗಿದೆ

wikipedia.com

25 of 82

Poll Question:

How many probability theories are out there?

26 of 82

A tale of friendship

Rev Thomas Bayes�Died: 1761

1763

Read out by his friend Richard Price to the Royal Society

Richard Price

Worked out Conditional Probability and the Beta Distribution!

27 of 82

Poll Question:

The doctors tell you: “Above 90% of those who have haemophilia are male.” What is your probability of a person having hemophilia, given that person is a male?

28 of 82

Poll Question:

Lung cancer doctors tell you: “95% of my lung cancer patients are smokers.” Given this information, what is your probability of an individual having lung cancer, given that individual is a smoker?

29 of 82

Conditional Probability: Haemophilia in US

0.01%

0.0008%

50.78%

49.21%

0.02%

30,000

161.6M

99.98%

161.57M

161.6M

0.0016%

99.9984%

Male

Female

Male

Male

Female

Female

Haemophiliac

Not Haemophiliac

Haemophiliac

Not Haemophiliac

49.22%

50.78%

91.74%

8.26%

0.01%

99.99%

Haemophiliac

Not Haemophiliac

49.22%

50.78%

161.6M

166.7M

0.01%

50.78%

0.0008%

49.21%

Mistaking these two is called:

“Associative Logic Error”

30 of 82

Conditional Probability: Haemophilia in US

0.01%

0.0008%

50.78%

49.21%

0.02%

99.98%

0.0016%

99.9984%

Male

Female

Male

Male

Female

Female

Haemophiliac

Not Haemophiliac

Haemophiliac

Not Haemophiliac

49.22%

50.78%

91.74%

8.26%

0.01%

99.99%

Haemophiliac

Not Haemophiliac

49.22%

50.78%

0.01%

50.78%

0.0008%

49.21%

Prior

Likelihood

Pre-Posterior

Posterior

31 of 82

Conditional Probability Quiz 2

If someone has lung cancer, what is your probability for this person being a smoker? ��If someone smokes, what is your probability for this person getting lung cancer?

32 of 82

Conditional Probability: Lung Cancer in India

0.0066%

26.7%

73.3%

0.0003%

95.2%

20

20+1

4.8%

1

20+1

26.7%

73.3%

Lung Cancer

No Lung Cancer

Lung Cancer

Lung Cancer

No Lung Cancer

No Lung Cancer

Smoker

Non-smoker

Smoker

Non-smoker

0.0004%

99.9996%

0.0246%

99.9754%

26.7%

73.3%

Smoker

Non-Smoker

0.0066%

73.3%

26.7%

0.0003%

Mistaking these two is called:

“Associative Logic Error”

0.0069%

99.931%

6.9

100000

Prior

Likelihood

Pre-Posterior

Posterior

33 of 82

Poll Question:

In the early CDC guidelines for serologic antibody tests, you will find them trying to educate you with an example where the sensitivity of the test is 90%, the specificity is 95%, and the prevalence of Covid-19 in the population is 5%. Under these circumstances, if an individual gets a positive serologic result, what probability should you assign to that individual being Covid +ve?

34 of 82

Conditional Probability Quiz 3

If someone has Covid, what is your probability for this person testing positive for antibodies? ��If someone tests positive for Covid antibodies, what is your probability for this person having Covid?

35 of 82

Conditional Probability: Covid Serological (Antibody) Testing

4.5%

4.75%

90.25%

0.5%

95%

5%

5%

95%

Had Covid

No Covid

Had Covid

Had Covid

No Covid

No Covid

Antibodies detected

Antibodies not detected

Antibodies detected

Antibodies not detected

0.55%

99.45%

48.65%

51.35%

9.25%

90.75%

Antibodies detected

Antibodies not detected

4.5%

90.25%

4.75%

0.5%

Mistaking these two is called:

“Associative Logic Error”

5%

95%

Prior

Likelihood

Pre-Posterior

Posterior

36 of 82

Let’s look at Shruti

Lived in New York City at the height of the pandemic. She thought she had Covid and took the antibody test several months later.

She just got a negative antibody test result

Her doctor says: “There is no chance you got Covid.” �Why is he saying that?

37 of 82

Conditional Probability: Covid Serological (Antibody) Testing

4.5%

4.75%

90.25%

0.5%

95%

5%

5%

95%

Had Covid

No Covid

Had Covid

Had Covid

No Covid

No Covid

Antibodies detected

Antibodies not detected

Antibodies detected

Antibodies not detected

0.55%

99.45%

48.65%

51.35%

9.25%

90.75%

Antibodies detected

Antibodies not detected

4.5%

90.25%

4.75%

0.5%

5%

95%

Prior

Likelihood

Pre-Posterior

Posterior

38 of 82

Let’s look at Shruti

Let’s add more context

Shruti presents with all the serious symptoms (according to WHO ) of COVID:

  • Difficulty breathing or shortness of breath
  • Chest pain or pressure
  • Loss of speech or movement

She just got a negative antibody test result

What prior probability should the doctor have placed?

What is the conditional probability of her having Covid with this prior?

39 of 82

Poll Question:

Given Shruti presents with the severe Covid symptoms, what should you do with your prior probability of her having Covid?

40 of 82

Poll Question:

If you changed your prior probability for Shruti having Covid, what probability would you place on her having Covid given she got a negative serologic test result?

41 of 82

Conditional Probability: Covid Serological (Antibody) Testing

67.5%

1.25%

23.75%

7.5%

95%

5%

5%

95%

Had Covid

No Covid

Had Covid

Had Covid

No Covid

No Covid

Antibodies detected

Antibodies not detected

Antibodies detected

Antibodies not detected

24%

76%

98.18%

1.82%

68.75%

31.25%

Antibodies detected

Antibodies not detected

67.5%

23.75%

1.25%

7.5%

75%

25%

Prior

Likelihood

Pre-Posterior

Posterior

42 of 82

Where else can this apply?

Can you come up with your own examples

Judicial Sentencing

Decaying as Society

43 of 82

What about Machine Learning?

44 of 82

Let’s go back to the Rain example

45 of 82

What is your probability of rain in Bengaluru tomorrow?

46 of 82

What is your probability of rain in Bengaluru tomorrow?

A smart engineer has built a rain detector using ML on weather models

What would you like to know from the evaluation results of the model in a lab setting?

47 of 82

ML Example: Rain Detector

What metrics do ML classification model designers report?

48 of 82

How can we combine my P(Rain) to evaluate model?

Can you easily do inference with these metrics?

If yes, why?

If not, why not?

PRECISION

RECALL

49 of 82

TPR & FPR allow human evaluation of model

Instead, ask for True Positive Rate (Recall / Sensitivity) and �False Positive Rate (1-Specificity)

TPR

SENSITIVITY

RECALL

FPR

1-SPECIFICITY

50 of 82

Poll Question:

If you saw seven heads in a row in a coin toss, what probability would you place on the next coin landing heads?

51 of 82

Poll Question:

If you saw seven heads in a row in a coin toss, what probability would you place on the next coin landing heads?

Maybe it’s time to question whether it is a “normal” coin.

52 of 82

Introduce a little doubt about the nature of the coin

If you see a tails, you can be sure �it’s not a 1-headed coin

If you see a heads, your probability of �this being a normal coin goes down�from 90% to 82%

53 of 82

Questions?

54 of 82

Continuous Probability Quick Review

ನಿರಂತರ ಸಂಭವನೀಯತೆ ತ್ವರಿತ ವಿಮರ್ಶೆ

55 of 82

Let’s play a game ಒಂದು ಆಟ ಆಡೋಣ

Roll two dice and bet on the sum of the roll�ಎರಡು ದಾಳಗಳನ್ನು ಉರುಳಿಸಿ ಮತ್ತು ರೋಲ್‌ನ ಮೊತ್ತದ ಮೇಲೆ ಬಾಜಿ ಕಟ್ಟಿಕೊಳ್ಳಿ

Poll: If you could bet on only one number for the sum of two die rolls (2-12), what would you bet on?

56 of 82

Let’s play a game ಒಂದು ಆಟ ಆಡೋಣ

Roll two dice and bet on the sum of the roll�ಎರಡು ದಾಳಗಳನ್ನು ಉರುಳಿಸಿ ಮತ್ತು ರೋಲ್‌ನ ಮೊತ್ತದ ಮೇಲೆ ಬಾಜಿ ಕಟ್ಟಿಕೊಳ್ಳಿ

Poll: If you could bet on three numbers for the sum of two die rolls (2-12), what would you bet on?

57 of 82

Let’s play a game ಒಂದು ಆಟ ಆಡೋಣ

Roll two dice and bet on the sum of the roll�ಎರಡು ದಾಳಗಳನ್ನು ಉರುಳಿಸಿ ಮತ್ತು ರೋಲ್‌ನ ಮೊತ್ತದ ಮೇಲೆ ಬಾಜಿ ಕಟ್ಟಿಕೊಳ್ಳಿ

Let’s try it: Open Workbook

58 of 82

Discrete vs Continuous Measures

Discrete:

Sum of two die rolls�2,3,4,5,6,7,8,9,10,11,12

Continuous:

Revenue in Crores�Test Positivity Rate (0%-100%)

?

59 of 82

Poll Question:

What is the following curve?

60 of 82

Poll Question:

How would you read off the Probability of making revenue less than X crores from this curve?

61 of 82

Poll Question:

What is the following curve?

62 of 82

Poll Question:

How would you read off the Probability of making revenue less than X crores from this curve?

63 of 82

CMF and PMF become CDF and PDF when dealing with “continuous variables”

64 of 82

Let’s go back to Bayes

65 of 82

Bayes also worked out the Beta Distribution

It’s conjugate is also a Beta!

Binomial trial

Exactly two (“bi”) outcomes, “success or failure”

Each trial has same chance of success

Binomial Distribution

Beta Distribution

66 of 82

The Uniform Prior

B(alpha, beta) = B(1,1)

Bayes: Suggested “with a great deal of doubt” as the prior probability�distribution to express ignorance about the correct prior distribution.

Why is this statement problematic? How would you edit it?

Hint: Remember the clairvoyant?

67 of 82

Worked out Probability Theory

“Probability as an instrument for repairing defects in knowledge”

Pierre Simon Laplace

1771

Mémoire sur la probabilité des causes par les événements

Memoir on the Probability of the Causes of Events

Independently worked out what Bayes had worked out, and �then some.

68 of 82

What is the probability of the sun rising tomorrow?

Laplace had no hesitation in using the Uniform prior to express total ignorance

69 of 82

What is the probability of the sun rising tomorrow?

Laplace’s succession rule, illustrated with an unfortunate example

Prior Knowledge:�both success and failure are possible

Assumes�we observed one success and �one failure for sure before we started��Not correct if s=0, or s=n

“But this number [the probability of the sun coming up tomorrow] is far greater for him who, seeing in the totality of phenomena the principle regulating the days and seasons, realizes that nothing at present moment can arrest the course of it.”

70 of 82

Probability theory as an extension of logic

Edwin Thompson Jaynes

1950s

The “Robot”, the ancestor of the “Clairvoyant”

“In order to direct attention to constructive things and away from controversial irrelevancies, we shall invent an imaginary being. Its brain is to be designed by us, so that it reasons according to certain definite rules. These rules will be deduced from simple desiderata which, it appears to us, would be desirable in human brains; i.e. we think that a rational person, on discovering that they were violating one of these desiderata, would wish to revise their thinking.”

Excerpt From: E. T. Jaynes & G. Larry Bretthorst. “Probability Theory.” Apple Books. https://books.apple.com/us/book/probability-theory/id811951223

71 of 82

Probability theory as an extension of logic

Edwin Thompson Jaynes

1950s

The “Robot”, the ancestor of the “Clairvoyant”

“Our robot is going to reason about propositions. As already indicated above, we shall denote various propositions by italicized capital letters, {A, B, C, etc.}, and for the time being we must require that any proposition used must have, to the robot, an unambiguous meaning and must be of the simple, definite logical type that must be either true or false.”

Excerpt From: E. T. Jaynes & G. Larry Bretthorst. “Probability Theory.” Apple Books. https://books.apple.com/us/book/probability-theory/id811951223

72 of 82

Probability theory as an extension of logic

Edwin Thompson Jaynes

1950s

Let me make what, I fear, will seem to some a radical, shocking suggestion: The merits of any statistical method are not determined by the ideology which led to it. For, many different, violently opposed ideologies may all lead to the same final “working equations” for dealing with real problems. Apparently, this phenomenon is something new in statistics; but it is so commonplace in physics that we have long since learned how to live with it. Today, when a physicist says, “Theory A is better than theory B,” he does not have in mind any ideological considerations; he means simply, “There is at least one specific application where theory A leads to a better result than theory B.” I suggest that we apply the same criterion in statistics: The merits of any statistical method are determined by the results it gives when applied to specific problems. The Court of Last Resort in statistics is simply our commonsense judgment of those results.

73 of 82

Decision Analytic lens

Ronald A. Howard

1966

Coined the term “Decision Analysis”

Cofounder of the field

Brought the notion of “decisions”

First published version of “Encoding of priors” in �Decision Analysis: Applied Decision Theory

Prior development as “psychoanalytic process”

Watch interview

74 of 82

Conditional Probability: Covid Serological (Antibody) Testing

4.5%

4.75%

90.25%

0.5%

95%

5%

5%

95%

Had Covid

No Covid

Had Covid

Had Covid

No Covid

No Covid

Antibodies detected

Antibodies not detected

Antibodies detected

Antibodies not detected

0.55%

99.45%

48.65%

51.35%

9.25%

90.75%

Antibodies detected

Antibodies not detected

4.5%

90.25%

4.75%

0.5%

5%

95%

Prior

Likelihood

Pre-Posterior

Posterior

What about Shruti?

She presents with all the serious symptoms (according to WHO ) of COVID:

  • Difficulty breathing or shortness of breath
  • Chest pain or pressure
  • Loss of speech or movement

75 of 82

Conditional Probability: Covid Serological (Antibody) Testing

67.5%

1.25%

23.75%

7.5%

95%

5%

5%

95%

Had Covid

No Covid

Had Covid

Had Covid

No Covid

No Covid

Antibodies detected

Antibodies not detected

Antibodies detected

Antibodies not detected

24%

76%

98.18%

1.82%

68.75%

31.25%

Antibodies detected

Antibodies not detected

67.5%

23.75%

1.25%

7.5%

75%

25%

Prior

Likelihood

Pre-Posterior

Posterior

76 of 82

Distinctions that pass clarity test

Meaningless to put probability on unclear distinctions

We know nothing at all about the distinction

-AND-

Believe that every value is equally likely

77 of 82

The Metalog Distribution

Tom Keelin

2016

Published “The Metalog Distributions

A significant advance in statistics

A distribution to match data/assessments

Prior development and updating �a fully “psychoanalytic” process

Entirely compatible with data, �huge implications for ML

78 of 82

Homework

79 of 82

Beta Distribution

Play with the Beta.DIST Excel function to create:

  1. Uniform Prior
  2. Updating Beta Distributions

Decision Analytic AB Testing

Read Article�Try spreadsheet and Web model

Metalog Distributions

Watch Video 1, Video 2��Download Metalog Workboooks in Excel

Encode your beliefs with Metalog Distributions

80 of 82

Appendix

81 of 82

Updating the beta is a simple addition operation

Add the number of tosses to update N and the number of successes to update S

82 of 82

Decision Analytic AB tests