12-1 Introduction to Monte-Carlo Simulation Experiments.

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

Desktop Business Analytics -- Decision Intelligence l Time Series Forecasting l Risk Analysis l Optimization.
Sta220 - Statistics Mr. Smith Room 310 Class #14.
Introduction to Decision Analysis
6 - 1 Lecture 4 Analysis Using Spreadsheets. Five Categories of Spreadsheet Analysis Base-case analysis What-if analysis Breakeven analysis Optimization.
Statistics review of basic probability and statistics.
Simulation with ArenaAppendix C – A Refresher on Probability and StatisticsSlide 1 of 33 A Refresher on Probability and Statistics Appendix C.
Spreadsheet Modeling & Decision Analysis
Spreadsheet Modeling & Decision Analysis
12-1 Introduction to Spreadsheet Simulation Using Crystal Ball.
Engineering Economic Analysis Canadian Edition
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
1. Estimation ESTIMATION.
1 SIMULATION – PART I Introduction to Simulation and Its Application to Yield Management For this portion of the session, the learning objectives are:
Chapter 7: Variation in repeated samples – Sampling distributions
Lecture 10 Comparison and Evaluation of Alternative System Designs.
Inferences About Process Quality
BCOR 1020 Business Statistics
Chapter 10: Estimating with Confidence
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.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Chapter 7 Sampling Distributions
Chapter 7 Estimation: Single Population
Example 16.1 Ordering calendars at Walton Bookstore
Statistical Review We will be working with two types of probability distributions: Discrete distributions –If the random variable of interest can take.
Copyright © 2009 Cengage Learning Chapter 10 Introduction to Estimation ( 추 정 )
Chapter © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or.
Montecarlo Simulation LAB NOV ECON Montecarlo Simulations Monte Carlo simulation is a method of analysis based on artificially recreating.
SIMULATION USING CRYSTAL BALL. WHAT CRYSTAL BALL DOES? Crystal ball extends the forecasting capabilities of spreadsheet model and provide the information.
Discrete Distributions The values generated for a random variable must be from a finite distinct set of individual values. For example, based on past observations,
Engineering Economic Analysis Canadian Edition
Chapter 4 MODELING AND ANALYSIS. Model component Data component provides input data User interface displays solution It is the model component of a DSS.
Crystal Ball: Risk Analysis  Risk analysis uses analytical decision models or Monte Carlo simulation models based on the probability distributions to.
Managerial Economics Demand Estimation & Forecasting.
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.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
FIN 614: Financial Management Larry Schrenk, Instructor.
Statistical Decision Theory Bayes’ theorem: For discrete events For probability density functions.
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.
Inference: Probabilities and Distributions Feb , 2012.
Summarizing Risk Analysis Results To quantify the risk of an output variable, 3 properties must be estimated: A measure of central tendency (e.g. µ ) A.
© Copyright McGraw-Hill 2004
Copyright 2011 by W. H. Freeman and Company. All rights reserved.1 Introductory Statistics: A Problem-Solving Approach by Stephen Kokoska Chapter 1 An.
Evaluating Hypotheses. Outline Empirically evaluating the accuracy of hypotheses is fundamental to machine learning – How well does this estimate its.
Introduction to Simulation Chapter 12. Introduction to Simulation  In many spreadsheets, the value for one or more cells representing independent variables.
Prepared by Lloyd R. Jaisingh
ECO 173 Chapter 10: Introduction to Estimation Lecture 5a
Sampling Distributions and Estimation
Chapter 7: Sampling Distributions
ECO 173 Chapter 10: Introduction to Estimation Lecture 5a
Chapter 10 - Monte Carlo Simulation and the Evaluation of Risk
Chapter 9: Sampling Distributions
Spreadsheet Modeling & Decision Analysis
Test Drop Rules: If not:
Chapter 7: Sampling Distributions
Chapter 7: Sampling Distributions
Chapter 7: Sampling Distributions
Chapter 9: Sampling Distributions
Chapter 7: Sampling Distributions
Chapter 7: Sampling Distributions
Chapter 7: Sampling Distributions
Introduction to Simulation Using Crystal Ball
Chapter 7: Sampling Distributions
Chapter 7: Sampling Distributions
Sampling Distributions
The Practice of Statistics – For AP* STARNES, YATES, MOORE
Chapter 7: Sampling Distributions
Chapter 7: Sampling Distributions
Chapter 7: Sampling Distributions
Chapter 7: Sampling Distributions
Presentation transcript:

12-1 Introduction to Monte-Carlo Simulation Experiments

12-2 On Uncertainty and Decision-Making… "Uncertainty is the most difficult thing about decision-making. In the face of uncertainty, some people react with paralysis, or they do exhaustive research to avoid making a decision. The best decision-making happens when the mental environment is focused. …That fined-tuned focus doesn’t leave room for fears and doubts to enter. Doubts knock at the door of our consciousness, but you don't have to have them in for tea and crumpets." -- Timothy Gallwey, author of The Inner Game of Tennis and The Inner Game of Work.

