Fundamentals of Software Engineering Economics (IV) 1 LiGuo Huang Computer Science and Engineering Southern Methodist University Software Engineering Economics.

Slides:



Advertisements
Similar presentations
Slides 8a: Introduction
Advertisements

Decision Theory.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 3-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Prepared by.
Chapter 3 Decision Analysis.
Chapter 5: Decision-making Concepts Quantitative Decision Making with Spreadsheet Applications 7 th ed. By Lapin and Whisler Sec 5.5 : Other Decision Criteria.
1 Decision Analysis What is it? What is the objective? More example Tutorial: 8 th ed:: 5, 18, 26, 37 9 th ed: 3, 12, 17, 24 (to p2) (to p5) (to p50)
Lesson 9.1 Decision Theory with Unknown State Probabilities.
20- 1 Chapter Twenty McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Chapter 14 Decision Analysis. Decision Making Many decision making occur under condition of uncertainty Decision situations –Probability cannot be assigned.
Chapter 3 Decision Analysis.
Chapter 18 Statistical Decision Theory Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th.
Decision Theory.
Chapter 21 Statistical Decision Theory
Chapter 3 Decision Analysis.
Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter Twenty An Introduction to Decision Making GOALS.
Chapters 19 – 20: Dealing With Uncertainties TPS Example: Uncertain outcome Decision rules for complete uncertainty Utility functions Expected value of.
Managerial Decision Modeling with Spreadsheets
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin An Introduction to Decision Making Chapter 20.
DSC 3120 Generalized Modeling Techniques with Applications
Decision analysis: part 2
Chapter 8 Decision Analysis MT 235.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 18-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Chapter 15: Decisions Under Risk and Uncertainty McGraw-Hill/Irwin Copyright © 2011 by the McGraw-Hill Companies, Inc. All rights reserved.
Decision Making Under Uncertainty and Under Risk
Decision Analysis Introduction Chapter 6. What kinds of problems ? Decision Alternatives (“what ifs”) are known States of Nature and their probabilities.
© 2008 Prentice Hall, Inc.A – 1 Operations Management Module A – Decision-Making Tools PowerPoint presentation to accompany Heizer/Render Principles of.
Operations Management Decision-Making Tools Module A
Operations Management Decision-Making Tools Module A
Operational Decision-Making Tools: Decision Analysis
CD-ROM Chap 14-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition CD-ROM Chapter 14 Introduction.
Software in Acquisition Workshop Software Expert Panel Outbrief Day 2 DoD Software In Acquisition Workshop April Institute for Defense Analyses,
© 2006 Prentice Hall, Inc.A – 1 Operations Management Module A – Decision-Making Tools © 2006 Prentice Hall, Inc. PowerPoint presentation to accompany.
MA - 1© 2014 Pearson Education, Inc. Decision-Making Tools PowerPoint presentation to accompany Heizer and Render Operations Management, Eleventh Edition.
Module 5 Part 2: Decision Theory
Copyright © 2005 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics Thomas Maurice eighth edition Chapter 15.
“ The one word that makes a good manager – decisiveness.”
An Introduction to Decision Theory (web only)
PowerPoint presentation to accompany Operations Management, 6E (Heizer & Render) © 2001 by Prentice Hall, Inc., Upper Saddle River, N.J A-1 Operations.
Chapter 3 Decision Analysis.
LSM733-PRODUCTION OPERATIONS MANAGEMENT By: OSMAN BIN SAIF LECTURE 26 1.
1 1 Slide Decision Theory Professor Ahmadi. 2 2 Slide Learning Objectives n Structuring the decision problem and decision trees n Types of decision making.
Decision Making. Advanced Organizer Chapter Objectives Explain the process of management science Be able to solve problems using three types of decision.
CS 510 Midterm 2 Q&A Fall 2014 Barry Boehm November 10, 2014.
Operations Research II Course,, September Part 5: Decision Models Operations Research II Dr. Aref Rashad.
© 2007 Pearson Education Decision Making Supplement A.
Decision Analysis Mary Whiteside. Decision Analysis Definitions Actions – alternative choices for a course of action Actions – alternative choices for.
© 2008 Prentice Hall, Inc.A – 1 Decision-Making Environments  Decision making under uncertainty  Complete uncertainty as to which state of nature may.
Welcome Unit 4 Seminar MM305 Wednesday 8:00 PM ET Quantitative Analysis for Management Delfina Isaac.
Models for Strategic Marketing Decision Making. Market Entry Decisions To enter first or to wait Sources of First-Mover Advantages –Technological leadership.
Fundamentals of Decision Theory Chapter 16 Mausam (Based on slides of someone from NPS, Maria Fasli)
QUANTITATIVE TECHNIQUES
Decision Analysis.
Decision Analysis Pertemuan Matakuliah: A Strategi Investasi IT Tahun: 2009.
DECISION MODELS. Decision models The types of decision models: – Decision making under certainty The future state of nature is assumed known. – Decision.
Chap 18-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter 18 Introduction to Decision Analysis.
QUANTITATIVE TECHNIQUES
Decisions Under Risk and Uncertainty
Slides 8a: Introduction
Chapter 5: Decision-making Concepts
Chapter 19 Decision Making
Operations Management
Dealing With Uncertainties
MNG221- Management Science –
Dealing With Uncertainties
Decision Analysis.
Dealing With Uncertainties
Chapter 17 Decision Making
Dealing With Uncertainties
Dealing With Uncertainties
Applied Statistical and Optimization Models
Presentation transcript:

