decision analysis-1 inde 311 stochastic models and decision analysis uw industrial engineering...

50
Decision Analysis-1 IndE 311 IndE 311 Stochastic Models and Decision Stochastic Models and Decision Analysis Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Upload: cecily-shavonne-mcbride

Post on 18-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-1

IndE 311IndE 311Stochastic Models and Decision AnalysisStochastic Models and Decision Analysis

UW Industrial Engineering

Instructor: Prof. Zelda Zabinsky

Page 2: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-2

Operations ResearchOperations Research““The Science of Better”The Science of Better”

Page 3: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-3

Operations Research Operations Research Modeling ToolsetModeling Toolset

Linear Programming

Network Programming

PERT/ CPM

Dynamic Programming Integer

Programming

Nonlinear Programming

Game Theory

Decision Analysis

Markov Chains

Queueing Theory

Inventory Theory

ForecastingMarkov Decision

Processes

SimulationStochastic

Programming

310310

311311

312312

Page 4: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-4

IndE 311IndE 311

• Decision analysis– Decision making without

experimentation– Decision making with

experimentation– Decision trees– Utility theory

• Markov chains– Modeling– Chapman-Kolmogorov equations– Classification of states– Long-run properties– First passage times– Absorbing states

• Queueing theory – Basic structure and modeling– Exponential distribution– Birth-and-death processes– Models based on birth-and-death– Models with non-exponential

distributions

• Applications of queueing theory

– Waiting cost functions– Decision models

Page 5: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-5

Decision AnalysisDecision Analysis

Chapter 15

Page 6: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-6

Decision AnalysisDecision Analysis

• Decision making without experimentation– Decision making criteria

• Decision making with experimentation– Expected value of experimentation– Decision trees

• Utility theory

Page 7: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-7

Decision Making without Decision Making without ExperimentationExperimentation

Page 8: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-8

Goferbroke ExampleGoferbroke Example

• Goferbroke Company owns a tract of land that may contain oil• Consulting geologist: “1 chance in 4 of oil”• Offer for purchase from another company: $90k• Can also hold the land and drill for oil with cost $100k• If oil, expected revenue $800k, if not, nothing

Payoff

Alternative Oil Dry

Drill for oil

Sell the land

Chance 1 in 4 3 in 4

Page 9: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-9

Notation and TerminologyNotation and Terminology

• Actions: {a1, a2, …}– The set of actions the decision maker must choose from– Example:

• States of nature: {1, 2, ...}– Possible outcomes of the uncertain event.– Example:

Page 10: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-10

Notation and TerminologyNotation and Terminology

• Payoff/Loss Function: L(ai, k)

– The payoff/loss incurred by taking action ai when state k occurs.

– Example:

• Prior distribution:– Distribution representing the relative likelihood of the possible

states of nature.

• Prior probabilities: P( = k)– Probabilities (provided by prior distribution) for various states of

nature.

– Example:

Page 11: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-11

Decision Making CriteriaDecision Making Criteria

Can “optimize” the decision with respect to several criteria• Maximin payoff• Minimax regret• Maximum likelihood• Bayes’ decision rule (expected value)

Page 12: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-12

Maximin Payoff CriterionMaximin Payoff Criterion

• For each action, find minimum payoff over all states of nature• Then choose the action with the maximum of these minimum

payoffs

State of NatureMin

PayoffAction Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Page 13: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-13

Minimax Regret CriterionMinimax Regret Criterion

• For each action, find maximum regret over all states of nature• Then choose the action with the minimum of these maximum

regrets

(Regrets) State of NatureMax

RegretAction Oil Dry

Drill for oil

Sell the land

(Payoffs) State of Nature

Action Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Page 14: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-14

Maximum Likelihood CriterionMaximum Likelihood Criterion

• Identify the most likely state of nature• Then choose the action with the maximum payoff under that state of

nature

State of Nature

Action Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Prior probability 0.25 0.75

Page 15: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-15

Bayes’ Decision RuleBayes’ Decision Rule(Expected Value Criterion)(Expected Value Criterion)

• For each action, find expectation of payoff over all states of nature• Then choose the action with the maximum of these expected

payoffs

State of NatureExpected

PayoffAction Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Prior probability 0.25 0.75

Page 16: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-16

Sensitivity Analysis with Sensitivity Analysis with Bayes’ Decision RuleBayes’ Decision Rule

• What is the minimum probability of oil such that we choose to drill the land under Bayes’ decision rule?

State of NatureExpected

PayoffAction Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Prior probability p 1-p

Page 17: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-17

Decision Making with Decision Making with ExperimentationExperimentation

Page 18: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-18

Goferbroke Example (cont’d)Goferbroke Example (cont’d)

• Option available to conduct a detailed seismic survey to obtain a better estimate of oil probability

• Costs $30k• Possible findings:

– Unfavorable seismic soundings (USS), oil is fairly unlikely

– Favorable seismic soundings (FSS), oil is fairly likely

State of Nature

Action Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Prior probability 0.25 0.75

Page 19: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-19

Posterior ProbabilitiesPosterior Probabilities

