decision analysis (decision trees) y. İlker topcu, ph.d. twitter.com/yitopcu

21
Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D. www.ilkertopcu.net www.ilkertopcu.org www.ilkertopcu.info www.facebook.com/yitopcu twitter.com/yitopcu

Upload: ian-fruin

Post on 30-Mar-2015

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Decision Analysis(Decision Trees)

Y. İlker TOPCU, Ph.D.

www.ilkertopcu.net www.ilkertopcu.org

www.ilkertopcu.info

www.facebook.com/yitopcu

twitter.com/yitopcu

Page 2: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Decision Trees

• A decision tree is a diagram consisting of• decision nodes (squares)• chance nodes (circles)• decision branches (alternatives)• chance branches (state of natures)• terminal nodes (payoffs or utilities)

Page 3: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Representing decision table as decision tree

ALTERNATIVES 1

2 ...

n

a1 x11 x12 ... x1n

a2 x21 x22 ... x2n

. . . ... .

am xm1 xm2 ... xmn

STATES OF NATURE

a1

a2

am

q1 x11

qn x1n

q1 xm1

qn xmn

Page 4: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Decision Tree Method

1. Define the problem2. Structure / draw the decision tree3. Assign probabilities to the states of nature4. Calculate expected payoff (or utility) for the

corresponding chance node – backward, computation

5. Assign expected payoff (or utility) for the corresponding decision node – backward, comparison

6. Represent the recommendation

Page 5: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Example 1

A decison node

A chance node

Favorable market (0.6)

Unfav. market (0.4)

Construct

large p

lant

Do nothing

$200,000

-$180,000

$100,000

-$20,000

1

2Construct

small plant

$0

Unfav. market (0.4)

Favorable market (0.6)

Page 6: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

A decison node

A chance node

Favorable market (0.6)

Unfav. market (0.4)

Construct

large p

lant

Do nothing

$200,000

-$180,000

$100,000

-$20,000

1

2Construct small plant

$0

Unfav. market (0.4)

Favorable market (0.6)

EV =$48,000

EV =$52,000

Page 7: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

STRATEGIES Decrease Increase

New equipment (S1) 130 220

Overtime labor (S2) 150 210

Do nothing (S3) 150 170

PROBABILITIES 40% 60%

STATES OF NATURES

220

130

210

150

170

150

%60

%40

%60

%40

%60

%40

184

186

162

Example 2

Page 8: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Sequential Decision Tree

• A sequential decision tree is used to illustrate a situation requiring a series of decisions (multi-stage decision making) and it is used where a payoff matrix (limited to a single-stage decision) cannot be used

Page 9: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Example 3

• Let’s say that DM has two decisions to make, with the second decision dependent on the outcome of the first.

• Before deciding about building a new plant, DM has the option of conducting his own marketing research survey, at a cost of $10,000.

• The information from his survey could help him decide whether to construct a large plant, a small plant, or not to build at all.

Page 10: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

• Before survey, DM believes that the probability of a favorable market is exactly the same as the probability of an unfavorable market: each state of nature has a 50% probability

• There is a 45% chance that the survey results will indicate a favorable market

• Such a market survey will not provide DM with perfect information, but it may help quite a bit nevertheless by conditional (posterior) probabilities: • 78% is the probability of a favorable market given a

favorable result from the market survey• 27% is the probability of a favorable market given a

negative result from the market survey

Page 11: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Example

Page 12: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Example

Page 13: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

• A manager has to decide whether to market a new product nationally and whether to test market the product prior to the national campaign.

• The costs of test marketing and national campaign are respectively $20,000 and $100,000.

• Their payoffs are respectively $40,000 and $400,000.• A priori, the probability of the new product's success is

50%. • If the test market succeeds, the probability of the

national campaign's success is improved to 80%. • If the test marketing fails, the success probability of the

national campaign decreases to 10%. •  

Example 4

Page 14: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

T

S(.5)

F(.5)

~T

C

~C

S(.8)

F(.2)

C

~C

S(.5)

F(.5)

C

~C

S(.1)

F(.9)

320

-8020

280

-120

-20

300

-1000

[240]

[240]

[-80]

[-20]

[110]

[100][100]

[110]

Page 15: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Expected Value of Sample Information

EVSI

= EV of best decision with sample information, assuming no cost to gather it

– EV of best decision without sample information

= EV with sample info. + cost – EV without sample info.

DM could pay up to EVSI for a survey.

If the cost of the survey is less than EVSI, it is indeed worthwhile.

In the example:

EVSI = $49,200 + $10,000 – $40,000 = $19,200

Page 16: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Estimating Probability Values by Bayesian Analysis

• Management experience or intuition

• History

• Existing data

• Need to be able to revise probabilities based upon new data

Posteriorprobabilities

Priorprobabilities New data

Bayes Theorem

Page 17: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Example:• Market research specialists have told DM that,

statistically, of all new products with a favorable market, market surveys were positive and predicted success correctly 70% of the time.

• 30% of the time the surveys falsely predicted negative result

• On the other hand, when there was actually an unfavorable market for a new product, 80% of the surveys correctly predicted the negative results.

• The surveys incorrectly predicted positive results the remaining 20% of the time.

Bayesian Analysis

Page 18: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Market Survey Reliability

Actual States of Nature

Result of Survey Favorable

Market (FM)

Unfavorable

Market (UM)

Positive (predicts

favorable market

for product)

P(survey positive|FM) = 0.70

P(survey positive|UM) = 0.20

Negative (predicts

unfavorable

market for

product)

P(survey negative|FM) = 0.30

P(survey negative|UM) = 0.80

Page 19: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Calculating Posterior Probabilities

P(BA) P(A)

P(AB) =

P(BA) P(A) + P(BA’) P(A’)where A and B are any two events, A’ is the complement of A

P(FMsurvey positive) =

[P(survey positiveFM)P(FM)] /

[P(survey positiveFM)P(FM) + P(survey positiveUM)P(UM)]

P(UMsurvey positive) =

[P(survey positiveUM)P(UM)] /

[P(survey positiveFM)P(FM) + P(survey positiveUM)P(UM)]

Page 20: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Probability Revisions Given a Positive Survey

Conditional

Probability

Posterior

Probability

State

of

Nature

P(Survey positive|State of Nature

Prior

Probability

Joint

Probability

FM 0.70 * 0.50 0.350.450.35 = 0.78

UM 0.20 * 0.500.45

0.10 0.10 = 0.22

0.45 1.00

Page 21: Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D.     twitter.com/yitopcu

Probability Revisions Given a Negative Survey

Conditional

ProbabilityPosterior

Probability

State

of

Nature

P(Survey

negative|State

of Nature)

Prior Probability

Joint Probability

FM 0.30 * 0.50 0.150.55

0.15 = 0.27

UM 0.80 * 0.50 0.400.55

0.40 = 0.73

0.55 1.00