Download presentation
Presentation is loading. Please wait.
Published byGerald Reed Modified over 9 years ago
1
The Case of the Blue Cab and the Black Cab Companies * Apologies to the young *Adapted from: http://www.abelard.org/briefings/bayes.htm
2
The “Facts” Two cab companies Black cab company has 85 cabs Blue cab company has 15 cabs
3
What is the probability I see a blue cab?* A slight detour into probability theory
4
What is the probability I see a blue cab? P(I see a blue cab) = Total # blue cabs ___________________________ Total # cabs
5
What is the probability I see a blue cab? P(I see a blue cab) = Total # blue cabs ___________________________ Total # cabs 15/100=0.15
6
The “Facts” Two cab companies Black cab company has 85 cabs Blue cab company has 15 cabs The eye witness saw a blue cab in a hit- and-run accident at night
7
Can we trust the eye witness?
8
At the request of the defense attorney The eye witness under goes a ‘vision test’ under lighting conditions similar to those the night in question
9
The Vision Test Repeatedly presented with a blue taxi and a black taxi, in ‘random’ order.
10
The Vision Test Repeatedly presented with a blue taxi and a black taxi, in ‘random’ order. The eye witness shows he can successfully identify the color of the taxi for times out of five (80% of the time).
11
Would you find the blue taxi company guilty of hit and run?
12
How can we use the new information about the accuracy of the eye witness? Bayesian probability theory If the eye witness reports seeing a blue taxi, how likely is it that he has the color correct?
13
How can we use the new information about the accuracy of the eye witness? (cont) Eye witness is correct 80% of the time (4 out of 5) Eye witness is incorrect 20% of the time (1 out of 5)
14
How many blue taxis would he identify as correct?
15
How many blue taxis would he identify as correct/incorrect? (.8) * 15 = 12 (correct, i.e. blue) (.2) * 15 = 3 (incorrect, i.e. black)
16
How many black taxis would he identify as incorrect? (.2) * 85 = 17 (incorrect, i.e. blue)
17
Summary Misidentified the color of 20 taxis Identified 29 taxis as blue, even though there are only 15 blue taxis Probability that the eyewitness claimed the taxi to be blue actually was blue given the witness’s id ability is
18
Summary Misidentified the color of 20 taxis Identified 29 taxis as blue, even though there are only 15 blue taxis Probability that the eyewitness claimed the taxi to be blue actually was blue given the witness’s id ability is 12/29, i.e. 0.41 Incorrect nearly 3 out of five times
19
Bayesian probability takes into account the real distribution of the taxis in the town. Ability of the eye witness to identify the blue taxi color correctly Ability to identify the color of the blue taxis among all the taxis in town.
20
Would you find the blue taxi cab company responsible for the hit- and-run?
21
Discrete Bayes Formula* P(A|B) = P(B|A)P(A) P(B) conditional probability
22
Conditional Probability P(A|B) B
23
Conditional Probability P(A|B) B P(A and B)
24
Conditional Probability P(A|B) = P(A and B) P(B) B P(A and B)
25
For our taxi case P(taxi is blue| witness said blue)= P(witness said it was blue|taxi is blue)* P(taxi was blue) P(witness said it was blue)
26
For our taxi case P(taxi is blue| witness said blue)= P(witness said it was blue|taxi is blue)* P(taxi was blue) P(witness said it was blue) = (0.8)(15/100) = 0.41 (29/100)
27
Homework Work out the Monty Hall problem that Dale described yesterday
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.