Spreadsheet Demonstration

Slides:



Advertisements
Similar presentations
Introduction to LP Modeling
Advertisements

Example 2.2 Estimating the Relationship between Price and Demand.
Decision Technology Modeling, Software and Applications Matthew J. Liberatore Robert L. Nydick John Wiley & Sons, Inc.
SPREADSHEETS Chapter 3 By Michael & Russell What are Spreadsheets used for? SIMPLE CALCULATIONS SIMPLE CALCULATIONS (shop’s weekly profits) COMPLEX CALCULATIONS.
Session 8a. Decision Models -- Prof. Juran2 Overview Operations Simulation Models Reliability Analysis –RANK, VLOOKUP, MIN Inventory Order Quantities.
Managerial Decision Making and Problem Solving Computer Lab Notes 1.
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.
A. Ruiz Méthodes d ’aide à la décision en RO Using Spreadsheets in Management Science Models Spreadsheets have become a powerful tool in management.
6 - 1 Lecture 4 Analysis Using Spreadsheets. Five Categories of Spreadsheet Analysis Base-case analysis What-if analysis Breakeven analysis Optimization.
Decision Tree Analysis. Decision Analysis Managers often must make decisions in environments that are fraught with uncertainty. Some Examples –A manufacturer.
Simulation Operations -- Prof. Juran.
Sampling Distributions (§ )
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.
Spreadsheet Simulation
Simulating Normal Random Variables Simulation can provide a great deal of information about the behavior of a random variable.
Spreadsheet Simulation
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.
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.
Example 11.1 Simulation with Built-In Excel Tools.
Spreadsheet Demonstration Investment Simulation. 2 Investment simulation Winston 12.4  Mary Higgins is a freelance writer with enough spare time on her.
Example 4.4 Blending Models.
Example 15.2 Blending Oil Products at Chandler Oil
Supplement C Introduction to Simulation
DECISION MODELING Chapter 2 Spreadsheet Modeling Part 1 WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker.
Simulation.
COMPREHENSIVE Excel Tutorial 10 Performing What-If Analyses.
EXAMPLE: 3.1 ASSEMBLING AND TESTING COMPUTERS
Operations Management
Spreadsheet Demonstration
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 | | | | | | |
Example 16.1 Ordering calendars at Walton Bookstore
Spreadsheet Modeling of Linear Programming (LP). Spreadsheet Modeling There is no exact one way to develop an LP spreadsheet model. We will work through.
Guide to Using Excel 2007 or 2010 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 7th Ed. Chapter 5: Discrete.
Example 4.5 Production Process Models | 4.2 | 4.3 | 4.4 | 4.6 | Background Information n Repco produces three drugs, A, B and.
Guide to Using Minitab 14 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 5: Introduction.
Chapter 14 Simulation. What Is Simulation? Simulation is to mimic a process by using computers.
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.
Chapter © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Module Fall 2005 Session One Alex Fadeev - Link for this PPT:
Example 2.5 Decisions Involving the Time Value of Money.
DECISION MODELING Chapter 2 Spreadsheet Modeling Part 1 WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker.
Example 2.3 An Ordering Decision with Quantity Discounts.
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.
Example 13.6a Houses Sold in the Midwest Exponential Smoothing.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2006 Session Two Alex Fadeev - Link for this PPT:
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.
Example 12.3 Operations Models | 12.2 | 12.4 | 12.5 | 12.6 | 12.7 |12.8 | 12.9 | | | | | | | |
Simulation Using computers to simulate real- world observations.
Computational Biology, Part 13 Spreadsheet Basics II Robert F. Murphy Copyright  1996, 1999, 2000, All rights reserved.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
Simulations. To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 3-2 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2010 Session Two Xin Zhang – Prof. Richard de Neufville.
Monte Carlo Simulation This presentation uses some materials from: “Natalia A. Humphreys Presentation from University of Texas at Dallas.
Unit 8 – Spreadsheets Part 2 Spreadsheets Skills Lesson Part 1.
Monte Carlo Simulation
Spreadsheets.
Spreadsheets (Excel Tasks)
Guide to Using Excel 2007 For Basic Statistical Applications
Microsoft Excel 101.
Simulation Part 1: Simulation with Discrete Random Variables
Introduction to Crystal Ball (Part I)
Sampling Distributions (§ )
Presentation transcript:

Spreadsheet Demonstration Walton’s Bookstore Simulation

Walton’s bookstore simulation Winston Example 12.1 In August, Walton Bookstore must decide how many of next year’s nature calendars to order. Each calendar costs the bookstore $7.50 and is sold for $10. After February 1 all unsold calendars are returned to the publisher for a refund of $2.50 per calendar. Walton believes that the number of calendars it can sell by February 1 follows the probability distribution. Walton wants to maximize the expected profit from calendar sales. Specifically, the company wants to use simulation to determine the number of calendars to order in August.