12-3 Introduction to Simulation In many spreadsheets, the value for one or more cells representing independent variables is unknown or uncertain. As a result, there is uncertainty about the value the dependent variable will assume: Y = f(X 1, X 2, …, X k ) Simulation can be used to analyze these types of models.

12-4 Random Variables & Risk A random variable is any variable whose value cannot be predicted or set with certainty. Many “input cells” in spreadsheet models are actually random variables. –the future cost of raw materials –future interest rates –future number of employees in a firm –expected product demand Decisions made on the basis of uncertain information often involve risk. “Risk” implies the potential for loss.

12-5 Why Analyze Risk? Plugging in expected values for uncertain cells tells us nothing about the variability of the performance measure we base decisions on. Suppose an $1,000 investment is expected to return $10,000 in two years. Would you invest if... –the outcomes could range from $9,000 to $11,000? –the outcomes could range from -$30,000 to $50,000? Alternatives with the same expected value may involve different levels of risk.

12-6 Additional Uses of Simulation Simulation is used to describe the behavior, distribution and/or characteristics of some bottom-line performance measure when values of one or more input variables are uncertain. Often, some input variables are under the decision makers control. We can use simulation to assist in finding the values of the controllable variables that cause the system to operate optimally. The following examples illustrate this process.

12-7 Methods of Risk Analysis Best-Case/Worst-Case Analysis What-if Analysis Simulation

12-8 Best-Case/Worst-Case Analysis Best case - plug in the most optimistic values for each of the uncertain cells. Worst case - plug in the most pessimistic values for each of the uncertain cells. This is easy to do but tells us nothing about the distribution of possible outcomes within the best and worst-case limits.

12-9 Possible Performance Measure Distributions Within a Range worst casebest caseworst casebest caseworst casebest caseworst casebest case

12-10 What-If Analysis Plug in different values for the uncertain cells and see what happens. This is easy to do with spreadsheets. Problems: –Values may be chosen in a biased way. –Hundreds or thousands of scenarios may be required to generate a representative distribution. –Does not supply the tangible evidence (facts and figures) needed to justify decisions to management.

12-11 Simulation Resembles automated what-if analysis. Values for uncertain cells are selected in an unbiased manner. The computer generates hundreds (or thousands) of scenarios. We analyze the results of these scenarios to better understand the behavior of the performance measure. This allows us to make decisions using solid empirical evidence.

12-12 Simulation To properly assess the risk inherent in the model we need to use simulation. Simulation is a 4 step process: 1) Identify the uncertain cells in the model. 2) Implement appropriate RNGs for each uncertain cell. 3) Replicate the model n times, and record the value of the bottom-line performance measure. 4) Analyze the sample values collected on the performance measure.

12-13 What is Crystal Ball? Crystal Ball is a spreadsheet add-in that simplifies spreadsheet simulation. A 120-day trial version of Crystal Ball is on the CD-ROM accompanying this book. It provides: –functions for generating random numbers –commands for running simulations –graphical & statistical summaries of simulation data For more info see:

12-14 Random Number Generators (RNGs) A RNG is a mathematical function that randomly generates (returns) a value from a particular probability distribution. We can implement RNGs for uncertain cells to allow us to sample from the distribution of values expected for different cells.

12-15 Discrete vs. Continuous Random Variables A discrete random variable may assume one of a fixed set of (usually integer) values. –Example: The number of defective tires on a new car can be 0, 1, 2, 3, or 4. A continuous random variable may assume one of an infinite number of values in a specified range. –Example: The amount of gasoline in a new car can be any value between 0 and the maximum capacity of the fuel tank.

12-16 Some of the RNGs Provided By Crystal Ball DistributionRNG Function BinomialCB.Binomial(p,n) CustomCB.Custom(range) GammaCB.Gamma(loc,shape,scale,min,max) PoissonCB.Poisson(l) Continuous UniformCB.Uniform(min,max) ExponentialCB.Exponential(l) NormalCB.Normal(m,s,min,max) TriangularCB.Triang(min, most likely, max)

12-17 Examples of Discrete Probability Distributions

12-18 Examples of Continuous Probability Distributions

12-19 The Uncertainty of Sampling The replications of our model represent a sample from the (infinite) population of all possible replications. Suppose we repeated the simulation and obtained a new sample of the same size. Q: Would the statistical results be the same? A: No! As the sample size (# of replications) increases, the sample statistics converge to the true population values. We can also construct confidence intervals for a number of statistics...

12-20 Constructing a Confidence Interval for the True Population Mean where: Note that as n increases, the width of the confidence interval decreases.

12-21 Constructing a Confidence Interval for the True Population Proportion where: Note again that as n increases, the width of the confidence interval decreases.

12-22 Random Number Seeds RNGs can be “seeded” with an initial value that causes the same series of “random” numbers to generated repeatedly. This is very useful when searching for the optimal value of a controllable parameter in a simulation model (e.g., # of seats to sell). By using the same seed, the same exact scenarios can be used when evaluating different values for the controllable parameter. Differences in the simulation results then solely reflect the differences in the controllable parameter – not random variation in the scenarios used.

12-23 End of Chapter 12