1
00:00:00,000 --> 00:00:04,510
Hi, welcome back. The previous lecture we
talked about probabilities. And we did so

2
00:00:04,510 --> 00:00:09,187
because we're gonna use probabilities in
this lecture to talk about decision making

3
00:00:09,187 --> 00:00:13,217
under uncertainty. And to do that, we're
gonna introduce a new technique, a model

4
00:00:13,217 --> 00:00:17,040
known as decision tree model. Now this
decision tree model is really gonna be

5
00:00:17,040 --> 00:00:20,812
useful in terms of making decisions when
there's lots of contingencies. When

6
00:00:20,812 --> 00:00:24,684
there's probabilistic events, when we
don't know the future state of the world.

7
00:00:24,684 --> 00:00:28,754
So big reason we wanna learn this model is
just to better thinkers, to make better

8
00:00:28,754 --> 00:00:32,626
choices, make better decisions, rather
than just sort of throw up our hands and

9
00:00:32,626 --> 00:00:36,399
say, I can't figure out what to do. I
think I'm gonna choose this. Now there's

10
00:00:36,399 --> 00:00:40,420
gonna be two other reasons as well. One is
gonna be, we're gonna use them to infer.

11
00:00:40,420 --> 00:00:43,759
Odd things about the world, about other
people's choices. So we, we're going to

12
00:00:43,759 --> 00:00:47,403
see someone choice and from that. We can
get some understanding of how that person

13
00:00:47,403 --> 00:00:50,903
thinks about the world, so we can again
use it to explain what's going on. And

14
00:00:50,903 --> 00:00:54,818
then a third reason, for fun, is we use
these decision trees to actually, maybe

15
00:00:54,818 --> 00:00:58,529
learn a little bit about ourselves,
[inaudible] fun example at the end. So

16
00:00:58,529 --> 00:01:01,834
let's get started. What is a decision
tree? Decision tree's pretty

17
00:01:01,834 --> 00:01:05,901
straightforward. What you do is you think,
I've got some choice I can make. Maybe I

18
00:01:05,901 --> 00:01:09,824
can, you know, buy something or not. And,
you know, if I don't buy it maybe my

19
00:01:09,824 --> 00:01:14,005
benefit is zero, and if I buy it. Maybe my
benefit is plus five. Well, if that's the

20
00:01:14,005 --> 00:01:17,867
case, then I should buy it, right, because
it's got a positive value. So decision

21
00:01:17,867 --> 00:01:21,926
[inaudible] gets [inaudible] draw branches
representing our choices, and we choose

22
00:01:21,926 --> 00:01:25,738
the branch that has the highest payoff.
Well we wanna do this, though when the

23
00:01:25,738 --> 00:01:29,451
choices are a little bit harder and
there's all sorts of contingencies and

24
00:01:29,451 --> 00:01:33,015
probabilities. So here's a example.
Imagine the following scenario. You're

25
00:01:33,015 --> 00:01:37,173
planning a trip to a city and you've got a
ticket to go to the museum, lets say from

26
00:01:37,173 --> 00:01:40,936
one to two. And suppose the museum is
quite a ways from the train station. So

27
00:01:40,936 --> 00:01:44,846
you look at train ticket prices and you
see you can buy a ticket for the three

28
00:01:44,846 --> 00:01:48,749
o'clock train. For only $200. But the four
o'clock train is $400. You're trying

29
00:01:48,749 --> 00:01:52,643
[inaudible] boy, should I buy that? You
know, should I try and save money by

30
00:01:52,643 --> 00:01:56,906
buying that ticket for the three o'clock
train before it sells out? Now there's a

31
00:01:56,906 --> 00:02:00,453
40 percent chance you're not gonna make.
The train. So now you gotta think, oh my

32
00:02:00,453 --> 00:02:04,036
gosh, should I but the ticket or not? Give
there's a 40 percent chance I'm not gonna

33
00:02:04,036 --> 00:02:07,857
make it. And if I don't make it, then I'm
gonna have to buy two tickets. I'm gonna

