10/20/2015 1 decision modeling with microsoft excel decision chapter 8 analysis

43
06/27/22 1 DECISION MODELING WITH DECISION MODELING WITH MICROSOFT EXCEL MICROSOFT EXCEL DECISION DECISION Chapter 8 Chapter 8 ANALYSIS ANALYSIS

Upload: eustace-randall

Post on 20-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 1

DECISION MODELING WITH DECISION MODELING WITH MICROSOFT EXCELMICROSOFT EXCEL

DECISIONDECISION

Chapter 8Chapter 8

ANALYSISANALYSIS

Page 2: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 2

Decision Analysis Concepts

• There are three parts to every decision.

– A set of Alternatives

– A set of possible States of Nature

– A set of outcomes that are dependent on both the Alternative chosen and the State of Nature that occurs.

• There are three types of decisions

– Decisions under certainty

– Decisions under ignorance

– Decisions under risk

• There are two easy decisions

– Decisions under certainty

– Stochastic Dominance

Page 3: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 3

Decision Analysis Concepts• Alternatives

– For a decision to be made there must be alternatives to choose from. – The decision maker controls which alternative is selected – Inaction(doing nothing) is an acceptable alternative– For example, I can choose to bring my umbrella to class or I can choose to

leave it at home.

• States of Nature– For every decision one or more events can occur– Only one state of nature will occur (Mutually Exclusive)– The sum of probabilities for all states of nature must be 1.0 (Collectively

Exhaustive)– THE DECISION MAKER HAS NO CONTROL OVER WHICH STATE OF

NATURE WILL OCCUR– For example, it either rains while I walk to class or it does not rain. These

two events are mutually exclusive and collectively exhaustive. I have no control over which happens.

Page 4: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 4

Decision Analysis Concepts

• Outcomes– Outcomes are dependent on which alternative was chosen and which state

of nature occurred– Alternatives are ALWAYS chosen BEFORE the state of nature occurs– For each alternative/state of nature combination there is an outcome

– For example, if I chose to take my umbrella and it does not rain the outcome is that I stay dry

– If I chose to take my umbrella and it rains the outcome is that I stay dry– If I chose not to take my umbrella and it does not rain the outcome is that I

stay dry– If I chose not to take my umbrella and it rains the outcome is that I get wet.

• Three of the four outcomes in this example are the same. The only time I get wet is when I choose to not take my umbrella and then it rains as I walk to class.

Page 5: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 5

Decision Analysis Concepts• Decisions under Certainty

– The state of nature that will occur after the decision has been made is known with certainty (effectively 1 state of nature)

– Deterministic models assume certainty– If X then Y1

• Decisions under Ignorance– Ignorance occurs when the possible states of nature are known but the

decision maker has no knowledge of the probability of each state occurring– Ignorance assumes each state of nature is equally likely to occur– If X then P(Y1) = 1/Yn

• Decisions under Risk– The decision maker does not know which state of nature will occur– The decision maker can asses the likelihood of each state of nature’s

occurrence– If X then P(Y1) = Z, where Z is a known/estimable value between 0 and 1

Page 6: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 6

Decision Analysis Concepts

• Two “Easy” Decisions

– Decisions under Certainty are considered easy. If the state of nature is known before the decision is made the only thing that impacts the outcome is which alternative is chosen. In this case, the decision maker only needs to evaluate all of the alternatives and choose the one that yields the best outcome. Deterministic modeling what-if analysis is an example

– Stochastic Dominance occurs when one alternative always yields an equal or better outcome than another alternative regardless of which state occurs. For example, the decision to carry an umbrella to class stochastically dominates the decision to not carry an umbrella. This is because I will always stay dry with the umbrella but there is a chance I can get wet without it.

Page 7: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 7

Payoff Tables

Payoff tables are used to evaluate all possible outcomes for any set of alternatives and states of nature.

Decision alternatives are listed down the side and make up the rows of the table.

States of Nature are listed across the top and make up the columns of the table.

Each cell of the table represents an outcome for the row’s alternative when the column’s state of nature occurs.

Note 1: Each row/column combination must have an outcome associated with it.

Note 2: Decisions under certainty only have one column.

Page 8: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 8

Payoff Tables

State of Nature

