ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2010 Session Two Xin Zhang – Prof. Richard de Neufville.

Slides:



Advertisements
Similar presentations
(MICROSOFT EXCEL). Is a spreadsheet application designed to take advantage of the windows graphical interface MICROSOFT EXCEL.
Advertisements

Chapter 18 If mathematical analysis is too difficult, we can try each possibility out on paper. That way we can find which alternative appears to work.
Slides 2c: Using Spreadsheets for Modeling - Excel Concepts (Updated 1/19/2005) There are several reasons for the popularity of spreadsheets: –Data are.
EART20170 Computing, Data Analysis & Communication skills Lecturer: Dr Paul Connolly (F18 – Sackville Building) 2. Computing.
Monte Carlo Simulation A technique that helps modelers examine the consequences of continuous risk Most risks in real world generate hundreds of possible.
Simulation Operations -- Prof. Juran.
Session 7a. Decision Models -- Prof. Juran2 Overview Monte Carlo Simulation –Basic concepts and history Excel Tricks –RAND(), IF, Boolean Crystal Ball.
Introduction to Excel 2007 Part 2: Bar Graphs and Histograms February 5, 2008.
Excel Charts – Basic Skills Creating Charts in Excel.
Outline/Coverage Terms for reference Introduction
Spreadsheet Demonstration New Car Simulation. 2 New car simulation Basic problem  To simulate the profitability of a new model car over a several-year.
Decision and Risk Analysis Financial Modelling & Risk Analysis II Kiriakos Vlahos Spring 2000.
Engineering Economic Analysis Canadian Edition
Spreadsheet Simulation
Spreadsheet Demonstration
MBA7020_07.ppt/July 11, 2005/Page 1 Georgia State University - Confidential MBA 7020 Business Analysis Foundations Simulation July 11, 2005.
1 Monte-Carlo Simulation Simulation with Spreadsheets.
Introduction to Simulation. What is simulation? A simulation is the imitation of the operation of a real-world system over time. It involves the generation.
Introduction to Spreadsheets Presented by Frank H. Osborne, Ph. D. © 2005 Bio 2900 Computer Applications in Biology.
Data Tutorial Tutorial on Types of Graphs Used for Data Analysis, Along with How to Enter Them in MS Excel Carryn Bellomo University of Nevada, Las Vegas.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
Introduction to Excel 2007 Bar Graphs & Histograms Psych 209 February 1st, 2011.
Introduction to Excel 2007 Part 1: Basics and Descriptive Statistics Psych 209.
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms Psych 209.
Simulation.
Value of Flexibility an introduction using a spreadsheet analysis of a multi-story parking garage Tao Wang and Richard de Neufville.
ESD.70J Engineering Economy Module - Session 31 ESD.70J Engineering Economy Fall 2006 Session Three Alex Fadeev - Link for this PPT:
Spreadsheet-Based Decision Support Systems
Chapter 9: Simulation Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Example 16.1 Ordering calendars at Walton Bookstore
ESD.70J Engineering Economy Module - Session 41 ESD.70J Engineering Economy Fall 2006 Session Four Alex Fadeev - Link for this PPT:
The AIE Monte Carlo Tool The AIE Monte Carlo tool is an Excel spreadsheet and a set of supporting macros. It is the main tool used in AIE analysis of a.
ESD.70J Engineering Economy Module - Session 31 ESD.70J Engineering Economy Fall 2008 Session Three Michel-Alexandre Cardin – Prof. Richard.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Module Fall 2005 Session One Alex Fadeev - Link for this PPT:
ESD.70J Engineering Economy Module - Session 41 ESD.70J Engineering Economy Fall 2010 Session Four Xin Zhang – Prof. Richard de Neufville.
ESD.70J Engineering Economy Module - Session 01 ESD.70J Engineering Economy Fall 2011 Session Zero Xin Zhang – Prof. Richard de Neufville.
DECISION MODELING WITH MICROSOFT EXCEL Chapter 9 Copyright 2001 Prentice Hall Publishers and Ardith E. Baker Monte Carlo Simulation Part 1.
ESD.70J Engineering Economy Module - Session 11 ESD.70J Engineering Economy Fall 2010 Session One Xin Zhang – Prof. Richard de Neufville.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
Contemporary Engineering Economics, 6 th edition Park Copyright © 2016 by Pearson Education, Inc. All Rights Reserved Risk Simulation Lecture No. 40 Chapter.
Crystal Ball: Risk Analysis  Risk analysis uses analytical decision models or Monte Carlo simulation models based on the probability distributions to.
DECISION MODELING WITH MICROSOFT EXCEL Chapter 9 Copyright 2001 Prentice Hall Publishers and Ardith E. Baker Monte Carlo Simulation Part 1.
Outline of Chapter 9: Using Simulation to Solve Decision Problems Real world decisions are often too complex to be analyzed effectively using influence.
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
ESD.70J Engineering Economy Module - Session 11 ESD.70J Engineering Economy Fall 2008 Session One Michel-Alexandre Cardin – Prof. Richard.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2006 Session Two Alex Fadeev - Link for this PPT:
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2009 Session Two Michel-Alexandre Cardin – Prof. Richard.
Simulation Using computers to simulate real- world observations.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
Simulation is the process of studying the behavior of a real system by using a model that replicates the system under different scenarios. A simulation.
Risk Analysis Simulate a scenario of possible input values that could occur and observe key impacts Pick many input scenarios according to their likelihood.
ESD.70J Engineering Economy Module - Session 01 ESD.70J Engineering Economy Fall 2009 Session Zero Michel-Alexandre Cardin – Prof. Richard.
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
1 BA 555 Practical Business Analysis Linear Programming (LP) Sensitivity Analysis Simulation Agenda.
Risk Analysis Simulate a scenario of possible input values that could occur and observe key financial impacts Pick many different input scenarios according.
Chap 2: Presenting Data in Tables & Charts Excel Tutorial.
ESD.70J Engineering Economy Module - Session 31 ESD.70J Engineering Economy Module Fall 2005 Session Three Alex Fadeev - Link for this.
ESD.70J Engineering Economy Module - Session 31 ESD.70J Engineering Economy Fall 2009 Session Three Michel-Alexandre Cardin – Prof. Richard.
Statistical Analysis with Excel. Learning Objectives Be able to use the Dial Caliper to measure Be able to use Microsoft Excel to –Calculate mean, median,
Probability and Statistics 12/11/2015. Statistics Review/ Excel: Objectives Be able to find the mean, median, mode and standard deviation for a set of.
Monte Carlo Simulation
SUB-ICT STD-10 Working with Data in Microsoft Excel
Microsoft Office Illustrated
Statistical Analysis Determining the Significance of Data
ESD.70J Engineering Economy
ESD.70J Engineering Economy
ESD.70J Engineering Economy
Introduction to Crystal Ball (Part I)
ESD.70J Engineering Economy
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
Presentation transcript:

ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2010 Session Two Xin Zhang – Prof. Richard de Neufville –