34
00:02:07,857 --> 00:02:11,536
basically throw away the $200. Well, how
do we make that sorta choice? Well, it's

35
00:02:11,536 --> 00:02:15,358
not very hard. What we can do is we can
draw a decision tree. Now, the way to draw

36
00:02:15,358 --> 00:02:19,275
these trees, is, we're gonna put a square
box to represent our decision [inaudible]

37
00:02:19,275 --> 00:02:23,201
a choice. Do I buy or do I not buy? Well,
it's not quite that simple, right?

38
00:02:23,201 --> 00:02:26,714
Because, if I buy, there's some
possibility, a 60 percent chance, and

39
00:02:26,714 --> 00:02:30,833
let's put a six here, that I make the
train. And a 40 percent chance that I'm

40
00:02:30,833 --> 00:02:35,740
late. So now I've gotta decide, okay, what
do I do? Because that's a little bit more

41
00:02:35,740 --> 00:02:39,666
complicated. Well. To finish this off, to
use this tree, so I can make a good

42
00:02:39,666 --> 00:02:43,681
decision, all I've got to do is put the
values of each choice. So if I don't buy

43
00:02:43,681 --> 00:02:48,800
the ticket. Then I'm gonna be out $400.00,
forget about the expensive ticket. If I do

44
00:02:48,800 --> 00:02:54,261
buy the ticket and I make my train, that's
great because what happens is I'm only out

45
00:02:54,261 --> 00:02:59,014
$200.00. But if I buy my ticket and I'm
late, then I'm out $600.00. And, so now

46
00:02:59,014 --> 00:03:04,410
I've got all the information that I need.
I've got all my payoffs at the end of each

47
00:03:04,410 --> 00:03:09,036
branch. I've got the probability of each
branch, 60 percent of 40%, and I just have

48
00:03:09,036 --> 00:03:14,741
to figure out what's the best choice for
me. So, let's make this all. So let's make

49
00:03:14,741 --> 00:03:19,842
this all nice and clean. So here's all my
data, and I've just got to decide what's

50
00:03:19,842 --> 00:03:24,691
the better choice. It's clear if I don't
buy ticket, I'm out $400. What if I buy

51
00:03:24,691 --> 00:03:29,410
it? Well, there's a 60 percent chance that
I'm out $200 plus. A 40 percent chance

52
00:03:29,410 --> 00:03:39,171
that I'm out $600. Well, if I add this up,
that's 120, 60 times 200, plus 240. And

53
00:03:39,171 --> 00:03:45,567
120+240 is 360. So what I get is if I buy
the ticket, right, I'm out $360. And if I

54
00:03:45,567 --> 00:03:52,048
don't buy the ticket, I'm out $400. So
it's a fairly easy choice, right? Buy for

55
00:03:52,048 --> 00:03:56,790
360, right, or don't buy. For 400 and
here, since I want to have the lower cost,

56
00:03:56,790 --> 00:04:00,643
what I'm going to do is buy. That was a
fairly simple example. Let's do one that's

57
00:04:00,643 --> 00:04:04,241
more complicated. Suppose you think about
applying for a scholarship and there's,

58
00:04:04,241 --> 00:04:07,480
it's worth $5,000. That seems like a
pretty good deal, and they limit this

59
00:04:07,480 --> 00:04:10,943
scholarship to 200 applicants so you go
into the you know, the office, and you

60
00:04:10,943 --> 00:04:14,271
realize, you know, you can be one of the
first 200. Now for this scholarship

61
00:04:14,271 --> 00:04:17,779
[inaudible], you have to write a two page
essay, and after you write a two page

62
00:04:17,779 --> 00:04:21,062
essay explaining why you deserve this
scholarship, they're gonna pick ten

63
00:04:21,062 --> 00:04:24,525
finalists and those finalists are gonna
have to write ten page essays. So now

64
00:04:24,525 --> 00:04:28,094
you've got this choice. I could. You know,
you can basically get $5000. That's a lot

65
00:04:28,094 --> 00:04:31,645
of money, but you've got to write these
two essays. The two pager and then if you

66
00:04:31,645 --> 00:04:35,240
make it as a finalist, a ten pager. And
there's some probability of making it as a

