Example 16.1 Ordering calendars at Walton Bookstore

Slides:



Advertisements
Similar presentations
Example 2.2 Estimating the Relationship between Price and Demand.
Advertisements

Spreadsheets… a software program that allows you to use rows and columns of data to manage, predict, and present information. COLUMN ROW CELL (intersection)
Introduction to Risk Analysis Using Excel. Learning Objective.
Example 2.1 Finding a Breakeven Point. Background Information n The Great Threads Company sells hand-knit sweaters. Great Threads is planning to print.
Simulation Operations -- Prof. Juran.
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.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
Introduction to Simulation Modeling
Example 14.3 Football Production at the Pigskin Company
Spreadsheet Simulation
Spreadsheet Demonstration
1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD.
Chapter 8 Estimating Single Population Parameters
MBA7020_07.ppt/July 11, 2005/Page 1 Georgia State University - Confidential MBA 7020 Business Analysis Foundations Simulation July 11, 2005.
1 SIMULATION – PART I Introduction to Simulation and Its Application to Yield Management For this portion of the session, the learning objectives are:
Spreadsheet Simulation
Example 6.2 Fixed-Cost Models | 6.3 | 6.4 | 6.5 | 6.6 | Background Information n The Great Threads Company is capable of manufacturing.
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.
Simulation.
Evaluating Hypotheses
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.
Introduction
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
The Analysis of Variance
Lehrstuhl für Informatik 2 Gabriella Kókai: Maschine Learning 1 Evaluating Hypotheses.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
Example 15.2 Blending Oil Products at Chandler Oil
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 | | | | | | |
Integer Programming Models
Example 4.5 Production Process Models | 4.2 | 4.3 | 4.4 | 4.6 | Background Information n Repco produces three drugs, A, B and.
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.
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:
7 - 1 Chapter 7: Data Analysis for Modeling PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Example 2.5 Decisions Involving the Time Value of Money.
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.
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 21 ESD.70J Engineering Economy Fall 2006 Session Two Alex Fadeev - Link for this PPT:
Section 10.1 Confidence Intervals
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2009 Session Two Michel-Alexandre Cardin – Prof. Richard.
Example 2.4 An Option Model for Hedging Investment Risk.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
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.
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.
Confidence Interval Estimation For statistical inference in decision making:
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
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.
Confidence Interval Estimation For statistical inference in decision making: Chapter 9.
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.
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.
MODELING AND SIMULATION CS 313 Simulation Examples 1.
Estimating a Population Proportion ADM 2304 – Winter 2012 ©Tony Quon.
HIMS 650. * To learn how to use the Excel program, watch these helpful Youtube.com videos:
Monte Carlo Simulation This presentation uses some materials from: “Natalia A. Humphreys Presentation from University of Texas at Dallas.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Modeling and Simulation CS 313
Confidence intervals for the difference between two means: Independent samples Section 10.1.
Mathematical operators
2/5/ Estimating a Population Mean.
Presentation transcript:

Example 16.1 Ordering calendars at Walton Bookstore Introduction to Spreadsheet Simulation

Objective To simulate demand for calendars and to see how profit varies for different demands and different order quantities.

Background Information 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.

Background Information -- continued Walton believes that the number of calendars it can sell by February 1 follows this probability distribution. Walton wants to maximize the expected profit from calendar sales.

WALTON1.XLS For a fixed order quantity, we will show how Excel can be used to simulate 50 replications (or any other number of replications). Each replication is an independent replay of the events that occur. To illustrate, suppose we want to estimate the expected profit if Walton orders 200 calendars. To do this we need to simulate 50 independent simulations. This file contains the setup needed to begin the simulation.

The Simulation Inputs: Enter the cost data in the range B4:B6, the probability distribution of demand in the range D5:F9, and the proposed order quantity, 200, in cell B9. Pay particular attention to the way the probability distribution is entered. Column E and F contain the individual probabilities and demand values from the table. It is also convenient to have the cumulative probabilities in column D. To obtain these, first enter the value 0 in cell D5. Then enter the formula =D5+E5 in cell D6 and copy it to the RANGE D7:D9 Generate Random Number: Enter a random number in cell B19 with the formula =RAND( ) and copy it to the range B19:B68.

The Simulation -- continued Generate demands: The key to the simulation is the generation of the customers demands in the range C19:C68 from the random numbers in column B and the probability distribution of demand. To do this we: Divide the interval from 0 to 1 into five segments. The lengths of the segments relate to the probabilities of various demands. Then we associate a demand with each random number depending on which interval the random number falls into.

Simulation -- continued To accomplish this we can follow one of two ways: The first is to use a nested IF statement in cell C19 (and copy it down C). The second and simpler way is to use the VLOOKUP function. To do this we create a “lookup table” in the range E5:F9 and name it Lookup. Then enter the formula =VLOOKUP(B19,Lookup,2) in cell C19 and copy it to the range C19:C68. The function compares the random number to the values in E5:E9 and returns the appropriate demand in F5:F9. Revenue: Once the demand is known, the number of calendars sold is the smaller of the demand and the order quantity. To calculate revenue for the first replication in D13 we enter =$B$5*MIN(C19,$B$9).