ESD.70J Engineering Economy Module - Session 22 Session two – Simulation Objectives: –Generate random numbers –Get familiar with Monte Carlo simulation –Set up simulation using Data Table –Generate statistics from simulation –Draw histogram and cumulative distribution function (CDF) Also called “target curve”

ESD.70J Engineering Economy Module - Session 23 Questions for “Big vs. Small” From the base case spreadsheet, we’ve calculated NPVs However, we assumed deterministic demand forecasts for years 1, 2, and 3. This assumption is over- simplifying since actual demand will vary  Since life in uncertain, we want to simulate a range of possible NPV outcomes, the Min, Max, distributions, and the E[NPV]!

ESD.70J Engineering Economy Module - Session 24 Set up random generator Open ESD70session2-1.xls

ESD.70J Engineering Economy Module - Session 25 Excel’s RAND() function Returns random number greater than or equal to 0 and less than 1, sampled from a uniform distribution To generate a random real number between a and b, use: =RAND()*(b-a)+a In tab “RAND”, the formula in cell C3: “=Entries!C9*((1- Entries!C25)+2*Entries!C25*RAND())” –Returns a uniformly distributed random demand for year 1 centered around 300, which may differ by plus or minus 50% Same logic applies for cell C4 and C5

ESD.70J Engineering Economy Module - Session 26 Random number generator Follow the instructions, step by step 1.Go to tab “RAND” 2.Type “=Entries!C9*((1- Entries!C25)+2*Entries!C25*RAND())” in cell C3 3.Type “=Entries!C10*((1- Entries!C25)+2*Entries!C25*RAND())” in cell D3 4.Type “=Entries!C11*((1- Entries!C25)+2*Entries!C25*RAND())” in cell E3 5.Press “F9” several times to see want happens

ESD.70J Engineering Economy Module - Session 27 6.Click “Chart” under “Insert” menu 7.“Chart Type” select “XY(Scatter)”, “Chart sub- type” select any one with lines, click “Next” 8.“Data Range” select B2:E3, click “Next” 9.“Chart options” select whatever pleases you, click “Next” 10.Choose “As object in” and click “Finish” 11.Press “F9” several times to see want happens We have built a random demand generator for the 3 years that assumes independent demand (0 correlation) from year to year Random number generator

ESD.70J Engineering Economy Module - Session 28 Give it a try! Check with your neighbors… Check the solution sheet… Ask me questions…

ESD.70J Engineering Economy Module - Session 29 How Monte Carlo Simulation works Calculate two NPV A s corresponding to the two random demand simulations Demand in Year 1 Demand in Year 2 Demand in Year 3 NPV A ? ? How about generating many sets of random demands, and get the corresponding NPV A s automatically?