67
00:04:35,240 --> 00:04:38,972
finalist and some probability of winning.
So you look at this, and you think, how do

68
00:04:38,972 --> 00:04:42,424
I make this choice? Well, again, what do
we need to know? We need to know the

69
00:04:42,424 --> 00:04:46,203
probability of events happening. So the
probability of making it to be a finalist

70
00:04:46,203 --> 00:04:49,888
in the probability of winning, and that's
pretty straightforward. And we need to

71
00:04:49,888 --> 00:04:53,620
know the payoff. So we know that payoff
from the scholarship, but we need to know

72
00:04:53,620 --> 00:04:57,350
the cost. Of these assets. So to use the
decision tree the first step you're going

73
00:04:57,350 --> 00:05:00,937
to make is to figure out the cost. So
let's suppose you figure, well, what's the

74
00:05:00,937 --> 00:05:04,570
cost to me of writing a two page essay.
And if you're a, well, maybe twenty bucks.

75
00:05:04,570 --> 00:05:08,202
Maybe it's worth $20.00 of my time to
write a two page essay. And what about the

76
00:05:08,202 --> 00:05:11,697
ten page essay. Well the ten page essay,
you could say, well maybe that's only

77
00:05:11,697 --> 00:05:14,916
$40.00. That means it's only 40. I've
already written the two pages. I've

78
00:05:14,916 --> 00:05:18,824
outlined my ideas and I'd be sorta excited
about having to be a finalist in, and it's

79
00:05:18,824 --> 00:05:22,365
not that having to expand on my ideas, so
let's just assume, $40.00. So, now I've

80
00:05:22,365 --> 00:05:25,446
got everything I need. I've got my
benefits and my costs and all my

81
00:05:25,446 --> 00:05:29,162
probabilities, so you just have to. Draw
the tree, right? Well, that's right. First

82
00:05:29,162 --> 00:05:33,076
step is draw the tree but once I draw the
tree I've got to write down all those

83
00:05:33,076 --> 00:05:37,038
payoffs and probabilities. So I've got to
make sure I've got everything right. And

84
00:05:37,038 --> 00:05:40,903
once I've got everything right, I can
solve it backwards just like I did before.

85
00:05:40,903 --> 00:05:44,964
I can figure out the value of each branch,
right, and then figure out what choices I

86
00:05:44,964 --> 00:05:48,828
should make. So let's draw the tree. The
question is do I write the essay or not.

87
00:05:48,828 --> 00:05:52,840
If I don't write the essay I get nothing,
and If I write the essay, well, now it's a

88
00:05:52,840 --> 00:05:56,656
little more complicated because what can
happen. Well, there's going to be some

89
00:05:56,656 --> 00:06:00,678
random note here where I could be
selected. Or not. And then if I'm

90
00:06:00,678 --> 00:06:07,169
selected, I can decide whether I want to
write essay two. Were not, but it probably

91
00:06:07,169 --> 00:06:12,700
will. And then there's going to be some
random thing, whether I win. Yeah, that

92
00:06:12,700 --> 00:06:16,856
will be great. Or, whether I lose. >> And
that won't be so great. But no, what I

93
00:06:16,856 --> 00:06:20,218
want to do is, not have these smiling and
happy faces, the happy faces, and the sad

94
00:06:20,218 --> 00:06:24,562
faces. Actually, want to like put in the
numbers. So let's do it. This isn't too

95
00:06:24,562 --> 00:06:30,782
hard. Again, if I don't that's zero. The,
what's the probability I've selected?

96
00:06:30,782 --> 00:06:37,001
Well, 200 applicants, ten make it to be
finalists, so we can assume this is five%,

97
00:06:37,001 --> 00:06:42,583
right?.05, and there's a 95 percent chance
I lose. Now SA two, I can either do it or

98
00:06:42,583 --> 00:06:47,047
don't do it. And then, if I win, here's
another change node right here. What are

99
00:06:47,047 --> 00:06:50,968
the odds of me winning? The odds of me
winning here are ten%, one out of ten. And