Fundamentals of Software Engineering Economics (IV) 1 LiGuo Huang Computer Science and Engineering Southern Methodist University Software Engineering Economics Dealing with Uncertainties (Chapters 19-20)

Dealing With Uncertainties TPS Example: Uncertain outcome Decision rules for complete uncertainty Utility functions Expected value of perfect information Statistical decision theory The value-of-information procedure 2

TPS Decision Problem 7 OS Development Options: Option B-Conservative (BC) –Sure to work (cost=$600K) –Performance = 4000 tr/sec Option B-Bold (BB) –If successful,Cost=$600K Perf.= 4667 tr/sec –If not,Cost=$100K Perf.= 4000 tr/sec Which option should we choose? 3

Operating System Development Options Option BB (Bold) SuccessfulNot Successful Option BC (Conservative) Option A Performance (tr/sec) Value ($0.3K per tr/sec) Basic cost Total cost Net value NV NV relative to Option A

Decision-making under Complete Uncertainty The outcome or payoff depends on which of several states of nature may hold. Given any state of nature, the payoff for each alternative is known. The probability that any given state of nature holds is unknown. 5

Payoff Matrix for OS Options BB, BC State of Nature AlternativeFavorableUnfavorable BB (Bold) BC (Conservative)50 6

Decision Rules for Complete Uncertainty (1) Maximin Rule. Determine minimum payoff for each option. Choose option maximizing the minimum payoff. (Most Pessimistic) 7 AlternativeFavorableUnfavorable BB1,000, BC50

Decision Rules for Complete Uncertainty (2) Maximax Rule. Determine max-payoff for each option. Choose option maximizing max-payoff. (Most optimistic) 8 AlternativeFavorableUnfavorable BB51-1,000,000 BC50

Decision Rules for Complete Uncertainty (3) Laplace Rule. Assume all states of nature equally likely. Choose option with maximum expected value. BB = 0.5(250) + 0.5(-50) = 100 BC = 0.5(50) + 0.5(50) = 50 9

Difficulty with Laplace Rule FavorableU1U1 U2U2 Expected Value BB BC50 U 1 : performance failure U 2 : reliability failure 10

Breakeven Analysis Treat uncertainty as a parameter P= Prob (Nature is favorable) Compute expected values as f(P) EV (BB) = P(250) + (1-P)(-50) = P EV (BC) = P(50) + (1-P)(50) = 50 Determine breakeven point P such that EV (BB) = EV (BC): P = 50, P=0.333 If we feel that actually P>0.333, Choose BB P<0.333, Choose BC 11

Utility Functions Is a Guaranteed $50K The same as A 1/3 chance for $250K and A 2/3 chance for -$50K? 12

Utility Function for Two Groups of Managers Utility Payoff ($M) Group 1 Group 2 13

Possible TPS Utility Function (-80,-25) (-50,-20) (50,5) (100,10) (170,15) (250,20) 14 Utility Payoff ($M)

Utility Functions in S/W Engineering Managers prefer loss-aversion –EV-approach unrealistic with losses Managers’ U.F.’S linear for positive payoffs –Can use EV-approach then People’s U.F.’S aren’t –Identical –Easy to predict –Constant 15

TPS Decision Problem 8 Available decision rules inadequate Need better information Info. has economic value Alternative State of Nature FavorableUnfavorable BB (Bold) BC (Conservative)50 16

Expected Value of Perfect Information (EVPI) Build a Prototype for $10K –If prototype succeeds, choose BB Payoff: $250K – 10K = $240K –If prototype fails, choose BC Payoff: $50K – 10K = $40K If equally likely, EV = 0.5 ($240K) ($40K) = $140K Could invest up to $50K and do better than before –thus, EVPI = $50K 17

