Introduction To Probability and Statistics: Sayantan Banerjee IPS Session 3
Introduction To Probability and Statistics: Sayantan Banerjee IPS Session 3
Sayantan Banerjee
IPS Session 3
Joint probability distribution
Example
Bradley has invested in two stocks, Markley Oil and Collins
Mining. Bradley has determined that the possible outcomes of
these investments three months from now are as follows (in ’000 $)
Sayantan Banerjee 1
Joint probability distribution
Sayantan Banerjee 2
Joint Probability distribution
Sayantan Banerjee 3
Problems
The accompanying table gives information (proportion) on the
type of coffee selected by someone purchasing a single cup at a
particular airport kiosk.
Sayantan Banerjee 5
Bayes’ Theorem
P (B | Aj )P (Aj )
P (Aj | B) = Pk , j = 1, . . . , k.
i=1 P (B | Ai )P (Ai )
Sayantan Banerjee 6
Bayes’ Theorem
Solution: Incidence of rare disease
Let us denote the events A: the person has the rare disease, and
B: the test result is positive.
Sayantan Banerjee 7
Bayes’ Theorem
Solution: Incidence of rare disease
Let us denote the events A: the person has the rare disease, and
B: the test result is positive. Then,
Sayantan Banerjee 7
Bayes’ Theorem
Solution: Incidence of rare disease
Let us denote the events A: the person has the rare disease, and
B: the test result is positive. Then,
P (B | A) = 0.99, P (B | Ac ) = 0.02.
Sayantan Banerjee 7
Bayes’ Theorem
Solution: Incidence of rare disease
Let us denote the events A: the person has the rare disease, and
B: the test result is positive. Then,
P (B | A) = 0.99, P (B | Ac ) = 0.02.
By applying Bayes’ theorem,
P (B | A)P (A)
P (A | B) =
P (B | A)P (A) + P (B | Ac )P (Ac )
0.00099
= = 0.047.
0.00099 + 0.01998
Are you surprised by the result above?
Sayantan Banerjee 7
Some problems on Bayes’ theorem
Professor Stan der Deviation can take one of two routes on his way
back home from office. On the first route, there are four railroad
crossings. The probability that he will be stopped by a train at any
particular one of the crossings is 0.1, and trains operate
independently at the four crossings. The other route, though
longer, has only two railroad crossings, independent of one
another, with the same stoppage probability for each as on the first
route. On a particular day, Prof Deviation has a meeting at home
at a certain time. Whichever route he takes, he calculates that he
will be late if he is stopped by trains in at least half the crossings
encountered.
• Which route should he take to minimize the probability of
being late at the meeting?
• If he tosses a fair coin to decide on a route and he is late,
what is the probability that he took the first route?
Sayantan Banerjee 8
Some problems on Bayes’ theorem
There has been a great deal of controversy over the last several
years regarding what types of surveillance are appropriate to
prevent terrorism. Suppose a particular system has a 99% chance
of correctly identifying a future terrorist and a 99.9% chance of
correctly identifying someone who is not a future terrorist. If there
are 1000 future terrorists in a population of 300 million, and one of
these 300 million is randomly selected, scrutinized by the system,
and identified as a future terrorist, what is the probability that
he/she is actually a future terrorist? Does the value of this
probability make you uneasy about using the surveillance system?
Explain.
Sayantan Banerjee 9
Some problems on Bayes’ theorem
Sayantan Banerjee 10