1 2 … mDecision

d1 r11 r12 … r1m

d2 r21 r22 … r2m

dn rn1 rn2 … rnm

… … … … …

In this table, the alternative decisions are listed along the side.

The states of nature are listed across the top.The center values are the payoffs for all possible combinations of decisions and states of nature.

Page 9: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 9

Decision Rules under Ignorance

• There are four rules that can be used to make a decision under ignorance

• All four rules require a payoff table to be built

• Each rule evaluates the payoff table to suggest the best decision

• The rules are:

– Maximax– Maximin– Laplace-Bayes– Minimax regret

Page 10: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 10

Decision Rules under Ignorance• A small regional bank wants to get into the mortgage lending business. They want

to include economic impacts and interest rates in their decision. For expedience they determine that the economy can be good or bad and rates could be high or low. Therefore the four possible states of nature are:

– 1) Good and Low– 2) Good and High– 3) Bad and Low– 4) Bad and High

• The bank is also considering two separate initiatives. The first is whether to have a tight or loose credit risk policy and the second is to set their rates as either high or low. These decisions lead to the following four alternatives.

– 1) Tight policy and low rates– 2) Tight policy and high rates– 3) Loose policy and low rates– 4) Loose policy and high rates

• Each decision will have different payoffs for each state of nature.

Page 11: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 11

Decision Rules under Ignorance

Payoff Table Good & Low Good & High Bad & Low Bad & HighTight Policy and Low Rates 1,875,000$ 1,875,000$ 650,000$ (150,000)$ Tight Policy and High Rates 1,500,000$ 1,750,000$ 475,000$ (100,000)$ Loose Policy and Low Rates 2,800,000$ 2,500,000$ (50,000)$ (1,050,000)$ Loose Policy and High Rates 2,250,000$ 2,750,000$ (350,000)$ (400,000)$

The bank did a lot of analysis and came up with this payoff matrix.

• Notice the four states of nature are listed across the top and make the columns.

• Notice the four alternatives are listed down the side and make the rows.

• Each cell is the payoff the bank will realize for any given alternative/state of nature combination.

• Remember, the alternative is selected before the state of nature is known.

Page 12: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 12

Decision Rules under Ignorance

• Maximax - “the best of the best”– Identify the best outcome for each alternative– Select the alternative with the best possible outcome

Payoff Table Good & Low Good & High Bad & Low Bad & High MaximumTight Policy and Low Rates 1,875,000$ 1,875,000$ 650,000$ (150,000)$ 1,875,000$ Tight Policy and High Rates 1,500,000$ 1,750,000$ 475,000$ (100,000)$ 1,750,000$ Loose Policy and Low Rates 2,800,000$ 2,500,000$ (50,000)$ (1,050,000)$ 2,800,000$ Loose Policy and High Rates 2,250,000$ 2,750,000$ (350,000)$ (400,000)$ 2,750,000$

The best alternative is 2,800,000$

Using the Maximax decision rule, the Bank’s best alternative is to have a loose policy and low rates. If the economy turns out to be good and has low interest the bank will realize the best possible return of $2,800,000 in profit.

Page 13: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 13

Decision Rules under Ignorance

• Maximin - “the best of the worst”– Identify the worst outcome for each alternative– Select the alternative with the best possible outcome

Payoff Table Good & Low Good & High Bad & Low Bad & High MinimumTight Policy and Low Rates 1,875,000$ 1,875,000$ 650,000$ (150,000)$ (150,000)$ Tight Policy and High Rates 1,500,000$ 1,750,000$ 475,000$ (100,000)$ (100,000)$ Loose Policy and Low Rates 2,800,000$ 2,500,000$ (50,000)$ (1,050,000)$ (1,050,000)$ Loose Policy and High Rates 2,250,000$ 2,750,000$ (350,000)$ (400,000)$ (400,000)$

The best alternative is (100,000)$

Using the Maximin decision rule, the Bank’s best alternative is to have a tight policy and high rates. If the economy goes bad and rates are high, the worst state of nature, the bank will only have $100,000 in losses.

Page 14: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 14

Decision Rules under Ignorance

• Laplace-Bayes - “the best average”– Calculate the average payoff for each alternative– Select the alternative with the best possible outcome