• Do experiments to get better information and improve estimates for the probabilities of states of nature. These improved estimates are called posterior probabilities.

• Experimental Outcomes: {x1, x2, …}

Example:

• Cost of experiment: Example:

• Posterior Distribution: P( = k | X = xj)

Page 20: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-20

Goferbroke Example (cont’d)Goferbroke Example (cont’d)

• Based on past experience:If there is oil, then– the probability that seismic survey findings is USS = 0.4 =

P(USS | oil)– the probability that seismic survey findings is FSS = 0.6 =

P(FSS | oil)

If there is no oil, then– the probability that seismic survey findings is USS = 0.8 =

P(USS | dry)

– the probability that seismic survey findings is FSS = 0.2 = P(FSS |

dry)

Page 21: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-21

Bayes’ TheoremBayes’ Theorem

• Calculate posterior probabilities using Bayes’ theorem:Given P(X = xj | = k), find P( = k | X = xj)

P( | ) P( )P( | )

P( | ) P( )i

j k kk j

j i i

X xX x

X x

Page 22: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-22

Goferbroke Example (cont’d)Goferbroke Example (cont’d)

• We haveP(USS | oil) = 0.4 P(FSS | oil) = 0.6 P(oil) = 0.25

P(USS | dry) = 0.8 P(FSS | dry) = 0.2 P(dry) = 0.75

• P(oil | USS) =

• P(oil | FSS) =

• P(dry | USS) =

• P(dry | FSS) =

Page 23: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-23

Goferbroke Example (cont’d)Goferbroke Example (cont’d)

Optimal policies• If finding is USS: State of Nature

Expected

PayoffAction Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Posterior probability• If finding is FSS: State of Nature

Expected

PayoffAction Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Posterior probability

Page 24: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-24

The Value of ExperimentationThe Value of Experimentation

• Do we need to perform the experiment?

As evidenced by the experimental data, the experimental outcome

is not always “correct”. We sometimes have imperfect information. • 2 ways to access value of information

– Expected value of perfect information (EVPI)

What is the value of having a crystal ball that can identify true state of nature?

– Expected value of experimentation (EVE)

Is the experiment worth the cost?

Page 25: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-25

Expected Value of Perfect InformationExpected Value of Perfect Information

• Suppose we know the true state of nature. Then we will pick the optimal action given this true state of nature.

State of Nature

Action Oil Dry

Drill for oil 700 -100

Sell the land 90 90

Prior probability 0.25 0.75

• E[PI] = expected payoff with perfect information =

Page 26: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-26

Expected Value of Perfect InformationExpected Value of Perfect Information

• Expected Value of Perfect Information:

EVPI = E[PI] – E[OI]

where E[OI] is expected value with original information (i.e. without experimentation)

• EVPI for the Goferbroke problem =

Page 27: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-27

Expected Value of ExperimentationExpected Value of Experimentation

• We are interested in the value of the experiment. If the value is greater than the cost, then it is worthwhile to do the experiment.

• Expected Value of Experimentation:

EVE = E[EI] – E[OI]

where E[EI] is expected value with experimental information.

j