Simulation -- continued Ordering Cost: The cost of ordering the calendars does not depend on the demand; it is the unit cost multiplied by the number ordered. Calculate this in cell E19 with the formula =$B$4*$B$9. Refund: If the order quantity is greater than the demand, there is a refund of $2.50 for each calendar left over, otherwise there is no refund. Therefore, enter the total refund for the first replication in cell F19 with the formula =$B$6*MAX($B$9-C19,0). Profit: Calculate the profit for this replication in G19 with the formula =D19-E19+F19.

Simulation -- continued Copy to other rows: Do the same bookkeeping for the other 49 replications by copying the range D19:G19 to the range D20:G68. Summary Measures: Each profit value in column G corresponds to one randomly generated demand. First, calculate the average and standard deviation of the 50 profits in cells B12 and B13 with the formulas =AVERAGE(Profits) and =STDEV(Profits). Similarly, calculate the smallest and largest profit with the MIN and MAX functions.

Simulation -- continued Confidence Interval for expected profit: Finally, calculate a 95% confidence interval for the expected profit in cells E13 and E14 with the formulas =B12-TINV(0.05,49)*B13/SQRT(50) =B12+TINV(0.05,49)*B13/SQRT(50) At this point we need to look and see what we have accomplished. Let’s look at the results of the simulation.

Simulation for Walton Bookstore Example

Accomplishments So here is what we have accomplished: In the body of the simulation rows 19-68, we randomly generated 50 possible demands and the corresponding profits. There are only five possible demand values and also for our order quantity, 200, the profit is $500 regardless of whether demand is 200, 250, or 300. There are 13 trials with profit equal to - $250, 8 trials with profit equal to $125, and 29 trials with profit equal to $500. The average of the 50 profits is $245.00 and their standard deviation is $325.33. (Answers may differ because of the random numbers.)

Probability Distributions The probability distribution of profit is as follows: P(Profit = -$250) = 13/50 P(Profit = -$125) = 8/50 P(Profit = -$500) = 29/50 We also estimate the mean of this distribution to be $245.00 and its standard deviation to be $325.33. It is important to be aware that with computer simulation each time it is run the answers will be slightly different. This is the reason for the confidence interval.

Confidence Interval The confidence intervals can be found in cells E13 and E14. This interval expresses our uncertainty about the mean of the profit distribution. Our best guess is the value we observed but because the corresponding confidence interval is very wide, from $152.54 to $337.46, we are not sure of the true mean of the profit distribution.

A Different Approach The above method of calculating cumulative probabilities and then using a lookup table is rather awkward. Therefore, a function has been developed that will generate random values from a discrete probability distribution in a much easier way. This function, DISCRETE_, is part of the StatPro add-in that was included with your text book. So long as this add-in is loaded, the function will work.

The DISCRETE_ Function The syntax for the function is =DISCRETE_(Values,Probs) where Values is a range that contains the possible values of the distribution and Probs is a range that contains the corresponding probabilities. The results from an alternative model of Walton’s problem that uses this function follow this slide. See the file WALTON1A.XLS. The only differences are that there is no cumulative probability column, there is no need for a column of random numbers, and the demands are generated in Column B with the DISRETE_ Function.

Walton Simulation with the DISRECTE_ Function

Finding the Best Order Quantity So far we have ran the simulation for only a single order quantity, 200. Walton’s ultimate goal is to find the best order quantity - that is, the order quantity that maximizes the mean profit. This goal can be achieved by using a data table to rerun the simulation for other order quantities.

Using the Data Table To form this table, enter the trial order quantities in A74:A82, enter the formula =B12 in cell B73, and select the data table range.

Using the Data Table -- continued Use the Data/Table command, specifying that the single (column) input cell is B9. Construct a bar chart (shown on the next slide) of the average profits in the data table.

Average Profit versus Order Quantity

Results An order quantity of 150 appears to maximize profits in the data. However, keep in mind this is a simulation, so that all of these average profits depend on the particular random numbers generated.

WALTON2.XLS This file is setup to illustrate another method that is more general. The other method uses a data table to generate the replications. Through row 19 this file and method are the same. The next step, however, is different. We form a data table in the range A23:B73 to replicate the basic simulation 50 times.

Data Table Method In column A we list the replication of numbers, 1-50. The formula for the data tale in cell B23 is =F19. This creates a link to the profit in the prototype row for use in the data table. Then we use the Data/Table command with any blank cell as the column input. Excel repeats the row 19 calculations 50 times, each time with a new random number. Each time the profit is reported.

Simulation with a Data Table

How the Data Table Works To understand this procedure you need to understand how the data table is formed. Excel takes each value in the left-hand column of the data table, substitutes it into the cell we designate, recalculates the spreadsheet, and returns the “bottom line” value we’ve requested in the top row of the data table. This process requires that we do not freeze the cell the random number is in.

WALTON3.XLS To take this one step further, we can use a two-way data table to see how the profit depends on the order quantity. The two-way data table has the replication number down the side and the possible order quantities along the top. This file contains the setup of the data table. The driving formula is in A23, is again =F19 and the column input is a blank cell, but this time the row input is B9. The following slide shows the average profit versus order quantity using a data table

Two-Way Data Table Results After averaging the numbers in each column of the table, we see that 150 appears to be the best order quantity again. It is also helpful to construct a bar chart of these averages

Two-Way Data Table Results To see if 150 is really the best, you can keep pressing F9 and the spreadsheet will recalculate and so will the output and the bar chart. Data tables are very useful in spreadsheet simulation. They allow you to take a “prototype” simulation and replicate its key results as often as you like. The method makes summary statistics and corresponding charts easy to obtain.