Walton’s bookstore simulation Basic problem Walton can order calendars once for demand in coming year Demand is random Walton wants to achieve best trade-off between ordering too few and too many If you covered the “newsvendor” model in Chapter 10, you’ll recognize this as another version of it. The only difference is that we’re now using simulation, not the method of Chapter 10, to analyze the problem.

Walton’s bookstore simulation Uncertainty Only uncertainty is demand for calendars Modelled as a discrete distribution with given probabilities

Walton’s bookstore simulation Monetary inputs Unit cost of purchasing calendars Unit price of selling calendars Unit refund for any calendars left over at the end of the season

Walton’s bookstore simulation Decision variable Only decision is how many calendars to order Decision criterion: maximize the expected profit With simulation we can see more than the expected profit. We’ll be able to see the entire profit distribution, so we could use other aspects of this distribution when making the decision (although, admittedly, we’ll rely mainly on the mean). Also, we won’t use the Solver for optimization. We’ll proceed more by trial and error: simulating profits for various order quantities and choosing the one that looks best.

Developing the spreadsheet model (See Excel “Step 1” sheet) Step 1: Enter any trial value of order quantity and all inputs, including: Monetary inputs Probability distribution of demand (enter cumulative probabilities as well) Show the formulas for the cumulative probabilities. Enter them just to the left of the possible demands so that they are in the correct position for using a VLOOKUP function later on.

Developing the spreadsheet model (See Excel “Steps 2-7” sheet) Step 2: Generate a random number with the RAND function Step 3: Generate a demand with the VLOOKUP function Depends on the random number from step 2 and the “lookup table” including cumulative probabilities and demands Step 3 is the crucial step. Explain in some detail how the VLOOKUP function in cell C13 generates a random demand with the given demand distribution.

Developing the spreadsheet model (See Excel “Steps 2-7” sheet) Steps 4-7: Based on the random demand from step 3, calculate the revenue, purchase cost, refund, and profit Stress that this completed row (row 13) of the spreadsheet represents one typical “replication” of the simulation. That is, you give it a typical (random) demand, and it calculates the associated profit.

Developing the spreadsheet model (See Excel “Step 8” sheet) Step 8: Copy row 13 to 49 other rows to obtain 49 new replications of the simulation Note how the random numbers (and hence everything else) vary from row to row

Developing the spreadsheet model (See Excel “Steps 9,10” sheet) Step 9: Calculate summary measures (average, stdev, max, min) of the 50 simulated profits Step 10: Calculate a confidence interval for the expected profit, based on the 50 simulated profits Depending on your students’ statistical backgrounds, you might need to set aside some time to discuss confidence intervals in general at this point. In particular, explain why, by generating many replications, we can reduce the width of the confidence interval as much as we want. However, this will not make the standard deviation of profit smaller (which is estimated in cell G64). Why not?

Developing the spreadsheet model (See Excel “DataTable 1” sheet) Construct a data table for the average profit versus a list of possible order quantities The “column input” cell for this table is the original order quantity cell For these particular 50 demands, an order quantity of 150 maximizes average profit It wouldn’t necessarily be best for other randomly generated demands If you haven’t done so yet, go through the mechanics of forming a data table. Explain it in quite a lot of detail; data tables tend to give students fits for some reason! Note that if you freeze the random numbers in column B of the replications (as we did), each order quantity in this data table faces the same demands - which is good from an experimental design point of view. However, it’s not necessary to freeze these random numbers.

Developing the spreadsheet model (See Excel “BarChart 1” sheet) Construct a bar chart of the average profits from the data table Again shows how 150 is the best order quantity

Developing the spreadsheet model (See Excel “DataTable 2” sheet) Another way to generate replications is with a data table Enter the typical formula to replicate (formula for profit) Enter replication number (1 to 50) in a column Generate a data table with “column input” cell equal to any blank cell In Tools/Options, check the “Automatic Except Tables” option under the Calculation tab This general method of forming a data table with a blank cell for the column input cell “tricks” Excel into recalculating the typical formula (profit) many times, using a different random number each time. We’ll use this “trick” throughout the chapter, so make sure the students understand how to do it. This last point is a good tip, especially when there are a lot of replications. It means the data table won’t recalculate until you press the F9 key. Otherwise, it would recalculate (and waste a lot of time!) every time you made any change to the spreadsheet.

Developing the spreadsheet model (See Excel “DataTable 3” sheet) Go one step further: create a two-way data table that replicates the profit 50 times for each of several order quantities Column input cell is any blank cell, row input cell is the order quantity cell Calculate the average profit (and any other summary measures) for each order quantity Again, make sure the students understand exactly what this data table is doing and why the row and column inputs are as they are.

Developing the spreadsheet model (See Excel “BarChart 2” sheet) Create a bar chart of the average profits from the two-way data table Again, 150 appears to be the best order quantity in terms of average profit

Developing the spreadsheet model Summary of basic steps Use random numbers to simulate a single replication Use the copy command or a data table (with blank column input cell) to replicate this single simulation Calculate summary measures from the replications and create relevant graphs These are the basic steps for a simulation that we’ll be following throughout this chapter. The details will vary, but the same basic procedure is always the same.