Paradoxes in Probability How probability continues to amuse me! - - PowerPoint PPT Presentation

paradoxes in probability
SMART_READER_LITE
LIVE PREVIEW

Paradoxes in Probability How probability continues to amuse me! - - PowerPoint PPT Presentation

Paradoxes in Probability How probability continues to amuse me! Let's play a game! Box A Box B Box A Box B Box A Box B x ice-creams Box A Box B Chosen but unobserved box x ice-creams Box A Box B Should you switch? 2x x ice-creams


slide-1
SLIDE 1

Paradoxes in Probability

How probability continues to amuse me!

slide-2
SLIDE 2

Let's play a game!

slide-3
SLIDE 3

Box A Box B

slide-4
SLIDE 4

Box A Box B

slide-5
SLIDE 5

Box A Box B

slide-6
SLIDE 6

Box A Box B x ice-creams

slide-7
SLIDE 7

Box A Box B x ice-creams

Chosen but unobserved box

slide-8
SLIDE 8

Should you switch?

slide-9
SLIDE 9

Box A Box B x ice-creams

2x

slide-10
SLIDE 10

Box A Box B x ice-creams

x/2

slide-11
SLIDE 11

Box A Box B x ice-creams

x/2

E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

slide-12
SLIDE 12

Box A Box B x ice-creams

x/2

E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

slide-13
SLIDE 13

Box A Box B x ice-creams

x/2

E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

slide-14
SLIDE 14

Box A Box B x ice-creams

x/2

E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

slide-15
SLIDE 15

Box A Box B x ice-creams

x/2

E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

Hence you should switch!

slide-16
SLIDE 16

Here is the problem!

  • The first box was chosen randomly
  • The contents of the box were unobserved
  • Switching gives better expected value
  • Same argument applies to second box as well
slide-17
SLIDE 17

Here is the problem!

  • The first box was chosen randomly
  • The contents of the box were unobserved
  • Switching gives better expected value
  • Same argument applies to second box as well
slide-18
SLIDE 18

Here is the problem!

  • The first box was chosen randomly
  • The contents of the box were unobserved
  • Switching gives better expected value
  • Same argument applies to second box as well
slide-19
SLIDE 19

Here is the problem!

  • The first box was chosen randomly
  • The contents of the box were unobserved
  • Switching gives better expected value
  • Same argument applies to second box as well
slide-20
SLIDE 20

Here is the problem!

  • The first box was chosen randomly
  • The contents of the box were unobserved
  • Switching gives better expected value
  • Same argument applies to second box as well
slide-21
SLIDE 21

Keep switching forever!

slide-22
SLIDE 22

However...

slide-23
SLIDE 23

However...

slide-24
SLIDE 24

Let’s take a step back

slide-25
SLIDE 25

Let’s take a step back

Box A Box B

slide-26
SLIDE 26

Let’s take a step back

Box A Box B

Without extra information, the situation is symmetric

slide-27
SLIDE 27

Let’s take a step back

Box A Box B

Without extra information, the situation is symmetric Hence switching should not make any difference!

slide-28
SLIDE 28

What went wrong?

slide-29
SLIDE 29

Box A Box B

slide-30
SLIDE 30

A B

Box A Box B

slide-31
SLIDE 31

A B

A=y A=2y B=y B=2y

slide-32
SLIDE 32
slide-33
SLIDE 33

Recall: E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

slide-34
SLIDE 34