100
00:06:50,968 --> 00:06:54,487
there's a 90 percent chance they lose. So
those are all my probabilities. Now I

101
00:06:54,487 --> 00:06:58,558
gotta figure out my payoffs. Well, even if
I don't like [inaudible], my [inaudible]

102
00:06:58,558 --> 00:07:02,530
zero. If I write the first essay and lose,
I'm out $twenty, so that's minus twenty.

103
00:07:02,530 --> 00:07:08,647
If I'm selected but then don't write the
second essay which is sort of a crazy

104
00:07:08,647 --> 00:07:14,920
thing to do and also have $twenty, if I do
write the second essay and lose, I'm out

105
00:07:14,920 --> 00:07:20,727
$60 because I wrote two essays, one for
$twenty, one for $40. But if I win, right,

106
00:07:20,727 --> 00:07:26,064
then I get $4,940. I get the $5,000 minus
the $60. For, the cost of writing the

107
00:07:26,064 --> 00:07:30,470
essay. So let's clean this up a little
bit. So here's the total analysis, right?

108
00:07:30,470 --> 00:07:35,278
Here's the beautiful game tree with all my
probabilities. What I've gotta do is I've

109
00:07:35,278 --> 00:07:39,856
gotta figure out what's my payoff, right?
What's the payoff in doing these things?

110
00:07:39,856 --> 00:07:44,435
So let's just work our way backwards. So
let's start right here. If I win, there's

111
00:07:44,435 --> 00:07:50,288
a ten percent chance I win. That's 49/40,
so I can take point one. Times 4940, plus

112
00:07:50,288 --> 00:07:58,694
point nine. Times minus 60. Well, what is
that?.4 times 4940 is 494. Right,

113
00:07:58,694 --> 00:08:04,267
and.9-60=54. So what I get is 440. So what
I can do is I can put 440 right here, I

114
00:08:04,267 --> 00:08:10,420
can basically wipe out all this stuff over
here and put a 440 there. Now so if I look

115
00:08:10,420 --> 00:08:16,282
at this question that do I write an essay
too, it seems really obvious, right. If I

116
00:08:16,282 --> 00:08:21,367
write the essay, my expected winnings are
440. If I don't write the essay, my

117
00:08:21,367 --> 00:08:26,119
expected winnings are minus twenty. So
again, let's clean this up. So if I write

118
00:08:26,119 --> 00:08:30,626
the essay, 440, if I don't write it, it's
minus twenty. It seems pretty clear,

119
00:08:30,626 --> 00:08:35,195
right, that I should write the essay. So
now, it just comes down to this. If I

120
00:08:35,195 --> 00:08:39,947
write essay one, there's some chance I'm
gonna get selected. If I'm selected, my

121
00:08:39,947 --> 00:08:44,516
expected winning is 440. If I'm not
selected, I'm gonna end up losing twenty.

122
00:08:44,516 --> 00:08:51,672
So what's this worth? Well. 440, I'm going
to get that ten to five percent of the

123
00:08:51,672 --> 00:08:57,727
time, but 95 percent of the time, right.
I'm gonna lose twenty. So I've gotta add

124
00:08:57,727 --> 00:09:02,079
these two things up. Well, 440 times five
percent is 22. And minus twenty times 95

125
00:09:02,079 --> 00:09:06,975
is minus nineteen. So if I add those two
things up, I get three. So what that means

126
00:09:06,975 --> 00:09:11,750
is I can replace this whole branch, in
working backwards, with a three. So now if

127
00:09:11,750 --> 00:09:16,646
I look at my decision, should I write the
essay or not? If I don't write the essay,

128
00:09:16,646 --> 00:09:21,059
I get nothing. And if I write the essay,
my expected value's $three. So, what

129
00:09:21,059 --> 00:09:25,713
should I do? Well, I should probably write
the essay, 'cause it's got a positive

130
00:09:25,713 --> 00:09:30,361
expected value. And the interesting thing
here is, if there'd been 300 applicants,

131
00:09:30,361 --> 00:09:34,908
or 400 applicants, right? Maybe I don't
want to write the essay. So, what the tree

