Title: Uncertainty continued . . . from lab.
1Uncertainty continued . . . from lab.
- Probability revisions
- Continue decision trees
- Value of information
2Todays agenda
- Probability revision computation
- Work through P4-17 and P4-18.
- Group problem solving Hunk diamond
3Objectives understand
- Conditional probabilities
- Likelihoods
- Posteriors
- Decision tree development
- The expected value of perfect information
- The expected value of imperfect information
4Knights Knaves
Professor Smullyan describes an island, the
inhabitants of which are either knights or
knaves. Knights never lie, and knaves never tell
the truth. Suppose that you know that 80 percent
of the inhabitants (both knights and knaves) are
in favor of electing Professor Smullyan as king
of the island. The island is made up of
60 percent knights and 40 percent knaves, but you
cannot tell which is which. Suppose you take a
sample of 10 inhabitants at random and ask, Do
you favor Smullyan as king? What is the
probability that you get six or more yes
answers?
5Knights Knaves Probability Tree
Answer
Prob.
P(favor) .8 P(knight) .6
In favor
Yes
.48
Knight
.8
Pickinhabitant
.6
.2
Not
.12
No
In favor
No (lie)
.32
.8
Knave
.2
.4
Not
.08
Yes (lie)
P(yes ? 6 n10, p.56)
1 - P(no lt 5 n10, p.44)
1 - .4696 .5304
6Joint and marginal probabilitiesfrom a frequency
table
What is
.6
P(Knight)
1000
P(Yes)
P(Knight,Favor) P(Knave,Favor)
7Marginals, joints, likelihoods, posteriors
Yes
No
336
264
600
Knight
176
224
Knave
400
560
440
Yes
Posteriors The probability of a state of nature
given a specific report P(FavorYes) 336/560
.6 and P(FavorYes) 224/560 .4 P(FavorNo)
176/440 .4 and P(FavorNo) 264/440 .6
Marginals P(favor) .8 and P(favor)
.2P(knight) .6 and P(knave) .4P(yes) .56
and P(no) .44
Likelihoods The probability of a specific
report given an state of nature P(YesFavor)
480/800 .6 and P(YesFavor) 80/200
.4 P(NoFavor) 320/800 .4 and P(NoFavor)
120/200 .6
8Revision Information received
This is a classical probability problem. Try out
your intuition before solving it systematically.
Assume there are three boxes and each box has two
drawers. There is either a gold or silver coin
in each drawer. One box has two gold, one box
two silver, and one box one gold and one silver
coin. A box is chosen at random and one of the
two drawers is opened. A gold coin is observed.
What is the probability of opening the second
drawer in the same box and observing a gold coin?
9Coin and box problem
Here is a (possibly) helpful visualization
Gold
We know we chose a box with a gold coin.
We want P(gold2 gold1)
10Probability revision
Likelihood
Given the prior P(addicted) .001
and
P(yes addicted) .95 and P(no not
addicted) .95
We want P(addicted yes) and P(not addicted
no)
This is the conditional probability called
arevised or posterior probability.
11Test for drug addiction
We know this formula
P(addicted yes)
and
P(yes addicted)
.95
P(addicted) .001
We can solve for the joint.
12Test for drug addiction
P(addicted, yes)
What is P(yes)?
It consists of two joint probabilities.
The test can say yes and the subject is
addicted OR The test can say yes and the
subject is not addicted
P(addicted, yes) P(not addicted, yes) P(yes)
13Probability of yes
Answer Prob
Yes
.95
Yes .00095
Addict
.001
No .00005
No
.05
Yes
.05
Yes .04995
Not
.999
No .94905
No
.95
P(Yes) .00095 .04995 .0509
14Test for drug addiction
P(not addicted, yes)
Given a positive test result, the probability
that a person chosen at random from an urban
population is a drug addict is
This is a posterior probability.
15Drug test joint probability table
.95
.95
16Another revision example
Priors P(disease) .01 P(disease) .99
Test accuracy P(positive disease)
.97 P(positive disease) .05
(likelihoods)
P(negative disease) .03 P(negative
disease) .95
Note that false positives gt false negatives
17Disease detection continued
Priors P(disease) .01 P(disease) .99
Test accuracy P(positive disease)
.97 P(positive disease) .05
P(negative disease) .03 P(negative
disease) .95
What is the probability that an individual chosen
at random who tests positive has the disease?
18Disease detection continued
Suppose the tested individual was not chosen from
the population at random, but instead was
selected from a subset of the population with a
greater chance of getting the disease?
Prior Suppose P(disease) .2
Then, P(disease positive)
19Buying information
A real estate investor has the opportunity to
purchase land Currently zoned residential. If
the county board approves aa request to rezone
the property as commercial within the next year,
the investor will be able to lease the land to a
large Discount firm that wants to open a new
store on the property. However, if the zoning
change is not approved, the investor will have to
sell the property at a loss. Profits are show in
the payoff table below
20Part a.
21Part b.
22(No Transcript)
23(No Transcript)
24(No Transcript)
25(No Transcript)
26(No Transcript)
27(No Transcript)
28(No Transcript)
29(No Transcript)
30Likelihoods?
31Likelihoods
32Likelihoods
33Freemark Abbey Winery
- Based on a real decision
- No memo
- Draw the tree calculate or use the appropriate
probabilities - Write out recommendations based on the tree
(e.g., First, do that. Then, if that occurs, do
this.) - Answer the assignment questions EVPI, but two
kinds - Ill be in on Saturday if you want to discuss it.