Monte Carlo Simulation This presentation uses some materials from: “Natalia A. Humphreys Presentation from University of Texas at Dallas.

Slides:



Advertisements
Similar presentations
Monte Carlo Simulation
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.
Intro to Simulation (using Excel) DSC340 Mike Pangburn.
Capital Budgeting. Cash Investment opportunity (real asset) FirmShareholder Investment opportunities (financial assets) InvestPay dividend to shareholders.
Monte Carlo Simulation A technique that helps modelers examine the consequences of continuous risk Most risks in real world generate hundreds of possible.
Tutorial 10: Performing What-If Analyses
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.
Outline/Coverage Terms for reference Introduction
Sensitivity and Scenario Analysis
Spreadsheet Demonstration New Car Simulation. 2 New car simulation Basic problem  To simulate the profitability of a new model car over a several-year.
Probability Distributions and Stochastic Budgeting AEC 851 – Agribusiness Operations Management Spring, 2006.
Decision and Risk Analysis Financial Modelling & Risk Analysis II Kiriakos Vlahos Spring 2000.
Engineering Economic Analysis Canadian Edition
Spreadsheet Simulation
Spreadsheet Demonstration
1 SIMULATION – PART I Introduction to Simulation and Its Application to Yield Management For this portion of the session, the learning objectives are:
Building and Running a FTIM n 1. Define the system of interest. Identify the DVs, IRVs, DRVs, and Objective. n 2. Develop an objective function of these.
Example 11.1 Simulation with Built-In Excel Tools.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Simulation.
Fundamentals of Corporate Finance, 2/e ROBERT PARRINO, PH.D. DAVID S. KIDWELL, PH.D. THOMAS W. BATES, PH.D.
Operations Management
Spreadsheet-Based Decision Support Systems
Chapter 9: Simulation Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Example 12.6 A Financial Planning Model | 12.2 | 12.3 | 12.4 | 12.5 | 12.7 |12.8 | 12.9 | | | | | | |
Value at Risk.
Example 16.1 Ordering calendars at Walton Bookstore
Marko Tainio, marko.tainio[at]thl.fi Modeling and Monte Carlo simulation Marko Tainio Decision analysis and Risk Management course in Kuopio
Introduction to Management Science
5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete Probability Distributions.
Chapter © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or.
Chapter 14 Simulation. What Is Simulation? Simulation is to mimic a process by using computers.
Monte Carlo Simulation and Personal Finance Jacob Foley.
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.
LECTURE 22 VAR 1. Methods of calculating VAR (Cont.) Correlation method is conceptually simple and easy to apply; it only requires the mean returns and.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Module Fall 2005 Session One Alex Fadeev - Link for this PPT:
1 Chapter 4 Planning Models Operations Analysis Using MS Excel.
Decision Making Under Uncertainty and Risk 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
Engineering Economic Analysis Canadian Edition
1 Chapter 7 Applying Simulation to Decision Problems.
Example 2.3 An Ordering Decision with Quantity Discounts.
© 2003 The McGraw-Hill Companies, Inc. All rights reserved. Project Analysis and Evaluation Chapter Eleven.
Crystal Ball: Risk Analysis  Risk analysis uses analytical decision models or Monte Carlo simulation models based on the probability distributions to.
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.
Risk and Capital Budgeting 13 Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2006 Session Two Alex Fadeev - Link for this PPT:
Chapter McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Risk and Capital Budgeting 13.
1 Managing Flow Variability: Safety Inventory Operations Management Session 23: Newsvendor Model.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2009 Session Two Michel-Alexandre Cardin – Prof. Richard.
FIN 614: Financial Management Larry Schrenk, Instructor.
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.
12/4/2015 Vijit Mittal (NBS, Gr. Noida) 1 Monte Carlo Simulation,Real Options and Decision Tree.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
Inference: Probabilities and Distributions Feb , 2012.
. © 2003 The McGraw-Hill Companies, Inc. All rights reserved. Project Analysis and Evaluation Chapter Ten.
Monte Carlo Simulation Natalia A. Humphreys April 6, 2012 University of Texas at Dallas.
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.
Simulation Chapter 16 of Quantitative Methods for Business, by Anderson, Sweeney and Williams Read sections 16.1, 16.2, 16.3, 16.4, and Appendix 16.1.
Approaches to quantifying uncertainty-related risk There are three approaches to dealing with financial and economic risk in benefit-cost analysis: = expected.
Supplementary Chapter B Optimization Models with Uncertainty
Computer Simulation Henry C. Co Technology and Operations Management,
Monte Carlo Simulation
OPERATIONS MANAGEMENT: Creating Value Along the Supply Chain,
Introduction to Crystal Ball (Part I)
Presentation transcript:

Monte Carlo Simulation This presentation uses some materials from: “Natalia A. Humphreys Presentation from University of Texas at Dallas

Aknowledgement Wayne L. Winston, “Microsoft Excel Data Analysis and Business Modeling”, 2004

Overview  Part I – Questions answered with the help of MCS  History  Typical simulations  Part II: Simulation examples  Part III: Advantages of MCS over deterministic analysis

Challenges We are constantly faced with uncertainty, ambiguity, and variability. Risk analysis is part of every decision we make. We’d like to accurately predict (estimate) the probabilities of uncertain events. Monte Carlo simulation enables us to model situations that present uncertainty and play them out thousands of times on a computer.

Questions answered with the help of MCS How should a greeting card company determine how many cards to produce? How should a car dealership determine how many cars to order? What is the probability that a new product’s cash flows will have a positive net present value (NPV)? What is the riskiness of an investment portfolio?

Modeling with MCS Monte Carlo Simulation (MCS) lets you see all the possible outcomes of your decisions and assess the impact of risk, allowing for better decision making under uncertainty.

MCS: Where did the Name Come From? During the 1930s and 1940s, many computer simulations were performed to estimate the probability that the chain reaction needed for the atom bomb would work successfully. The Monte Carlo method was coined then by the physicists John von Neumann, Stanislaw Ulam and Nicholas Metropolis, while they were working on this and other nuclear weapon projects (Manhattan Project) in the Los Alamos National Laboratory. It was named in homage to the Monte Carlo Casino, a famous casino in the Monaco resort Monte Carlo where Ulam's uncle would often gamble away his money.

MCS Applications Physical Sciences Engineering Computational Biology Applied Statistics Games Design and visuals Finance and business (Actuarial Science) Telecommunications Mathematics

Part II We’ll now discuss how Monte Carlo simulation works by looking at a few simulation examples

=RAND() function When you enter the formula =RAND() in a cell, you get a number that is equally likely to assume any value between 0 and 1. Get a number less than or equal to 0.25 around 25% of the time Get a number that is at least 0.9 around 10% of the time

Example 1: Discrete Random Variable Simulation Demand for a calendar is governed by the following discrete r.v.: DEMANDPROBABILITY 10, , , ,000.25

Discrete r.v. Simulation(cont.) How can we have Excel play out, or simulate, this demand for calendars many times? We associate each possible value of the RAND function with a possible demand for calendars.

Discr r.v. Sim (cont.) The following assignment ensures that a demand of 10,000 will occur 10 percent of the time, and so on. DEMANDRANDOM NUMBER ASSIGNED 10,000Less than ,000Greater than or equal to 0.10 and less than ,000Greater than or equal to 0.45 and less than ,000Greater than or equal to 0.75

Discr r.v. Sim (cont.)  Creating the following cutoff table, we then use it to look up the values “assigned” to each random number: CUTOFFDEMAND 010, , , ,000 TRIALRANDSIM DEMAND , , , ,000

Example 2: Normal Random Variable Simulation Suppose we want to simulate 400 trials or iterations for a normal r.v. with a mean μ=40,000 and standard deviation σ=10,000 What is a normal random variable? – Let us first define the standard normal random variable.

Standard Normal Random Variable  Its distribution has a form of a “bell” curve around the zero.  Standard Normal Distribution Table is a table that shows probability that a standard normal random variable Z is less than a number z: Φ(z)=Pr(Z<z)  A standard normal r.v. Z is a r.v. with μ=0 and σ=1

Connection between any Normal r.v. and a Standard Normal r.v. If Z is N(0, 1) and is Y is N(μ, σ^2), then Y=σZ+μ

Normal Random Variable Simulation Suppose we want to simulate 400 trials or iterations for a normal r.v. with a mean μ=40,000 and standard deviation σ=10,000 The formula NORMINV(RAND(), μ, σ) will generate a simulated value of a normal r.v. having a mean μand standard deviation σ.

Normal r.v. Sim (cont.) 33, = NORMINV( , 40,000, 10,000)  This value could also be looked up using the Standard Normal Distribution table. TRIALRANDNORMAL RV , , , ,204.76

Example 3: How Many Cards to Produce? Suppose the demand for a Valentine’s Day card is governed by the following discrete r.v.: DEMANDPROBABILITY 10, , , ,000.25

Cards to Produce? (cont.) The greeting card sells for $4.00 The variable cost of producing each card is $1.50 Leftover cards will be disposed at $0.20 per card How many cards should be printed to get the highest profit?

Cards to Produce? (cont.) We simulate each possible production quantity (10,000, 20,000, 40,000 or 60000) many times (e.g. 1,000 iterations) Then we determine which order quantity yields the maximum average profit over the 1,000 iterations