Payoff Table Good & Low Good & High Bad & Low Bad & High AverageTight Policy and Low Rates 1,675,000$ 1,875,000$ 650,000$ (150,000)$ 1,012,500$ Tight Policy and High Rates 1,500,000$ 1,750,000$ 475,000$ (100,000)$ 906,250$ Loose Policy and Low Rates 2,800,000$ 2,500,000$ (50,000)$ (1,050,000)$ 1,050,000$ Loose Policy and High Rates 2,250,000$ 2,750,000$ (350,000)$ (400,000)$ 1,062,500$

The best alternative is 1,062,500$

Using the Laplace-Bayes decision rule, the banks best alternative is to have a loose policy and high rates.

It is not possible for the bank to have $1,062,500 in returns. It will have either $2.25M, $2.75M, -$0.35M, or -$0.4M.

Laplace-Bayes assumes that the average payoff will occur if the decision is repeated many times, i.e. in a simulation.

Page 15: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 15

Decision Rules under Ignorance• Minimax Regret - “I can’t afford to be wrong”

– Calculate the regret for each alternative.

• Regret is effectively the opportunity cost of a decision

• To calculate regret look at each state of nature.

• The alternative that yields the best outcome has zero regret

• The regret for the remaining alternatives is the difference between the best alternative and its own outcome

– Identify the maximum regret for each alternative and select the smallest

Payoff Table Good & Low Good & High Bad & Low Bad & HighTight Policy and Low Rates 1,875,000$ 1,875,000$ 650,000$ (150,000)$ Tight Policy and High Rates 1,500,000$ 1,750,000$ 475,000$ (100,000)$ Loose Policy and Low Rates 2,800,000$ 2,500,000$ (50,000)$ (1,050,000)$ Loose Policy and High Rates 2,250,000$ 2,750,000$ (350,000)$ (400,000)$

Regret Table Good & Low Good & High Bad & Low Bad & High MaximumTight Policy and Low Rates 925,000$ 875,000$ -$ 50,000$ 925,000$ Tight Policy and High Rates 1,300,000$ 1,000,000$ 175,000$ -$ 1,300,000$ Loose Policy and Low Rates -$ 250,000$ 700,000$ 950,000$ 950,000$ Loose Policy and High Rates 550,000$ -$ 1,000,000$ 300,000$ 1,000,000$ Maximum outcome from Payoff Table 2,800,000$ 2,750,000$ 650,000$ (100,000)$

The best alternative is 925,000$

Page 16: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 16

Decision Rules under Ignorance

• Using Minimax Regret the bank should choose a tight policy with low rates. In a good economy with low interest the bank will only regret $925,000 in profit they could have had. This decision rule is the most forward looking.

• Note: In this example we had four decision rules and each one yielded a different answer. This will not always be the case.

• It is up to the decision maker to chose which decision rule will be applied to each decision.

Page 17: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 17

Decisions under risk

• Decisions under risk have more than one state of nature.

• Each state of nature has a known/estimable probability.

• Each state of nature must be mutually exclusive.

• The sum of probabilities for all states of nature must equal 1.0– This means that they are collectively exhaustive.

• Probabilities can be estimated using the following:– Historical frequencies– Subjective judgment– Forecasts– Models

Page 18: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 18

Estimating Probabilities

• Regardless of method, historical frequency, model, judgment, forecast the analyst must identify mutually exclusive and collectively exhaustive groups.

– Historical Frequency Example: Last January it rained 11 out of 31 days. The probability of rain on any given day in January is 11/31 or 35.48%. The probability it won’t rain is 1-35.48 or 64.52%

– Subjective Judgment Example: Your manager, who has a lot of experience, believes that there is a 45% chance that your bid will be accepted, 20% chance it will be countered, and a 35% probability it will be rejected.

– Forecast Example: Economists believe that interest rates will raise next year. Their forecasts are right 70% of the time.

– Model Example: A person has a credit score of 756. This can be transformed into a probability of default of 6%. That means the probability they will pay as agreed is 94%.

Page 19: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 19

Expected Value

• The expected value of a decision is the weighted average of the payoffs for each alternative / state of nature where the weights are the probability of each state of natures occurrence.

– Example:

– The expected value of choosing a tight policy and low rates is $1,057,750 given these probabilities.

• IT IS NOT POSSIBLE FOR A SINGLE DECISION TO HAVE A VALUE OF $1,057,750. This is the expected value if the decision is made many many times.

• FYI: Not all decisions are made on dollars, whether profit or costs, in many cases a concept called Utility is used in place of dollars.

Payoff Table Good & Low Good & High Bad & Low Bad & High E.V.Tight Policy and Low Rates 1,875,000$ 1,875,000$ 650,000$ (150,000)$ 1,057,750$ Probability 18% 29% 32% 21%

Page 20: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 20

Utilities

• Would you play this game: For $10,000 you have a 1% chance of winning $1,000,000.

• The EV is (1,000,000*.01) + (-10,000*.99) = 10,000 – 9,900 = $100.• If you won’t play this game you are risk averse.• Second game, I’ll give you $10,000.

– Feels good doesn’t it.– You just won a million bucks in the lottery– Who cares about my 10 grand.

• The more money you have the less value additional money means to you.

• Utilities are algorithms to measure how risk averse one is by measuring the value they place on different levels of money.

• You won’t be tested on this, just wanted to expose the idea.

Page 21: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 21

Example from Book

• A newsvendor can buy newspapers for $0.40 and sell them for $0.75.

• As with all decisions, they must decide how many to buy before they learn how many can be sold.

• There is no salvage value on unsold newspapers.

• There is an opportunity cost of $0.50 for unmet demand which represents the potential loss of future customers.

• The four states of nature and the probability of their occurrence are:

– P0 = 0.1

– P1 = 0.3

– P2 = 0.4

– P3 = 0.2

• Our newsvendor must decide whether to purchase 0, 1, 2, or 3 papers.

Page 22: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 22

Example – Cont.

Payoff Matrix State of nature

Decision0 Papers

demanded1 Papers

demanded2 Papers

demanded3 Papers

demanded

Order 0 papers -$ (0.50)$ (1.00)$ (1.50)$ Order 1 paper (0.40)$ 0.35$ (0.15)$ (0.65)$ Order 2 papers (0.80)$ (0.05)$ 0.70$ 0.20$ Order 3 papers (1.20)$ (0.45)$ 0.30$ 1.05$

Sales Price 0.75$ Cost of Goods 0.40$ Cost of Loss of goodwill 0.50$

Using the previous information the payoff matrix was developed whereProfit = 0.75*number sold - 0.4*number bought – 0.5*unmet demand

Page 23: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 23

Example – Cont.Payoff Matrix State of nature

Decision0 Papers

demanded1 Papers

demanded2 Papers

demanded3 Papers

demandedExpected

Value

Order 0 papers -$ (0.50)$ (1.00)$ (1.50)$ (0.85)$ Order 1 paper (0.40)$ 0.35$ (0.15)$ (0.65)$ (0.13)$ Order 2 papers (0.80)$ (0.05)$ 0.70$ 0.20$ 0.23$ Order 3 papers (1.20)$ (0.45)$ 0.30$ 1.05$ 0.07$ Probability 10% 30% 40% 20%

For each alternative the payoffs were multiplied by the probability of each state of natures occurrence. These were then summed to reach each alternatives expected value.Since we are maximizing profit we will chose the alternative with the highest expected value and order 2 papers.

Any given day, if we order 2 papers we will either lose $0.80, lose $0.05, gain $0.70, or gain $0.20.

Over the course of a month we could expect to average a $0.23 gain per day.

Page 24: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 24

EVPI

• EVPI is the Expected Value of Perfect Information.• It is the expected value of a decision assuming one knows in

advance which state of nature will occur.• It is the sum of the best payoff for each state of nature multiplied by

the probability of each state’s occurrence minus the original expected value.

• The EVPI for our newsvendor is $0.595 - $0.225 = $0.37• $0.37 is the most we should be willing to pay for perfect information

Payoff Matrix State of nature

Decision0 Papers

demanded1 Papers

demanded2 Papers

demanded3 Papers

demandedExpected

Value