jPjvalueEEIE ) result( ] result alexperiment|[][

Page 28: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-28

Goferbroke Example (cont’d)Goferbroke Example (cont’d)

• Expected Value of Experimentation:

EVE = E[EI] – E[OI]

EVE =

j

jPjvalueEEIE ) result( ] result alexperiment|[][

Page 29: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-29

Decision TreesDecision Trees

Page 30: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-30

Decision TreeDecision Tree

• Tool to display decision problem and relevant computations

• Nodes on a decision tree called __________.• Arcs on a decision tree called ___________.

• Decision forks represented by a __________.• Chance forks represented by a ___________.

• Outcome is determined by both ___________ and ____________. Outcomes noted at the end of a path.

• Can also include payoff information on a decision tree branch

Page 31: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-31

Goferbroke Example (cont’d)Goferbroke Example (cont’d)Decision TreeDecision Tree

Page 32: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-32

Analysis Using Decision TreesAnalysis Using Decision Trees

1. Start at the right side of tree and move left a column at a time. For each column, if chance fork, go to (2). If decision fork, go to (3).

2. At each chance fork, calculate its expected value. Record this value in bold next to the fork. This value is also the expected value for branch leading into that fork.

3. At each decision fork, compare expected value and choose alternative of branch with best value. Record choice by putting slash marks through each rejected branch.

• Comments: – This is a backward induction procedure.

– For any decision tree, such a procedure always leads to an optimal solution.

Page 33: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-33

Goferbroke Example (cont’d)Goferbroke Example (cont’d)Decision Tree AnalysisDecision Tree Analysis

Page 34: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-34

Painting problemPainting problem

• Painting at an art gallery, you think is worth $12,000• Dealer asks $10,000 if you buy today (Wednesday)• You can buy or wait until tomorrow, if not sold by then, can be yours

for $8,000• Tomorrow you can buy or wait until the next day: if not sold by then,

can be yours for $7,000• In any day, the probability that the painting will be sold to someone

else is 50%• What is the optimal policy?

Page 35: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-35

Drawer problemDrawer problem

• Two drawers– One drawer contains three gold coins,

– The other contains one gold and two silver.

• Choose one drawer• You will be paid $500 for each gold coin and $100 for each silver

coin in that drawer• Before choosing, you may pay me $200 and I will draw a randomly

selected coin, and tell you whether it’s gold or silver and which drawer it comes from (e.g. “gold coin from drawer 1”)

• What is the optimal decision policy? EVPI? EVE? Should you pay me $200?

Page 36: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-36

Utility TheoryUtility Theory

Page 37: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-37

Validity of Monetary Value AssumptionValidity of Monetary Value Assumption

• Thus far, when applying Bayes’ decision rule, we assumed that expected monetary value is the appropriate measure

• In many situations and many applications, this assumption may be inappropriate

Page 38: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-38

Choosing between ‘Lotteries’Choosing between ‘Lotteries’

• Assume you were given the option to choose from two ‘lotteries’– Lottery 1

50:50 chance of winning $1,000 or $0– Lottery 2

Receive $50 for certain

• Which one would you pick?

$1,000

$0

.5

.5

$501

Page 39: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-39

Choosing between ‘lotteries’Choosing between ‘lotteries’

• How about between these two?– Lottery 1

50:50 chance of winning $1,000 or $0– Lottery 2

Receive $400 for certain

• Or these two?– Lottery 1

50:50 chance of winning $1,000 or $0– Lottery 2

Receive $700 for certain

$1,000

$0

.5

.5

$4001

$1,000

$0

.5

.5

$7001

Page 40: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-40

UtilityUtility

• Think of a capital investment firm deciding whether or not to invest in a firm developing a technology that is unproven but has high potential impact

• How many people buy insurance?Is this monetarily sound according to Bayes’ rule?

• So... is Bayes’ rule invalidated?No- because we can use it with the utility for money when choosing between decisions– We’ll focus on utility for money, but in general it could be utility

for anything (e.g. consequences of a doctor’s actions)

Page 41: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-41

A Typical Utility Function for MoneyA Typical Utility Function for Moneyu(M)

M

4

3

2

1

0$100 $250 $500 $1,000

What does this mean?

Page 42: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-42

Decision Maker’s PreferencesDecision Maker’s Preferences

• Risk-averse– Avoid risk– Decreasing utility for money

• Risk-neutral– Monetary value = Utility– Linear utility for money

• Risk-seeking (or risk-prone)– Seek risk– Increasing utility for money

• Combination of these

u(M)

M

u(M)

M

u(M)

M

u(M)

M

Page 43: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-43

Constructing Utility FunctionsConstructing Utility Functions

• When utility theory is incorporated into a real decision analysis problem, a utility function must be constructed to fit the preferences and the values of the decision maker(s) involved

• Fundamental property:The decision maker is indifferent between two alternative courses of action that have the same utility

Page 44: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-44

Indifference in UtilityIndifference in Utility

• Consider two lotteries

• The example decision maker we discussed earlier would be indifferent between the two lotteries if – p is 0.25 and X is …– p is 0.50 and X is …– p is 0.75 and X is …

$1,000

$0

p

1-p$X1

Page 45: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-45

Goferbroke Example (with Utility)Goferbroke Example (with Utility)

• We need the utility values for the following possible monetary payoffs:

Monetary Payoff Utility

-130

-100

60

90

670

700

M

u(M)45°

Page 46: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-46

Constructing Utility FunctionsConstructing Utility FunctionsGoferbroke ExampleGoferbroke Example

• u(0) is usually set to 0. So u(0)=0• We ask the decision maker what value of p makes

him/her indifferent between the following lotteries:

• The decision maker’s response is p=0.2• So…

700

-130

p

1-p01

Page 47: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-47

Constructing Utility FunctionsConstructing Utility FunctionsGoferbroke ExampleGoferbroke Example

• We now ask the decision maker what value of p makes him/her indifferent between the following lotteries:

• The decision maker’s response is p=0.15• So…

700

0

p

1-p901

Page 48: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-48

Constructing Utility FunctionsConstructing Utility FunctionsGoferbroke ExampleGoferbroke Example

• We now ask the decision maker what value of p makes him/her indifferent between the following lotteries:

• The decision maker’s response is p=0.1• So…

700

0

p

1-p601

Page 49: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-49

Goferbroke Example (with Utility)Goferbroke Example (with Utility)Decision TreeDecision Tree

Page 50: Decision Analysis-1 IndE 311 Stochastic Models and Decision Analysis UW Industrial Engineering Instructor: Prof. Zelda Zabinsky

Decision Analysis-50

Exponential Utility FunctionsExponential Utility Functions

• One of the many mathematically prescribed forms of a “closed-form” utility function

• It is used for risk-averse risk-averse decision makers only• Can be used in cases where it is not feasible or desirable for the

decision maker to answer lottery questions for all possible outcomes• The single parameter R is the one such that the decision maker is

indifferent between

R

-R/2

0.5

0.501and

R

M

eRMu 1)(

(approximately)