ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Module Fall 2005 Session One Alex Fadeev - Link for this PPT:

Slides:



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

CS1100: Computer Science and Its Applications Building Flexible Models in Microsoft Excel.
E ngineering College of San Jose State University Engr.10 1 JKA & KY.
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.
STROUD Worked examples and exercises are in the text PROGRAMME F4 GRAPHS.
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.
Excel Charts – Basic Skills Creating Charts in Excel.
Statistical Analysis with Excel
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.
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.
A Simple Guide to Using SPSS© for Windows
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.
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.
Introduction to Excel 2007 Bar Graphs & Histograms Psych 209 February 1st, 2011.
Excel For MATH 125 Computing Statistics. Useful link Surfstat: (an online text in introductory Statistics)
EXCEL ADVANCED 1. Mathematical Operators for Excel < > = >=
ESD.70J Engineering Economy Module - Session 31 ESD.70J Engineering Economy Fall 2006 Session Three Alex Fadeev - Link for this PPT:
Chapter 9: Simulation Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Computer Literacy BASICS
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010: Chapter1.
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:
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
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.
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.
AP/H SCIENCE SKILLS: EXCEL & SIG FIG Suggested summer work for incoming students.
ESD.70J Engineering Economy Module - Session 31 ESD.70J Engineering Economy Fall 2008 Session Three Michel-Alexandre Cardin – Prof. Richard.
a Glance Henry C. Co Technology and Operations Management, California Polytechnic and State University.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
CS1100: Computer Science and Its Applications Creating Graphs and Charts in Excel Martin Schedlbauer, Ph.D.
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 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.
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 Module Fall 2005 Session One Alex Fadeev - Link for this PPT:
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:
CS1100: Computer Science and Its Applications Building Flexible Models in Microsoft Excel Martin Schedlbauer, Ph.D.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2009 Session Two Michel-Alexandre Cardin – Prof. Richard.
June 21, Objectives  Enable the Data Analysis Add-In  Quickly calculate descriptive statistics using the Data Analysis Add-In  Create a histogram.
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.
Mr. Magdi Morsi Statistician Department of Research and Studies, MOH
PERFORMING CALCULATIONS Microsoft Excel. Excel Formulas A formula is a set of mathematical instructions that can be used in Excel to perform calculations.
How To Use Google Spreadsheet. 1. Create a GMail account if you do not already have one To create a GMail account: 1. Go to mail.google.commail.google.com.
Spreadsheets What is Excel?. Objectives 1. Identify the parts of the Excel Screen 2. Identify the functions of a spreadsheet 3. Identify how spreadsheets.
Risk Analysis Simulate a scenario of possible input values that could occur and observe key financial impacts Pick many different input scenarios according.
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 31 ESD.70J Engineering Economy Module Fall 2005 Session Three Alex Fadeev - Link for this.
1) the value you want to look up Vlookups are really easy......just remember you need 4 things: 2) The table range you want to look up to 3) The column.
AP/H SCIENCE SKILLS: SPREADSHEETS & SIG FIG Suggested summer work for incoming students.
How make a scatter graph using Microsoft Excel. Once Excel is Opened: Input the values from the table into Excel. –Don’t forget the labels. It should.
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.
Pivot Table Working with Excel (2010). What can we do with a pivot table ?  Creating a pivot table  Connection between variables  Calculate data (sum,
CTS130 Spreadsheet Lesson 6 Working with Math & Trig, Statistical, and Date & Time Functions.
Using Excel to Construct Basic Tools for Understanding Variation
Monte Carlo Simulation
Microsoft Office Illustrated
Statistical Analysis with Excel
Statistical Analysis with Excel
ESD.70J Engineering Economy
ESD.70J Engineering Economy
ESD.70J Engineering Economy
Presentation transcript:

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 22 Session two – Simulation Objective: –Generate random numbers –Set up simulation by Data Table –Generate statistics for simulation –Draw histogram and cumulative distribution function (CDF)

ESD.70J Engineering Economy Module - Session 23 Questions for “Big vs. small” From the base case spreadsheet, we’ve calculated NPV’s. However, we assumed deterministic demand forecasts for years 1, 2 and 3. It is an over- simplifying assumption since actual demand will vary. We need to evaluate the range of NPV outcomes, their Min, Max, distributions and the expected NPV values!

ESD.70J Engineering Economy Module - Session 24 Outline Set up random number generator How does Monte Carlo simulation work Set up simulation by Data Table Get descriptive statistics from the simulation Draw cumulative distribution function (CDF)

ESD.70J Engineering Economy Module - Session 25 Excel’s RAND() f’n Returns an evenly distributed random number greater than or equal to 0 and less than 1 To generate a random real number between a and b, use: =RAND()*(b-a)+a Formula in cell C3: “=Entries!C9*((1- Entries!C25)+2*Entries!C25*RAND())” Returns an evenly distributed random demand for year 1 around 300, but may differ by plus or minus 50%. [or just: “ =Entries!C9*(RAND()+(1-Entries!C25))” ] The Same logic for cell C4 and C5

ESD.70J Engineering Economy Module - Session 26 Random number generator Follow the instructions, step by step 1.Click “Worksheet” under “Insert” to add a new sheet, name it “Rand” 2.Type in “Year” in cell B2, “Random demand” in cell B3, type “1”, “2”, “3” in cell C2, D2, E2 respectively 3.Type “=Entries!C9*((1- Entries!C25)+2*Entries!C25*RAND())” in cell C3 4.Type “=Entries!C10*((1- Entries!C25)+2*Entries!C25*RAND())” in cell D3 5.Type “=Entries!C11*((1- Entries!C25)+2*Entries!C25*RAND())” in cell E3 Link for Excel:

ESD.70J Engineering Economy Module - Session 27 6.Click “Chart” under “Insert” menu 7.“Standard types” 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

ESD.70J Engineering Economy Module - Session 28 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

ESD.70J Engineering Economy Module - Session 29 Monte Carlo Simulation (Cont)

ESD.70J Engineering Economy Module - Session 210 Set up simulation by Data Table Follow the instructions, step by step: 1.Link demand in sheet for Plan A to the random demand generated, specifically, Plan A!E5 = Rand!C3; Plan A!G5 = Rand!D3; Plan A!I5 = Rand!E5 2.Click “Worksheet” under “Insert” menu to add a new sheet, and name the new sheet “Simulation” 3.In “Simulation” sheet, Type “NPVA” in cell A1, type “=Plan A!C16” in cell B1 (“Plan A!C16” is the output of result for NPV A ) 4.Select “A1:B2001”, click “Table” under “Data” menu, in “column input cell” put “A2002”, leave “row input cell” blank

ESD.70J Engineering Economy Module - Session 211 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 (for example A2:B2) calls rand() and generates an NPV A projection We have 2000 rows in the Data Table, so we have simulated 2000 times Click “F9” to try another simulation run

ESD.70J Engineering Economy Module - Session 212 Check this again

ESD.70J Engineering Economy Module - Session 213 Get descriptive statistics for the simulation results We want to get the mean (median will be the same), maximum, and minimum value for the simulated results of 2000 NPV A Follow the following instructions, step by step: 1.In “Simulation” sheet, type “Mean” in cell D1, “Maximum” in cell D2, “Minimum” in Cell D3 2.Cell E1 type in “=AVERAGE(B2:B2001)”, Cell E2 type in “=MAX(B2:B2001)”, cell E3 type in “=MIN(B2:B2001)”

ESD.70J Engineering Economy Module - Session 214 Comparison of deterministic and dynamic results From the base case spreadsheet, we learn NPV A is $162.1 million What is your result for the expected NPV A when considering demand uncertainty? Jensen’s inequality:

ESD.70J Engineering Economy Module - Session 215 Draw cumulative distribution function (CDF) Follow the instructions, step by step: 1.In sheet “Simulation”, type “Bound” in E6, “Count” in F6, and “CDF” in G6 2.Type in “0, 1, 2, …, 20” in cell D7 to D27 3.Set Cell E7 “=$E$3+D7*($E$2-$E$3)/20”, and drag the formula down to E27 4.Set Cell F7 “=COUNTIF($B$2:$B$2001,"<"&TEXT(E7,“# "))”, and drag the formula down to F27 5.Set Cell G7 “=F7/2000”, and drag down to cell G27

ESD.70J Engineering Economy Module - Session Click “Chart” under “Insert” menu 7.“Standard types” select “XY(Scatter)”, “Chart sub- type” select anyone with lines, click “Next” 8.“Data range” select “= Simulation!$E$7:$E$27, Simulation!$G$7:$G$27”, click Next 9.“Chart options” select whatever pleases you, click “Next” 10.Choose “As object in” and click “Finish” 11.In the chart, double click Value (x) axis, “Format axis” window popped out, go to “scale” menu, change “Value (Y) axis crosses at” into “-400” 12.Click “F9”, see the CDF moves Now you get the CDF for the simulation

ESD.70J Engineering Economy Module - Session 217 Explanation We set up 20 equal-width intervals to study how many data points sitting in each interval “countif” function counts the number of cells within a range that meet the given criteria. “text” function converts a value to text in a specific number in a specific format –#: format code for displaying only significant digits and does not display insignificant zeros –0: format code for displaying insignificant zeros if a number has fewer digits than there are zeros in the format.

ESD.70J Engineering Economy Module - Session 218 Explanation (Cont) “Text” function used here to circumvent some stubborn Excel idiosyncrasy that makes “countif” not working –See if it works if you type in “=COUNTIF($B$2:$B$2001,<E7) Each point on the CDF curve calculated by fraction of the 2000 simulation results that is smaller than a certain bound More refined CDF plots and histograms can be found at

ESD.70J Engineering Economy Module - Session 219 Summary Random number generation in Excel Using Data Table for simulation At least two ways to run Monte Carlo simulations in Excel

ESD.70J Engineering Economy Module - Session 220 Next class… Today’s session modeled demand uncertainty based on an evenly distributed random variable This is not a particularly realistic model, though it is simple and sufficient for today’s purposes. Next session we’ll explore alternative random # distributions.