Recall: E[# ice-creams in B] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

slide-35
SLIDE 35

Recall: E[# ice-creams in B] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

A general variable x = y or x = 2y

slide-36
SLIDE 36

Recall: E[# ice-creams in B] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

A general variable x = y or x = 2y

If x = y, then B = x/2 is not possible If x = 2y, then B = 2x is not possible

slide-37
SLIDE 37

Recall: E[# ice-creams in B] = (0.5 * 2x) + (0.5 * x/2) = 1.25x

A general variable x = y or x = 2y

If x = y, then B = x/2 is not possible If x = 2y, then B = 2x is not possible

slide-38
SLIDE 38

We are considering possibilities that cannot exist!

slide-39
SLIDE 39

Solution?

slide-40
SLIDE 40
slide-41
SLIDE 41

E[# ice-creams in B] = (0.5 * 2y) + (0.5 * y) = 1.5y

If x = y, # ice-creams in B = 2y and if x = 2y, # ice-creams in B = y

slide-42
SLIDE 42

E[# ice-creams in B] = (0.5 * 2y) + (0.5 * y) = 1.5y

If x = y, # ice-creams in B = 2y and if x = 2y, # ice-creams in B = y

slide-43
SLIDE 43

E[# ice-creams in B] = (0.5 * 2y) + (0.5 * y) = 1.5y

If x = y, # ice-creams in B = 2y and if x = 2y, # ice-creams in B = y with probability 0.5

slide-44
SLIDE 44

E[# ice-creams in B] = (0.5 * 2y) + (0.5 * y) = 1.5y

If x = y, # ice-creams in B = 2y and if x = 2y, # ice-creams in B = y with probability 0.5

slide-45
SLIDE 45

E[# ice-creams in B] = (0.5 * 2y) + (0.5 * y) = 1.5y

If x = y, # ice-creams in B = 2y and if x = 2y, # ice-creams in B = y with probability 0.5 with probability 0.5

slide-46
SLIDE 46

E[# ice-creams in B] = (0.5 * 2y) + (0.5 * y) = 1.5y

If x = y, # ice-creams in B = 2y and if x = 2y, # ice-creams in B = y with probability 0.5 with probability 0.5

slide-47
SLIDE 47

E[# ice-creams in B] = (0.5 * 2y) + (0.5 * y) = 1.5y

If x = y, # ice-creams in B = 2y and if x = 2y, # ice-creams in B = y with probability 0.5 with probability 0.5

E[# ice-creams in A] = (0.5 * 2y) + (0.5 * y) = 1.5y

slide-48
SLIDE 48

E[# ice-creams in B] = (0.5 * 2y) + (0.5 * y) = 1.5y

If x = y, # ice-creams in B = 2y and if x = 2y, # ice-creams in B = y with probability 0.5 with probability 0.5

E[# ice-creams in A] = (0.5 * 2y) + (0.5 * y) = 1.5y

Nothing can be gained by switching!

slide-49
SLIDE 49

Paradox Resolved!

slide-50
SLIDE 50
slide-51
SLIDE 51

Friendship Paradox

slide-52
SLIDE 52

N people

slide-53
SLIDE 53

N people

slide-54
SLIDE 54

N people

slide-55
SLIDE 55

Each person shouts the name of someone else Pairs get “linked”

slide-56
SLIDE 56

Each person shouts the name of someone else Pairs get “linked”

slide-57
SLIDE 57

Each person shouts the name of someone else Pairs get “linked”

slide-58
SLIDE 58

Very Important Fact

Links are Symmetric

slide-59
SLIDE 59

Very Important Fact

Links are Symmetric

A and B get linked as long as one of them shouts other person’s name

slide-60
SLIDE 60

Problem Setup

slide-61
SLIDE 61

Problem Setup

  • The linking phase is over
  • A person is chosen at random (say person X)
  • Objective:

Find the probability that the friend chosen by X has more friends than X does?

slide-62
SLIDE 62

Problem Setup

  • The linking phase is over
  • A person is chosen at random (say person X)
  • Objective:

Find the probability that the friend chosen by X has more friends than X does?

slide-63
SLIDE 63

Problem Setup

  • The linking phase is over
  • A person is chosen at random (say person X)
  • A Basic Question:

Find the probability that the friend chosen by X (say person Y) has more friends than X does?

slide-64
SLIDE 64

A Simple Solution

slide-65
SLIDE 65

A Simple Solution

P(Y has more friends than X) = 0.5

slide-66
SLIDE 66

A Simple Solution

P(Y has more friends than X) = 0.5

Since links are symmetric!

slide-67
SLIDE 67

A Simple Solution

P(Y has more friends than X) = 0.5

Since links are symmetric! Otherwise, most of the people will have more/less friends than their friends have on average which violates the symmetric nature of links

slide-68
SLIDE 68

Okay! Let’s move on to more complex questions!

slide-69
SLIDE 69

But wait a minute...

slide-70
SLIDE 70

Simulation

slide-71
SLIDE 71

Simulation (Cont.)

slide-72
SLIDE 72

Simulation (Cont.)

slide-73
SLIDE 73

Simulation (Cont.)

Can compare these two numbers

slide-74
SLIDE 74

Simulation (Result)

slide-75
SLIDE 75

Simulation (Result)

P(num_links_friend > num_links_person) = 0.65 (n = 50)

slide-76
SLIDE 76

Simulation (Result)

P(num_links_friend > num_links_person) = 0.65 (n = 50) But we agreed that it should be 0.5!

slide-77
SLIDE 77

What went wrong (again)?

slide-78
SLIDE 78

Sampling Bias

slide-79
SLIDE 79

Sampling Bias

slide-80
SLIDE 80

Sampling Bias

slide-81
SLIDE 81

Find the probability of a bus being crowded!

Sampling Bias

slide-82
SLIDE 82

Sampling Bias

Strategy

1. Choose a person uniformly at random from the city 2. Ask the person if he/she used a bus today a. If no, discard the response b. If yes, ask the person if the bus was crowded 3. Calculate probability as:

slide-83
SLIDE 83

Sampling Bias

Strategy

1. Choose a person uniformly at random from the city 2. Ask the person if he/she used a bus today a. If no, discard the response b. If yes, ask the person if the bus was crowded 3. Calculate probability as:

slide-84
SLIDE 84

Sampling Bias

Strategy

1. Choose a person uniformly at random from the city 2. Ask the person if he/she used a bus today a. If no, discard the response b. If yes, ask the person if the bus was crowded 3. Calculate probability as:

slide-85
SLIDE 85

Sampling Bias

Strategy

1. Choose a person uniformly at random from the city 2. Ask the person if he/she used a bus today a. If no, discard the response b. If yes, ask the person if the bus was crowded 3. Calculate probability as:

slide-86
SLIDE 86

Sampling Bias

Strategy

1. Choose a person uniformly at random from the city 2. Ask the person if he/she used a bus today a. If no, discard the response b. If yes, ask the person if the bus was crowded 3. Calculate probability as:

slide-87
SLIDE 87

Sampling Bias

Strategy

1. Choose a person uniformly at random from the city 2. Ask the person if he/she used a bus today a. If no, discard the response b. If yes, ask the person if the bus was crowded 3. Calculate probability as:

slide-88
SLIDE 88

Sampling Bias

A person from a crowded bus is more likely to contribute to the ratio in step 3

slide-89
SLIDE 89

Sampling Bias

slide-90
SLIDE 90

Sampling Bias

slide-91
SLIDE 91

Sampling Bias

Incorrect conclusion: Buses are crowded with probability 1

slide-92
SLIDE 92

Where is the sampling bias in our

  • riginal problem?
slide-93
SLIDE 93

If a person has a lot of friends then it is more likely that a randomly chosen person is their friend!

Where is the sampling bias in our

  • riginal problem?
slide-94
SLIDE 94

Paradox Resolved!

slide-95
SLIDE 95
slide-96
SLIDE 96

Monty Hall Problem

slide-97
SLIDE 97

Monty Hall Problem

“You made a mistake, but look at the positive side. If all those PhDs were wrong, the country would be in some very serious trouble”

slide-98
SLIDE 98

Monty Hall Problem

“You made a mistake, but look at the positive side. If all those PhDs were wrong, the country would be in some very serious trouble” “I must admit I doubted you until my fifth grade math class proved you right”

slide-99
SLIDE 99

Monty Hall Problem

A B C

slide-100
SLIDE 100

Monty Hall Problem

A B C

slide-101
SLIDE 101

Monty Hall Problem

A B C

slide-102
SLIDE 102

Monty Hall Problem

A B C

slide-103
SLIDE 103

Monty Hall Problem

A B C

slide-104
SLIDE 104

Should you switch?

slide-105
SLIDE 105

Monty Hall Problem

A B C

slide-106
SLIDE 106

Monty Hall Problem

A B C

slide-107
SLIDE 107

Monty Hall Problem

A B C

slide-108
SLIDE 108

Monty Hall Problem

A B C

slide-109
SLIDE 109

Switching does not make a difference!

slide-110
SLIDE 110

Simulation

slide-111
SLIDE 111

Simulation

slide-112
SLIDE 112

Simulation

slide-113
SLIDE 113

Simulation

Can use this to calculate probability of winning if we switch

slide-114
SLIDE 114

You win 66% of the times Switching does make a difference!

slide-115
SLIDE 115

You win 66% of the times Switching does make a difference!

slide-116
SLIDE 116

You win 66% of the times Switching does make a difference!

Can explain this by drawing the correct probability tree

slide-117
SLIDE 117
slide-118
SLIDE 118

Other Famous Problems

  • St. Petersburg Lottery
  • Infinite Monkey Theorem
  • Necktie Paradox
  • Will Rogers Phenomenon
  • And many more...
slide-119
SLIDE 119

Other Famous Problems

  • St. Petersburg Lottery
  • Infinite Monkey Theorem
  • Necktie Paradox
  • Will Rogers Phenomenon
  • And many more...
slide-120
SLIDE 120

Other Famous Problems

  • St. Petersburg Lottery
  • Infinite Monkey Theorem
  • Necktie Paradox
  • Will Rogers Phenomenon
  • And many more...
slide-121
SLIDE 121

Other Famous Problems

  • St. Petersburg Lottery
  • Infinite Monkey Theorem
  • Necktie Paradox
  • Will Rogers Phenomenon
  • And many more...
slide-122
SLIDE 122

Other Famous Problems

  • St. Petersburg Lottery
  • Infinite Monkey Theorem
  • Necktie Paradox
  • Will Rogers Phenomenon
  • And many more...
slide-123
SLIDE 123

Other Famous Problems

  • St. Petersburg Lottery
  • Infinite Monkey Theorem
  • Necktie Paradox
  • Will Rogers Phenomenon
  • And many more...
slide-124
SLIDE 124
slide-125
SLIDE 125

Why Paradoxes?

slide-126
SLIDE 126

Why Paradoxes?

  • Intellectually Stimulating
  • Highlight loopholes in our understanding
  • I like messing around with people!
slide-127
SLIDE 127

Why Paradoxes?

  • Intellectually Stimulating
  • Highlight loopholes in our understanding
  • I like messing around with people!
slide-128
SLIDE 128

Why Paradoxes?

  • Intellectually Stimulating
  • Highlight loopholes in our understanding
  • I like messing around with people!
slide-129
SLIDE 129

One Last Paradox

slide-130
SLIDE 130

One Last Paradox

This statement is false.

slide-131
SLIDE 131

One Last Paradox

This statement is false.

If it is, then it is not and if it is not, then it is!

slide-132
SLIDE 132

One Last Paradox

This statement is false.

If it is, then it is not and if it is not, then it is!

slide-133
SLIDE 133

One Last Paradox

This statement is false.

If it is, then it is not and if it is not, then it is!

slide-134
SLIDE 134
slide-135
SLIDE 135

Thank You!

Shubham Gupta

Statistics and Machine Learning Group, Department of Computer Science and Automation, Indian Institute of Science, Bangalore (560012) shubham.gupta@csa.iisc.ernet.in