Notes on Monte Carlo Simulation University of Chicago Graduate School of Business Introduction to Computer Based Models Bus-36102-81 Mr. Schrage Spring.

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Advertisements

Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
Monte Carlo Simulation A technique that helps modelers examine the consequences of continuous risk Most risks in real world generate hundreds of possible.
6 - 1 Lecture 4 Analysis Using Spreadsheets. Five Categories of Spreadsheet Analysis Base-case analysis What-if analysis Breakeven analysis Optimization.
Chapter 10: Simulation Modeling
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
Decision and Risk Analysis Financial Modelling & Risk Analysis II Kiriakos Vlahos Spring 2000.
Simulation Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder, CO
Event-drive SimulationCS-2303, C-Term Project #3 – Event-driven Simulation CS-2303 System Programming Concepts (Slides include materials from The.
Module F: Simulation. Introduction What: Simulation Where: To duplicate the features, appearance, and characteristics of a real system Why: To estimate.
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION CHAPTER.
1 SIMULATION – PART I Introduction to Simulation and Its Application to Yield Management For this portion of the session, the learning objectives are:
1 Monte-Carlo Simulation Simulation with Spreadsheets.
Simulation.
14. Simulation and Factory Physics
Variance Reduction Techniques
CHAPTER 6 DISCOUNTING. CONVERTING FUTURE VALUE TO PRESENT VALUE Making decisions having significant future benefits or costs means looking at consequences.
SIMULATION. Simulation Definition of Simulation Simulation Methodology Proposing a New Experiment Considerations When Using Computer Models Types of Simulations.
1 1 Slide Chapter 6 Simulation n Advantages and Disadvantages of Using Simulation n Modeling n Random Variables and Pseudo-Random Numbers n Time Increments.
Monté Carlo Simulation MGS 3100 – Chapter 9. Simulation Defined A computer-based model used to run experiments on a real system.  Typically done on a.
Simulation.
Introduction to ModelingMonte Carlo Simulation Expensive Not always practical Time consuming Impossible for all situations Can be complex Cons Pros Experience.
Lecture 11 Implementation Issues – Part 2. Monte Carlo Simulation An alternative approach to valuing embedded options is simulation Underlying model “simulates”
Modeling and Simulation
Analysis of Simulation Results Andy Wang CIS Computer Systems Performance Analysis.
Spreadsheet-Based Decision Support Systems
Chapter 9: Simulation Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
6 - 1 Chapter 6: Analysis Using Spreadsheets The Art of Modeling with Spreadsheets S.G. Powell and K.R. Baker © John Wiley and Sons, Inc. PowerPoint Slides.
Simulation Examples ~ By Hand ~ Using Excel
 1  Outline  stages and topics in simulation  generation of random variates.
Exercises of computational methods in finance
Monte Carlo Simulation CWR 6536 Stochastic Subsurface Hydrology.
Simulation Prepared by Amani Salah AL-Saigaly Supervised by Dr. Sana’a Wafa Al-Sayegh University of Palestine.
F Simulation PowerPoint presentation to accompany Heizer and Render
1 Chapter 19 Monte Carlo Valuation. 2 Simulation of future stock prices and using these simulated prices to compute the discounted expected payoff of.
IE 429, Parisay, January 2010 What you need to know from Probability and Statistics: Experiment outcome: constant, random variable Random variable: discrete,
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.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 24 Simulation.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
Arena Simulation Language. Simulation with ArenaChapter 3 – A Guided Tour Through ArenaSlide 2 of 58 The Create Flowchart Module “Birth” node for entities.
Chapter 10 Verification and Validation of Simulation Models
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.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 19 Monte Carlo Valuation. Copyright © 2006 Pearson Addison-Wesley. All rights reserved Monte Carlo Valuation Simulation of future stock.
Chapter 10 Verification and Validation of Simulation Models Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
Network Protocol Simulation: A look at Discrete Event Simulation Grant D. Lanterman 5/21/2004.
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.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
6 - 1 Chapter 6: Analysis Using Spreadsheets PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Chapter 19 Monte Carlo Valuation. © 2013 Pearson Education, Inc., publishing as Prentice Hall. All rights reserved.19-2 Monte Carlo Valuation Simulation.
Variance reduction techniques Mat Simulation
Chapter 4 PowerPoint Spreadsheet Analysis.
Computer Simulation Henry C. Co Technology and Operations Management,
Chapter 19 Monte Carlo Valuation.
Prepared by Lloyd R. Jaisingh
Monte Carlo Simulation
Analysis Using Spreadsheets
ETM 607 – Spreadsheet Simulations
Chapter 10 Verification and Validation of Simulation Models
Simulation Modeling.
Lecture 2 – Monte Carlo method in finance
Monte Carlo Valuation Bahattin Buyuksahin, Celso Brunetti 12/8/2018.
MECH 3550 : Simulation & Visualization
Presentation transcript:

Notes on Monte Carlo Simulation University of Chicago Graduate School of Business Introduction to Computer Based Models Bus Mr. Schrage Spring 2003

(Monte Carlo) Simulation Basic Idea: Operation of a system, including random elements, can be described/modeled by a computer program. Advantages: Can experiment with the simulator much cheaper than with the real system(usually). Can represent arbitrary detail. Disadvantages: Usually too complex to apply optimization such as LP. Can ask only “What If”, rather than “What’s Best”.

Example Applications Boulder 10K Race Telephone call centers Coal loading facility Asian financial options Exxon tanker fleet: Scheduling, sizing, NYFD: Response policies, location, redeployment, staffing Burger King restaurants: Multiple drive-up windows, no. of cashiers IBM inventory simulator GM Production lines American Airlines Reservation System Proposed computer design Military

Useful Ideas/Avoiding Pitfalls a) How to compare two policies the good way. b) How to generate random variables the good way c) When can a random variable be replaced by its expectation.

Types of Simulators Transaction processing/trackers e.g., Extend, Witness Replicators, Crystal Ball System Dynamics/Differential Equation e.g., Extend Animation Can work with output log from any of above.

Quick Introduction to the Extend Simulation Program The Extend simulation program allows you to: run one replication of a many period Extend(nonspreadsheet) model. This is in contrast to spreadsheet program that allows: run many replications of a single period spreadsheet model. Extend is a very powerful and general purpose simulation program. A slightly simplified description of its capabilities is that it allows to simulate a system in which various entities move through a series of processing steps or blocks, subject to various kinds of random influences. You build an Extend simulation by 1) selecting blocks or processes from a library of blocks, 2) specifying parameters for each block, e.g. the distribution and its mean and standard deviation, and 3) hooking up the blocks to specify how entities flow among blocks.

Bank Teller Simulation in Extend

The first/customer block generates an arrival stream of customers according to some arrival process that you specify. The "waiting line" block simply records how long each customer is in the waiting queue. The teller blocks delay each customer for some random length of time. As with the first block, you can specify the distribution of this delay. The final block simply removes completed customers from the system. Extend cont.

What kind of questions can you answer with a simulation such as this? Some examples are: What's the benefit of adding more tellers? Is it worth the cost? What's the effect of offering specialized service, for example, a "deposits only" teller? What is the effect of reducing the service time, e.g., by increasing the wage rate so that the bank keeps more experienced tellers?

Examining and Controlling an Extend Model You can examine and the parameters that control a block by double clicking on the block. This opens up a dialog box in which you can change parameters, e.g., the mean of a distribution, or the type of the distribution, and see statistics from the most recent run. Under the "Run" menu you can turn on "Show Animation" if you wish to see statistics reported at each block for the current state of the system, e.g., number in queue, etc.

More Information More information on Extend can be found at Another simulation software vendor is Pritsker and Associates, with information at:

Generating Random Numbers, Some Pointers Prob{ Demand = 1] =.21 Prob{ Demand = 2} =.47 Prob{ Demand = 3} =

Generating Random Numbers, Graphically Cumulative Probability Random outcome

Generating Continuous Random Variables Cumulative Probability Random outcome

Generating a Normal deviate!?

Excel 97 uses inverse transform method for Normal,but...

Using the Tools|Data Analysis|Random Number Generator In Excel/Office 2002 Each column used a starting seed = 55.

Quasi-Random Numbers An important variance reduction method in Monte Carlo. Available and other simulators as an option. Suppose I want to run 9 replications, one random variable per replication. How should I generate the 9 uniforms? (Make sure you get one in each interval, make “super-uniform”) 0 1

Quasi-Random Numbers, continued Suppose I want to run 9 replications, Need two random variables per replication. How should I generate the 9 pairs of uniforms?

Applichem Case: How to best serve six international markets in the face of random demand, and random foreign exchange rates. Design of experiment: 4096 scenarios(12 random variables each), 100 replications. Method: Random Antithetic Stratified Weyl LH SLH Mean: Std Error: Because we are maximizing profit, an optimizing simulation will have a slight optimistic bias. Why? Numerical Examples

Pricing a EurAsian option, i.e., Value = max(0, average_price_til_maturity – strike_price). Design of experiment: 1024 scenarios(10 periods to maturity), 200 replications. Method: Random Antithetic Stratified Weyl LH SLH Mean: Std Error: Numerical Examples, cont.