Cards to Produce? (cont.) 1produced 10,000 2rand demandcard 20,000 4unit prod cost $1.50 5unit price $4.00 6unit disp cost $0.20 7revenue $40, total var cost $15, total disposing cost $- 10profit $25,000.00

Cards to Produce? (cont.) Our sales and cost parameters are in 4, 5, and 6 Enter a trial production quantity in 1 Create a random number in 2 with =RAND() Simulate demand for the card in 3 with VLOOKUP(rand, lookup, 2) The number of unites sold is MIN (Production Quantity, Demand)

Cards to Produce? (cont.) Revenue in 7: MIN (Produced, Demand)*unit price Total production cost in 8: produced*unit production cost If we produce more cards than are demanded, the number of units left over equals production minus demand

Cards to Produce? (cont.) Disposal cost in 9: unit disposal cost*MAX(produced- demand, 0)  Total profit in 10: Revenue – total var cost – total disposing cost

Cards to Produce? (cont.) We would like an efficient way to calculate profit for each production quantity We’ll use a two-way data table mean (ave profit) 24,985 45,984 57,311 44,218 st dev (risk) - 12, , , ,000 10,000 20,000 40,000 60,

Cards to Produce? (cont.) Enter on the left corresponding to our 1,000 trials Enter possible production quantities (third row) We want to calculate profit for each trial number and each production quantity Refer to the formula for profit in the upper left cell of our data table by entering =B11 We are now ready to trick Excel into simulating 1,000 iterations of demand for each production quantity.

Cards to Produce? (cont.) Select the table range and then click Table on the Data menu. Click on any blank cell (e.g. I14) as the column input cell and choose production quantity (cell B1) as the row input cell. We calculate the average simulated profit for each production quantity We calculate the standard deviation of simulated profits for each production quantity

Cards to Produce? Conclusion  Producing 40,000 cards always yields the largest expected profit  However, it also appear to have a large standard deviation (risk)

The Impact of Risk in Our Decision  Producing 20,000 cards instead of 40,000, the expected profits drop by about 22%, but the risk drops almost 73%.  Therefore, if we are extremely risk averse, producing 20,000 cards might be the right decision.  Note that producing 10,000 cards always has a std.dev. of zero cards because if we produce 10,000 cards we will always sell all of them and have none left over.

Confidence Interval for Mean Profit  Into what interval are we 95% sure the true mean will fall?  This interval is called the 95% confidence interval for mean profit.  It’s computed by the following formula: Mean Profit ±(1.96*profit std.dev.)/√(number iterations)  In our example: (53, , )

Advantages of MCS MCS provides a number of advantages over deterministic, or “single-point estimate” analysis:  Probabilistic Results  Graphical Results  Sensitivity Analysis  Scenario Analysis  Correlation of Inputs

Problems 1A GMC dealer believes that demand for 2005 Envoys will normally be distributed with a mean of 200 and standard deviation of 30. His cost of receiving an Envoy is $25,000, and he sells an Envoy for $40,000. Half of all leftover Envoys can be sold for $30,000. His is considering ordering 200, 220, 240, 260, 280, and 300 Envoys. How many should he order?

Problems (cont.) 2A small supermarket is trying to determine how many copies of Newsweek magazine they should order each week. They believe their demand for Newsweek is governed by the following discrete random variable DEMANDPROBABILITY

Problems (cont.) 2The supermarket pays $1.00 for each copy of Newsweek and sells each copy for $1.95. They can return each unsold copy of Newsweek for $0.50. How many copies of Newsweek should the store order to maximize its profit?

Part III: Advantages of MCS In conclusion, we’ll discuss some advantages of MCS over deterministic, or “single-point estimate” analysis.

Probabilistic Results Results show not only what could happen, but how likely each outcome is.

Graphical Results Because of the data a Monte Carlo simulation generates, it’s easy to create graphs of different outcomes and their chances of occurrence. This is important for communicating findings to other stakeholders.

Sensitivity Analysis With just a few cases, deterministic analysis makes it difficult to see which variables impact the outcome the most. In Monte Carlo simulation, it’s easy to see which inputs had the biggest effect on bottom-line results.

Scenario Analysis In deterministic models, it’s very difficult to model different combinations of values for different inputs to see the effects of truly different scenarios. Using Monte Carlo simulation, analysts can see exactly which inputs had which values together when certain outcomes occurred. This is invaluable for pursuing further analysis.

Correlation of Inputs In Monte Carlo simulation, it’s possible to model interdependent relationships between input variables. It’s important for accuracy to represent how, in reality, when some factors go up, others go up or down accordingly.

References Wayne L. Winston, “Microsoft Excel Data Analysis and Business Modeling”, us/excel-help/introduction-to-monte- carlo-simulation-HA aspx Monte Carlo Simulation arlo_simulation.asp