Paradoxes in Probability How probability continues to amuse me! - - PowerPoint PPT Presentation
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
Let's play a game!
Box A Box B
Box A Box B
Box A Box B
Box A Box B x ice-creams
Box A Box B x ice-creams
Chosen but unobserved box
Should you switch?
Box A Box B x ice-creams
2x
Box A Box B x ice-creams
x/2
Box A Box B x ice-creams
x/2
E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x
Box A Box B x ice-creams
x/2
E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x
Box A Box B x ice-creams
x/2
E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x
Box A Box B x ice-creams
x/2
E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x
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!
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
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
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
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
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
Keep switching forever!
However...
However...
Let’s take a step back
Let’s take a step back
Box A Box B
Let’s take a step back
Box A Box B
Without extra information, the situation is symmetric
Let’s take a step back
Box A Box B
Without extra information, the situation is symmetric Hence switching should not make any difference!
What went wrong?
Box A Box B
A B
Box A Box B
A B
A=y A=2y B=y B=2y
Recall: E[# ice-creams] = (0.5 * 2x) + (0.5 * x/2) = 1.25x
Recall: E[# ice-creams in B] = (0.5 * 2x) + (0.5 * x/2) = 1.25x
Recall: E[# ice-creams in B] = (0.5 * 2x) + (0.5 * x/2) = 1.25x
A general variable x = y or x = 2y
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
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
We are considering possibilities that cannot exist!
Solution?
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
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
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
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
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 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 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
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!
Paradox Resolved!
Friendship Paradox
N people
N people
N people
Each person shouts the name of someone else Pairs get “linked”
Each person shouts the name of someone else Pairs get “linked”
Each person shouts the name of someone else Pairs get “linked”
Very Important Fact
Links are Symmetric
Very Important Fact
Links are Symmetric
A and B get linked as long as one of them shouts other person’s name
Problem Setup
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?
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?
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?
A Simple Solution
A Simple Solution
P(Y has more friends than X) = 0.5
A Simple Solution
P(Y has more friends than X) = 0.5
Since links are symmetric!
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
Okay! Let’s move on to more complex questions!
But wait a minute...
Simulation
Simulation (Cont.)
Simulation (Cont.)
Simulation (Cont.)
Can compare these two numbers
Simulation (Result)
Simulation (Result)
P(num_links_friend > num_links_person) = 0.65 (n = 50)
Simulation (Result)
P(num_links_friend > num_links_person) = 0.65 (n = 50) But we agreed that it should be 0.5!
What went wrong (again)?
Sampling Bias
Sampling Bias
Sampling Bias
Find the probability of a bus being crowded!
Sampling Bias
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:
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:
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:
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:
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:
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:
Sampling Bias
A person from a crowded bus is more likely to contribute to the ratio in step 3
Sampling Bias
Sampling Bias
Sampling Bias
Incorrect conclusion: Buses are crowded with probability 1
Where is the sampling bias in our
- riginal problem?
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?
Paradox Resolved!
Monty Hall Problem
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”
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”
Monty Hall Problem
A B C
Monty Hall Problem
A B C
Monty Hall Problem
A B C
Monty Hall Problem
A B C
Monty Hall Problem
A B C
Should you switch?
Monty Hall Problem
A B C
Monty Hall Problem
A B C
Monty Hall Problem
A B C
Monty Hall Problem
A B C
Switching does not make a difference!
Simulation
Simulation
Simulation
Simulation
Can use this to calculate probability of winning if we switch
You win 66% of the times Switching does make a difference!
You win 66% of the times Switching does make a difference!
You win 66% of the times Switching does make a difference!
Can explain this by drawing the correct probability tree
Other Famous Problems
- St. Petersburg Lottery
- Infinite Monkey Theorem
- Necktie Paradox
- Will Rogers Phenomenon
- And many more...
Other Famous Problems
- St. Petersburg Lottery
- Infinite Monkey Theorem
- Necktie Paradox
- Will Rogers Phenomenon
- And many more...
Other Famous Problems
- St. Petersburg Lottery
- Infinite Monkey Theorem
- Necktie Paradox
- Will Rogers Phenomenon
- And many more...
Other Famous Problems
- St. Petersburg Lottery
- Infinite Monkey Theorem
- Necktie Paradox
- Will Rogers Phenomenon
- And many more...
Other Famous Problems
- St. Petersburg Lottery
- Infinite Monkey Theorem
- Necktie Paradox
- Will Rogers Phenomenon
- And many more...
Other Famous Problems
- St. Petersburg Lottery
- Infinite Monkey Theorem
- Necktie Paradox
- Will Rogers Phenomenon
- And many more...
Why Paradoxes?
Why Paradoxes?
- Intellectually Stimulating
- Highlight loopholes in our understanding
- I like messing around with people!
Why Paradoxes?
- Intellectually Stimulating
- Highlight loopholes in our understanding
- I like messing around with people!
Why Paradoxes?
- Intellectually Stimulating
- Highlight loopholes in our understanding
- I like messing around with people!
One Last Paradox
One Last Paradox
This statement is false.
One Last Paradox
This statement is false.
If it is, then it is not and if it is not, then it is!
One Last Paradox
This statement is false.
If it is, then it is not and if it is not, then it is!
One Last Paradox
This statement is false.
If it is, then it is not and if it is not, then it is!
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