132
00:09:34,908 --> 00:09:39,283
does, what this decision tree analysis
does, is it helps us figure out, was it

133
00:09:39,283 --> 00:09:44,404
really a good thing to do? So that's how
you use decision trees to make decisions.

134
00:09:44,404 --> 00:09:49,481
Let's do something a little bit trickier
with them. Let's do something where we try

135
00:09:49,481 --> 00:09:54,130
and infer what other people think about
probabilities. So suppose you have a

136
00:09:54,130 --> 00:09:58,840
friend and they say look, I know about
this investment and it sounds a little

137
00:09:58,840 --> 00:10:03,604
risky to you and they say it's going to
pay $50,000. You know, but almost sure and

138
00:10:03,604 --> 00:10:07,575
you're gonna put $2,000 in. She says,
look, I'm in. I'm investing my 2,000

139
00:10:07,575 --> 00:10:11,318
bucks, this is a great deal you
[inaudible] invest. So you've gotta

140
00:10:11,318 --> 00:10:15,629
decide, you know, do you want to invest?
Well, the first thing [inaudible] what

141
00:10:15,629 --> 00:10:19,996
does she think the likelihood of this
thing really is? Well, what we can do, we

142
00:10:19,996 --> 00:10:24,578
can draw a tree and say, you know, I can
invest, or I can not invest. And there's

143
00:10:24,578 --> 00:10:30,102
some probability that this will succeed
and there's some probability that it's

144
00:10:30,102 --> 00:10:35,625
going to fail. And if it succeeds, she's
going to make $50,000 and so would I. And

145
00:10:35,625 --> 00:10:40,869
if it fails, I'll lose $2,000. So let's
try and figure out what our friend is

146
00:10:40,869 --> 00:10:46,462
thinking. So what our friend is thinking
is that 50P, right, minus 2x1-P is bigger

147
00:10:46,462 --> 00:10:51,776
than zero. So she's figuring the end of
this branch right here, before chance

148
00:10:51,776 --> 00:10:57,372
takes its move, is higher than zero. So if
I work this through, it says 50P. Minus

149
00:10:57,372 --> 00:11:03,695
two plus 2P is bigger than zero. So if I
bring the P's all to this side, we're

150
00:11:03,695 --> 00:11:10,347
gonna get 52P, has gotta be bigger than
two. So what she's assuming is P is bigger

151
00:11:10,347 --> 00:11:15,769
than two over 52. Or about, you know,
right around four%. So now I can look at

152
00:11:15,769 --> 00:11:19,488
this investment thing. Do I really think
there's a four percent chance it's going

153
00:11:19,488 --> 00:11:23,360
to pay off? Clearly my friend does,
because she's in, and I can decide whether

154
00:11:23,360 --> 00:11:27,435
or not to make the decision or not. I can
also infer and this is the key point, I

155
00:11:27,435 --> 00:11:31,256
can infer from her decision that she
thinks that even though this is risky,

156
00:11:31,256 --> 00:11:35,077
that there's way more than a four percent
chance that it's going to happen. Because

157
00:11:35,077 --> 00:11:38,999
otherwise she wouldn't put her money in
it. Okay, so decision trees, even if we

158
00:11:38,999 --> 00:11:43,024
don't know the probabilities, if we look
at someone else's actions, we can infer

159
00:11:43,024 --> 00:11:47,298
what they think the probabilities are. Now
one last thing that's sort of fun. We can

160
00:11:47,298 --> 00:11:51,300
use these trees to infer payoffs and
sometimes we can use them even to infer

161
00:11:51,300 --> 00:11:55,613
payoffs about ourselves, like how we think
about things. So here's the scenario, it's

162
00:11:55,613 --> 00:11:59,718
kind of a fun one. You've got a standby
ticket, right? Got some standby ticket to

163
00:11:59,718 --> 00:12:03,720
go visit your parents, you call the
airlines in the morning of the flight and

164
00:12:03,720 --> 00:12:07,718
it's like a one-third chance that you're
going to make the flight. Two-thirds