Order 0 papers -$ (0.50)$ (1.00)$ (1.50)$ (0.850)$ Order 1 paper (0.40)$ 0.35$ (0.15)$ (0.65)$ (0.125)$ Order 2 papers (0.80)$ (0.05)$ 0.70$ 0.20$ 0.225$ Order 3 papers (1.20)$ (0.45)$ 0.30$ 1.05$ 0.075$ Best Payoff -$ 0.35$ 0.70$ 1.05$ 0.595$ Probability 10% 30% 40% 20%

Page 25: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 25

EVSI• EVSI is the Expected Value of Sample Information.• Sample information provides revised probability estimates for each

state of nature. • Calculate the expected value using the sample information then

subtract the expected value without the new information.• Sample efficiency is EVSI/EVPI.

• The sample information in this example is $0.32 - $0.225 = $0.095.• The sample efficiency is $0.095/$0.37 = 25.67%

Payoff Matrix State of nature

Decision0 Papers

demanded1 Papers

demanded2 Papers

demanded3 Papers

demandedExpected

Value

Order 0 papers -$ (0.50)$ (1.00)$ (1.50)$ (0.850)$ Order 1 paper (0.40)$ 0.35$ (0.15)$ (0.65)$ (0.125)$ Order 2 papers (0.80)$ (0.05)$ 0.70$ 0.20$ 0.225$ Order 3 papers (1.20)$ (0.45)$ 0.30$ 1.05$ 0.075$ Orig. Prob 10% 30% 40% 20% 0.225$ Revised Prob. 5% 28% 48% 19% 0.320$

Page 26: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 26

Decision Trees

• Decision trees map out decisions under risk in a time series.

• Trees are read from left to right. The left most node represents the current time. Moving right the tree extends into the future.

• Decision nodes are represented as a square.

• Event nodes, where states of nature occur, are represented by circles.

• Each decision alternative leads to an event node.

• Trees can have several sequential decisions

Page 27: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 27

Decision Tree Example

• Each spring Joe Farmer has to decide what type of pest treatment to use on his soybean crop.

• DDT costs $5000 and is effective 80% of the time when used in the spring.

• Hormones are 73% effective and cost $8000.

• Scent Lures provide a two stage treatment. The scent lure is applied in the spring at a cost of $3000. It has a 32% effective rate.

– By mid summer Joe will know if it worked.

– Either way, he can then choose to use DDT or release sterile males.

– When applied in the summer DDT works 45% of the time and still costs $5000.

– If the scent lure worked the sterile male is 92% effective.

– If the scent lure failed the sterile male is only 61% effective.

– It costs $7000.

Page 28: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 28

Decision Tree Example

• Regardless of treatment, if it is not successful Joe will lose $10,000 • All revenues reported assume the treatment chosen is effective.• The payoffs reported do not account for the treatment cost.• If Spring DDT is effective he will make $16,000• If the Scent Lure works and he uses DDT he will make $12,000• If the Scent Lure works and he uses the sterile males he will make $52k• If the Scent Lure fails and he uses DDT he will make $12,000• If the Scent Lure fails and he uses the sterile males he will make $27,000• If he uses the Hormone he will make $22,000

• Joe has everything he needs to build his decision tree.• Since one of the options has two decision points this is a sequential

decision.

• Use the treeplan.xla excel add in to build your tree. It is demonstrated in class and in the text book.

Page 29: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 29

Decision Tree Example

DDT-5000

-5000 -5000

Scent Lure2 -3000

-3000 -3000 -3000

Hormone-8000

-8000 -8000

Step 1: Represent the three decisions with a decision node – note it is square

Step 2: Enter the costs.

Step 3: After each decision there is an event. Either the treatment was effective or it was not.

Page 30: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 30

Decision Tree Example

Notice that the three event nodes are represented as circles.

Also note, that each event has probabilities that reflect the study data.

DDT & Hormone are a single decision. Therefore the payoffs associated with their success has been added in.

0.8Effective

11000DDT 16000 11000

-5000 5800 0.2Not Effective

-15000-10000 -15000

0.32Effective

-3000Scent Lure 0 -3000

15800 -3000 -3000 0.68

Not Effective-3000

0 -3000

0.73Effective

14000Hormone 22000 14000

-8000 5360 0.27Not Effective

-18000-10000 -18000

Page 31: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 31

Decision Tree Example0.8

Effective11000

DDT 16000 11000