However, Prototype Will Give Imperfect Information That is, P(IB|SF) = 0.0 Investigation (Prototype) says choose bold state of nature: Bold will fail P(IB|SS) = 1.0 Investigation (prototype) says choose bold state of nature: bold will succeed 18

Suppose we assess the prototype’s imperfections as P(IB|SF) = 0.20,P(IB|SS) = 0.90 And Suppose the states of nature are equally likely P(SF) = 0.50P(SS) = 0.50 We would like to compute the expected value of using the prototype EV(IB,IC) = P(IB) (Payoff if use bold) +P(IC) (Payoff if use conservative) = P(IB) [ P(SS|IB) ($250K) + P(SF|IB) (-$50K) ] + P(IC) ($50K) But these aren’t the probabilities we know 19

How to get the probabilities we need P(IB) = P(IB|SS) P(SS) + P(IB|SF) P(SF) P(IC) = 1 – P(IB) P(SS|IB) = P(IB|SS) P(SS)(Bayes’ formula) P(IB) P(SF|IB) = 1 – P (SS|IB) P(SS|IB) = Prob (we will choose Bold in a state of nature where it will succeed) Prob (we will choose Bold) 20

Net Expected Value of Prototype PROTO COST, $K P (IB|SF)P (IB|SS)EV, $KNET EV, $K NET EV, $K PROTO COST, $K 21

Discussion: Expected Value of Perfect Information (EVPI) (1) Given a choice between m alternatives: A 1, A 2, …, A m n possible states of nature: S 1, S 2, …, S n probability of occurrence P(S 1 ), P(S 2 ), …, P(S n ) payoff value of choosing A i in state of nature S j 22 S1S1 S2S2 … SnSn A1A1 V 11 V 12 …V 1n A2A2 V 21 V 22 …V 2n AmAm V m1 V m2 …V mn

Discussion: Expected Value of Perfect Information (EVPI) (2) Use subjective probability approach to compute the expected value of choosing each alternative A i If we have no information, pick the alternative providing the maximum expected value If we have perfect information on which state of nature will occur, 23

Discussion: Expected Value of Perfect Information (EVPI) (3) The expected value of acquiring the perfect information (EVPI) : 24 Example

Discussion: Expected Value of Imperfect Information 25, for j = 1, …, n Bayes’s formula:

Value-of-Information Procedure 1.Formulate a set of alternative IS development approaches A 1, A 2, …, A m 2.Determine the states of nature S 1, S 2, …, S n 3.Determine the values V ij in the payoff matrix 4.Determine the probability P(S j ) 5.Compute (EV) no info, (EV) perfect info, and EVPI 6.If EVPI is negligible, choose the approach A i which provides the best (EV) no info 7.If EVPI is not negligible, it provides a rough upper bound for the investigation effort. 8.For each type of investigation, estimate P(IA i |S j ) 9.Compute the expected value of information provided by investigation K, EV(I k ) 10.Compute the net value of each investigation NV(I k )= EV(I k )-C k 26

Value-of-Information Procedure (Cont.) Considering choosing a preferred investigation approach: The relative net values of investigations Whether or not any of the net values are positive Whether the results of the investigation will be available in time The relative magnitude of side benefits of the investigations 27

Using Value-of-Information Procedure in Software Engineering 1.How much should we invest in feasibility studies before committing to a particular concept for development? 2.How much should we invest in COTS product analysis? 3.How much should we invest in risk analysis? 4.How much should we invest in V&V? 28 How much should we invest in further information gathering and analysis investigations before committing ourselves to a Course of action?

Conditions for Successful Prototyping (or Other Info-Buying) 1.There exist alternatives whose payoffs vary greatly depending on some states of nature. 2.The critical states of nature have an appreciable probability of occurring. 3.The prototype has a high probability of accurately identifying the critical states of nature. 4.The required cost and schedule of the prototype does not overly curtail its net value. 5.There exist significant side benefits derived from building the prototype. 29

Pitfalls Associated by Success Conditions 1.Always build a prototype or simulation –May not satisfy conditions 3,4 2.Always build the software twice –May not satisfy conditions 1,2 3.Build the software purely top-down –May not satisfy conditions 1,2 4.Prove every piece of code correct –May not satisfy conditions 1,2,4 5.Nominal-case testing is sufficient –May need off-nominal testing to satisfy conditions 1,2,3 30

Statistical Decision Theory: Other S/W Engineering Applications How much should we invest in: –User information gathering –Make-or-buy information –Simulation –Testing –Program verification How much should our customers invest in: –MIS, query systems, traffic models, CAD, automatic test equipment, … 31

The Software Engineering Field Exists Because Processed Information Has Value 32