165
00:12:07,718 --> 00:12:11,908
chance you're probably not going to make
it. So you've got to decide do you go to

166
00:12:11,908 --> 00:12:16,046
the airport, right, or do you just stay on
campus and not go home for the weekend.

167
00:12:16,046 --> 00:12:20,185
Well, suppose you decide not to go. You
decide to stay at the airport. You can use

168
00:12:20,185 --> 00:12:24,064
a decision tree to find out exactly how
much you really wanted to see your

169
00:12:24,064 --> 00:12:27,840
parents. What do I mean by that? Well,
let's see. So here's the decision; you

170
00:12:27,840 --> 00:12:31,950
stay on campus and let's suppose, let's
make that a baseline payoff of zero. You

171
00:12:31,950 --> 00:12:36,282
can go to the airport, and there's a
one-third change you're gonna make the

172
00:12:36,282 --> 00:12:40,671
flight. And let's call this V, the value
of seeing your parents. Now, there's a

173
00:12:40,671 --> 00:12:45,175
two-thirds chance, right, right, and we'll
put in a little cost here. Minus C for,

174
00:12:45,175 --> 00:12:49,853
you know, a couple hours of your time to
take the taxi to the airport and back, or

175
00:12:49,853 --> 00:12:54,472
take the train to the airport and back.
Alternatively, you cannot make the flight,

176
00:12:54,472 --> 00:12:59,150
and there, the cost is just gonna be the
straight minus C. Well, since you chose to

177
00:12:59,150 --> 00:13:04,716
stay at home, what that means is this.
That means one-third. Times the value of

178
00:13:04,716 --> 00:13:10,450
seeing your parents, minus the cost of
going to the airport. Right? Plus.

179
00:13:10,450 --> 00:13:16,132
Two-thirds times minus C, the cost of
going to the airport, has got to be less

180
00:13:16,132 --> 00:13:23,496
than zero. What that means is, one-third
V, if I add up the Cs, minus C is less

181
00:13:23,496 --> 00:13:28,300
than zero. So, if I work all the way
through this, what this means is that V.

182
00:13:28,300 --> 00:13:34,393
Is less than 3C. So it means your value of
going to see your parents is less than

183
00:13:34,393 --> 00:13:38,488
tree times the cost of going to the
airport. What's that's telling you is,

184
00:13:38,488 --> 00:13:42,251
well maybe I didn't want to see my parents
very much. Now if you did go to the

185
00:13:42,251 --> 00:13:46,013
airport and try and fly standby that's
saying the opposite. That's saying V is

186
00:13:46,013 --> 00:13:49,969
bigger that 3C and it's saying that you
really did want to see your parents. Which

187
00:13:49,969 --> 00:13:53,731
is a great thing since I'm sure your
parents would love to see you. Okay we've

188
00:13:53,731 --> 00:13:57,493
done decision trees here, lots of fun.
What we've shown is when we've got these

189
00:13:57,493 --> 00:14:01,256
decisions to make, where there's lots of
probabilities and contingencies, these

190
00:14:01,256 --> 00:14:05,163
trees are really helpful. They're really
useful in helping us make these reasoned

191
00:14:05,163 --> 00:14:09,016
decision, now again. You don't have to
adhere to what the model tells you to do,

192
00:14:09,016 --> 00:14:12,700
but the model is again a crutch, an aide,
a guide to help you making better

193
00:14:12,700 --> 00:14:16,781
decisions. We also side to use these trees
to infer what other people are thinking

194
00:14:16,781 --> 00:14:20,564
about probabilities. Right, cuz when our
friend made that investment, we could

195
00:14:20,564 --> 00:14:24,198
infer that she thought that there was a
more, at least a four percent chance that

196
00:14:24,198 --> 00:14:28,080
thing was gonna pay off. And the last
thing you could do is after the fact you

197
00:14:28,080 --> 00:14:32,162
could think, I made this choice. What is
this choice saying about how I think about

198
00:14:32,162 --> 00:14:36,094
the world or how I think about my parents
depending on what you thought the

199
00:14:36,094 --> 00:14:38,915
probabilities were. Okay, thanks a lot.