-5000 5800 0.2Not Effective

-15000-10000 -15000

0.45Effective

4000DDT 12000 4000

-5000 -8100 0.55Not Effective

0.32 -18000Effective -10000 -18000

20 37040 0.92

Effective42000

Sterile Male 52000 42000

-7000 37040 0.08Not Effective

-20000Scent Lure -10000 -20000

26344.8 -3000 6344.8 0.45

Effective4000

DDT 12000 4000

-5000 -8100 0.55Not Effective

0.68 -18000Not Effective -10000 -18000

10 -8100 0.16

Effective17000

Sterile Male 27000 17000

-7000 -14080 0.84Not Effective

-20000-10000 -20000

0.73Effective

14000Hormone 22000 14000

-8000 5360 0.27Not Effective

-18000-10000 -18000

Next, two more decision nodes have to be added after we learn if the scent lure is effective or not.

Both new nodes have the same decision alternatives and costs.

After choosing whether to use DDT or the Sterile Male there is another event node for each branch.

The probabilities and payoffs come from the text.

The column on the far right is the actual payoff that any single trip through the tree will generate including all costs.

Page 32: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 32

Decision Tree Example

• The expected value of this sequence of decisions is $6,345 and comes from alternative number 2.

• If the scent lure is effective the best decision is to use the sterile male.

• If the sterile male works the crop is valued at $52,000 but it cost a total of $10,000 in treatments. Joe will profit $42,000.

• If the sterile male does not work, Joe will lose $10,000 on his crops plus the $10,000 in treatments.

• If the scent lure does not work Joes best alternative is to try to salvage his crops with DDT.

• Sensitivity analysis can be performed by applying different values for payoffs as well as probabilities.

Page 33: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 33

Bayes’ Theorem

• Bayes’ Theorem allows re-evaluation of probability estimates with new information.

• All that is needed are the original probability estimates and how reliable the new information is.

– Example, In Atlanta during February the historical probability of rain on any given day is 61%. P(r) = 0.61 P(nr) = 1-0.61 = 0.39. These are known as the “Prior Probabilities.”

– Historically, 85% of the time it rains the next day the news said rain.

• This means 15% of the time they predicted no rain.

– The news accurately predicts non-rainy days 70% of the time.

– The historical accuracy of the news are called “Reliabilities”

• Before watching the news our best prediction is there is a 61% probability of rain tomorrow.

• The news says it will rain tomorrow.

• What is our revised probability of rain?

Page 34: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 34

Bayes’ Theorem

• Before calculating the revised probability of rain, known as the “Posterior Probabilities” we need to know the “Joint Probabilities” and the “Marginal Probabilities”.

• There is one Joint Probability for each reliability estimate. To determine the Joint Probability multiply each reliability estimate by its prior probability.– Predict Rain and Rain = 0.85 * 0.61 = 0.5185– Predict Rain and No Rain = 0.15 * 0.61 = 0.0915– Predict No Rain and Rain = 0.3 * 0.39 = 0.117– Predict No Rain and No Rain = 0.7 * 0.39 = 0.273

• The Marginal Probabilities are the sum of the Joint Probabilities by prediction. They equate to the probability a given prediction will be made.– Predict Rain = 0.5185 + 0.117 = 0.6355– Predict No Rain = 0.0915 + 0.273 = 0.3645

• A quick test: The sum of the marginal probabilities must equal 1.

Page 35: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 35

Bayes’ Theorem

• The Posterior Probabilities are also known as “Conditional Probabilities”. The can be noted as P(r|pr). This is read as the probability of rain given the prediction of rain.

• To calculate the posterior probability divide the joint probability by its marginal probability.

– P(r|pr) = 0.5185/0.6355 = 0.8159

– P(r|pnr) = 0.915/0.3645 = 0.2510

– P(nr|pr) = 0.117/0.6355 = 0.1841

– P(nr|pnr) = 0.273/0.3645 = 0.7490

• In this example we originally asked what is the probability of rain given the news predicts rain. Our answer is 81.59%.

Page 36: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 36

Bayes’ Theorem

Rain No RainPredict Rain 0.85 0.3Predict No Rain 0.15 0.7

P(R) P(NR)0.61 0.39