ESD.70J Engineering Economy Module - Session 210 Monte Carlo Simulation Generate many sets of random demands for the three-year span Calculate corresponding NPVs Generate Distribution of NPVs Statistical Analysis

ESD.70J Engineering Economy Module - Session 211 Setup simulation by Data Table Follow these instructions, step by step: 1.Link demand in sheet for Plan A to the random demand generator, specifically, Plan A!E5 = Rand!C3; Plan A!G5 = Rand!D3; Plan A!I5 = Rand!E5 2.In “Simulation” sheet, type “=‘Plan A’!C16” in cell B8 (“=‘Plan A’!C16” is the output of result for NPV A ) 3.Create the Data Table. Select “A8:B2008”, click “Table” under “Data” menu, in “column input cell” put “A7”, leave “row input cell” blank. 4.Same thing already done for Plan B NOTE: there is no input in the value column of the Data Table; an empty cell is selected as the “column input cell”. Why?

ESD.70J Engineering Economy Module - Session 212 Explanation For the One-Way Data Table, there is no need to set up the input values in a list, since each row of the Data Table calls RAND() and generates an NPV A projection We have 2,000 rows in the Data Table, so we have simulated 2,000 times Click “command =” or “F9” to try another simulation run

ESD.70J Engineering Economy Module - Session 213 Give it a try! Check with your neighbors… Check the solution sheet… Ask me questions…

ESD.70J Engineering Economy Module - Session 214 Calculating descriptive statistics Useful to know E[NPV], maximum, and minimum values for the simulated results Follow step by step: 1.In Cell D1 type “=AVERAGE(B$9:B$2008)” 2.In Cell D2 type “=MAX(B$9:B$2008)” 3.In Cell D3 type “=MIN(B$9:B$2008)”

ESD.70J Engineering Economy Module - Session 215 Give it a try! Check with your neighbors… Check the solution sheet… Ask me questions…

ESD.70J Engineering Economy Module - Session 216 Deterministic vs. dynamic results From the base case spreadsheet, we learn NPV A = $162.1M and NPV B = $156.5M What is your result for the E[NPV A ] and E[NPV B ] when considering demand uncertainty? Jensen’s inequality and the Flaw of Averages:

ESD.70J Engineering Economy Module - Session 217 Target curve The target curve is another name for cumulative distribution function (CDF) In our case, a target curve aims at making a representation to managers that –“There is a probability X that NPV will be lower (higher) than a targeted Y dollars for this project” Value At Risk is a common language on Wall Street. It stresses downside risk, though we should also look at CDF for upside potential of a project, or Value At Gain!

ESD.70J Engineering Economy Module - Session 218 Target curve Follow the instructions, step by step: 1.In sheet “Simulation”, set Cell G7 “=$D$3+($D$2- $D$3)/20*F7”, and drag the formula down to G27 2.Set Cell H7 “=COUNTIF($B$9:$B$2008,"<="&G7)”, and drag the formula down to H27 3.Set Cell I7 “=H7/2000”, and drag down to cell I27 4.Same is already done for Plan B

ESD.70J Engineering Economy Module - Session Right-click the chart on the right, select “Source Data” 7.Select “Series”, and press “Add”. This adds a new data series to the graph. Call it “NPV A ” 8.Select the range =Simulation!$G$7:$G$27 for X values, and the range =Simulation!$I$7:$I$27 for Y values. Click “OK” 9.Right-click the curve and change “Weight” to 3 10.Hit “command =” or “F9” and watch the target curve move ! Target curve

ESD.70J Engineering Economy Module - Session 220 Explanation We set up 20 data buckets and count how many data points fall into each interval “=COUNTIF()” function counts the number of cells within a range that meet the criteria The Excel file demonstrates how you can: –Add E[NPV A ] and E[NPV B ] as vertical lines –Add histograms for two NPV distributions using the information created earlier Can also use the Histogram analysis tool in “Data Analysis” package, but it won’t refresh

ESD.70J Engineering Economy Module - Session 221 Values At Risk and Gain Use your cursor on the graph to find different Values At Risk and Values At Gain Alternatively, use the percentile function –In cell N5, type 10% –In cell R5, type “=PERCENTILE(B9:B2008,N5)” What does this tell you? That’s interesting information for managers and decision-makers!

ESD.70J Engineering Economy Module - Session 222 Question Why are high NPV values more cut off for Plan B on the target curve and histogram than for Plan A? –A matter of constraints…

ESD.70J Engineering Economy Module - Session 223 Give it a try! Check with your neighbors… Check the solution sheet… Ask me questions…

ESD.70J Engineering Economy Module - Session 224 Next class… Today’s session modeled demand uncertainty based on a uniformly distributed random variable This is not necessarily realistic, though it is simple and sufficient for today’s purposes Next session explores alternative probability distributions from which to sample and stochastic models STAY TUNED!