Rain No Rain MarginalPredict Rain 0.5185 0.117 0.6355Predict No Rain 0.0915 0.273 0.3645

Rain No RainPredict Rain 0.815892998 0.184107002Predict No Rain 0.251028807 0.748971193

Reliabilities

Prior Probabilities

Joint & Marginal Probibilites

Posterior Probabilities

Page 37: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 37

Book Example

• New Cell phone introduction• Three campaign levels

– Aggressive– Basic– Cautious

• Two states of nature– Strong P(s) = 0.45– Weak P(w) = 0.55

Decision Strong WeakExpected

ValueAggressive 30 -8 9.1Basic 20 7 12.85Cautious 5 15 10.5

Probability 0.45 0.55

States of Nature

Page 38: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 38

Book ExampleBasic Tree

0.45Strong

30Aggressive 30 30

0 9.1 0.55Weak

-8-8 -8

0.45Strong

20Basic 20 20

212.85 0 12.85 0.55

Weak7

7 7

0.45Strong

5Cautious 5 5

0 10.5 0.55Weak

1515 15

Note: A single stage decision tree produces the same results as the payoff table.

Page 39: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 39

Book ExampleMarket Test

• A marketing firm can perform a test to determine whether the market will be strong or weak.

• 60% of the time there is a strong market the firm gives an encouraging report.

• Conversely, 40% of the time there is a strong market the firm gives a discouraging report.

• 70% of the time there is a weak market the firm gives a discouraging report.

• Conversely, 30% of the time there is a weak market the firm gives an encouraging report.

• Bayes’ Theorem allows us to know the probability of an encouraging report (the marginal probability).

• Bayes’ also gives the conditional probabilities (posterior) to use in the revised tree.

Page 40: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 40

Book ExampleBayes’ Theorem

Strong WeakEncouraging 0.6 0.3Discouraging 0.4 0.7

P(S) P(W)0.45 0.55

Strong Weak MarginalEncouraging 0.27 0.165 0.435Discouraging 0.18 0.385 0.565

Strong WeakEncouraging 0.621 0.379Discouraging 0.319 0.681

Reliabilities

Prior Probabilities

Joint & Marginal Probibilites

Posterior Probabilities

Page 41: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 41

Book ExampleRevised Tree

0.621Strong

Aggressive 30 30

0 15.598 0.379Weak

-8 -8

0.621Strong

0.435Encouraging Basic 20 20

10 15.598 0 15.073 0.379

Weak

7 7

0.621Strong

Cautious 5 5

0 8.79 0.379Weak

15 15

13.45778 0.319Strong

Aggressive 30 30

0 4.122 0.681Weak

-8 -8

0.319Strong

0.565Discouraging Basic 20 20

30 11.81 0 11.147 0.681

Weak

7 7

0.319Strong

Cautious 5 5

0 11.81 0.681Weak

15 15

Note: Our original expected value of choosing a basic strategy was $12.85 MM. If there is an encouraging report our best decision is to market aggressively for an expected value of $15.598. If the report is discouraging then we should choose a cautious campaign for an expectedvalue of $11.81MM. The overall tree is valued at $13.46 MM.We can determine the EVSI as $13.46 – 12.85 MM = $0.61 MM.

Recall EVPI as (30*0.45 + 15*0.55) – 12.85(13.5 + 8.25) – 12.8521.75 – 12.85 = $8.9 MM

The sample efficiency is 0.61/8.9 Or 6.8%

Page 42: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 42

Book ExampleSummary

• EVSI = $0.61 MM, so long as the market test is less than this we should pay for it. In this case it is $0.5 MM.

• Not shown is the final tree which has a decision to test or not test.

• The final tree has a single decision node on the left, if test the subtree is identical to the tree on slide 40. Following the no test decision the subtree is identical to the tree on slide 37.

• Recall, trees are read from left to right. You can only choose which branch at a decision node (square).

• Branches not chosen are said to be pruned.

Page 43: 10/20/2015 1 DECISION MODELING WITH MICROSOFT EXCEL DECISION Chapter 8 ANALYSIS

04/21/23 43

Key Learning's

• Decision analysis concepts

• Payoff tables

• Rules for decision under ignorance

• Expected value

• Value of information

• Bayes’ Theorem

• Decision trees