Outline/Coverage Terms for reference Introduction

Slides:



Advertisements
Similar presentations
Slides 2c: Using Spreadsheets for Modeling - Excel Concepts (Updated 1/19/2005) There are several reasons for the popularity of spreadsheets: –Data are.
Advertisements

Monte Carlo Simulation A technique that helps modelers examine the consequences of continuous risk Most risks in real world generate hundreds of possible.
Probability Distributions CSLU 2850.Lo1 Spring 2008 Cameron McInally Fordham University May contain work from the Creative Commons.
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.
Chapter 4 Probability and Probability Distributions
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Introduction to Summary Statistics
Introduction to Excel 2007 Part 2: Bar Graphs and Histograms February 5, 2008.
Introduction to Summary Statistics
Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by.
Spreadsheet Simulation
Chapter 3 Describing Data Using Numerical Measures
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 3-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Simulating Normal Random Variables Simulation can provide a great deal of information about the behavior of a random variable.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 3-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Lecture 6: Descriptive Statistics: Probability, Distribution, Univariate Data.
12.3 – Measures of Dispersion
P(Y≤ 0.4) P(Y < 0.4) P(0.1 < Y ≤ 0.15)
Simulation.
GCSE Session 28 - Cumulative Frequency, Vectors and Standard Form.
Math 116 Chapter 12.
Business and Finance College Principles of Statistics Eng. Heba Hamad 2008.
© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Example 16.1 Ordering calendars at Walton Bookstore
BIOSTAT - 2 The final averages for the last 200 students who took this course are Are you worried?
Chapter 6: Probability Distributions
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.
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.
Random Variables Numerical Quantities whose values are determine by the outcome of a random experiment.
Probability Distributions. Essential Question: What is a probability distribution and how is it displayed?
STAT 280: Elementary Applied Statistics Describing Data Using Numerical Measures.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 3-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
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,
Make observations to state the problem *a statement that defines the topic of the experiments and identifies the relationship between the two variables.
Lecture 3 Describing Data Using Numerical Measures.
Chap 3-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 3 Describing Data Using Numerical.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
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.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
Random Variable The outcome of an experiment need not be a number, for example, the outcome when a coin is tossed can be 'heads' or 'tails'. However, we.
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.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
2/15/2016ENGM 720: Statistical Process Control1 ENGM Lecture 03 Describing & Using Distributions, SPC Process.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 6-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Chapter 5 Describing Distributions Numerically Describing a Quantitative Variable using Percentiles Percentile –A given percent of the observations are.
Probability Distribution. Probability Distributions: Overview To understand probability distributions, it is important to understand variables and random.
INTRODUCTION TO STATISTICS
Monte Carlo Simulation
Section 7.3: Probability Distributions for Continuous Random Variables
Chapter 5 - Discrete Probability Distributions
Chapter 3 Describing Data Using Numerical Measures
Introduction to Summary Statistics
Introduction to Summary Statistics
Chapter 3 Describing Data Using Numerical Measures
Introduction to Summary Statistics
Chapter 10 - Monte Carlo Simulation and the Evaluation of Risk
Topic 5: Exploring Quantitative data
Introduction to Summary Statistics
Introduction to Summary Statistics
Probability Key Questions
LESSON 8: RANDOM VARIABLES EXPECTED VALUE AND VARIANCE
Introduction to Summary Statistics
Statistics for Managers Using Microsoft® Excel 5th Edition
Introduction to Summary Statistics
Presentation transcript:

Probability Distributions in Decision Making & Monte Carlo Simulation Workshop

Outline/Coverage Terms for reference Introduction The Uniform Distribution The Triangular Distribution The Normal Distribution Monte Carlo Simulation Overview Monte Carlo Simulation Practice Examples Carefully read and study each slide

Some Terms used in the workshop x is a “random variable”, a symbol representing an outcome that can take on a value. For example, x may be used to represent outcomes that could occur in say flipping two coins. So, x could take on the values/outcomes of “Head Head”, “Head Tails”, “Tails Head”, or “Tails Tails”. A different example would be purchasing a part from a supplier where the price could range from $100 to $200 depending on market conditions. In this case, x could take on a number of values such as $141.25 or $162.89 and so on. f(x), f represents frequency and f(x) represents frequency of a particular outcome, x. If we were flipping a single coin 10 times, f(Heads) might be anywhere from one to ten “Heads” outcomes. p(x), p represent probability or likelihood and p(x) represents probability of a particular outcome, x. In the case of flipping a single coin, p(Heads)=0.50. e(x), e represents expected value of a particular outcome, x. For example, if we were to flip a single coin 100 times, we would expect 50 Heads on average, thus e(Heads)=50. We use probabilities to obtain expected values. In this example, we have 100 flips and the probability of “Heads” is 0.50, so 100 X 0.50 = 50, e(Heads). mean is simply the average. It is the sum of the values divided by the number of values. The mean is one measure of “central tendency”, used to help describe where the center of a set of data set is located.

Introduction p(x) Heads 0.50 Tails A Probability Distribution is a graphical representation of possible values a random variable (x) may assume along with the probability of the variable taking on these values. The simplest probability distribution is the Uniform Distribution. The X-axis (horizontal axis) is the list of possible values the variable can assume. The Y-axis (vertical axis) represents the probability of the variable taking on a certain value. In a uniform distribution, the probabilities for the values the random variable are all equal. For example, flipping a coin can be represented using a uniform distribution. The possible outcomes or values are Heads and Tails. The probability of flipping a Head is 0.5 and the probability of flipping a Tail is 0.5, the same. Notice in the table below the probabilities are the same or uniform, 0.50. outcome, x p(x) Heads 0.50 Tails This is a probability distribution shown as a table. This is a probability distribution shown as a graph.

Introduction Now, consider rolling a single die. Use the table below to fill in random variable values or possible outcomes along with their associated probabilities. x p(x) This is a probability distribution shown as a table.

Introduction Using the table from the prior slide, build the uniform distribution for the single die roll: p(x) likelihood x outcome

Triangular distribution The triangular distribution is very popular in business because it is easy to understand and use effectively. It only requires the specification of three values, its minimum, most likely, and maximum. The mean of a triangular distribution is simply (min + most likely + max) / 3. For example, we are not not sure how many hours it will take to complete a task. The shortest time is estimated to be 12 hours, but the task could take as long as 22 hours. Most likely, the task will complete in 14 hours, but could take any amount of time between 12 and 22 hours. The task time is modeled below using the triangular distribution. mean task time is (12+14+22) / 3 = 16 likelihood 12 14 22 task time (hours)

The normal distribution Another very popular distribution is the normal distribution. Like the triangular distribution, the normal distribution is a continuous distribution meaning the random variable can take on any value in its range. However, the normal distribution is always symmetric, with its mean always at the center value. Values on each side of the center are equally likely. For example, below is a normal distribution of class grades with a mean of 80. A score around 80 is the most likely. Scores around 70 and 90 are less likely than a score around 80, but are equally likely to each other. The mean of a normal distribution is its center, in this case 80. likelihood mean class grade is 80 class test grades 70 80 90

MC Simulation Example 1: Monte Carlo simulation is a technique in which many values of a random variable are generated from a distribution. When a value is obtained from a distribution it is called a trial. Two examples are shown below. The first shows Monte Carlo simulation trail results from a normal distribution, the second shows MC trial results from a uniform distribution. Example 1: class test grades (x) MC Simulation 81.2 68.7 91 likelihood class test grades (x) 90 80 70 82.5 MC Simulation Trial Results 79 82.5 81.6 77.68 57.8

MC Simulation Example 2: MC Simulation Supplier part price (x) 148 153 160.2 MC Simulation Trial Results 137 152.4 likelihood Supplier part price (x) $100 $150 $200

The uniform distribution Two values are needed to specify a uniform distribution, a small and a large. The uniform distribution is a continuous distribution and can take on any value between its smallest and largest, all will equal likelihood. The Uniform Distribution is shown below and its mean is simply the middle, (small value + large value) / 2.

New but related topic, Monte Carlo Simulation Monte Carlo simulation generates the outcomes from a probability distribution, in this case the uniform distribution which has 2 outcomes with equal likelihoods. The following Excel spreadsheet is an example of the Monte Carlo technique generating 20 outcomes for flipping a coin. =IF(RAND()<0.5,"H","T") Note: A random number generator (shown above) is used in Monte Carlo simulation to obtain values for the random variable or outcome. No need to worry about this Excel function!

MC Simulation Taking the coin flip example one step further, we can easily generate 1000 trials and outcomes, count the Head and Tail outcomes, and plot the Monte Carlo simulation results in a distribution. Note: some rows (trials) are not shown (hidden) for clarity. 491 509 f(x) MC Simulation with 1000 trials. Results; 491 Tails and 509 Heads. f(x) stands for frequency, f(Tails)=491, f(Heads)=509 in this run of 1000 trials.

MC Simulation Now, considering the graph on the prior slide, how would the graph look if you replaced f(x) with e(x), the expected number of each outcome in 1000 flips or trials? Complete the graph below:

MC Simulation Now, considering the graph on the prior slide, how would the graph look if you placed probabilities of outcomes on the vertical axis? Complete the graph below: Tails Heads

MC Simulation Go to the following website and download the example MC simulator. Instructions below: 1. Goto the website: www.uta.edu/faculty/weltman 2. Click on the OPMA 3306 link 3. Download the file Excel Workshop Simulator 4. Open the file in Excel Download this one This one is for review, later!

MC Simulation f(x) x x f(x) Considering the rolling of a single die example, use the simulator spreadsheet to fill in the following table and draw the frequency distribution below. f(x) stands for relative frequency and is used for counting the frequency (or totaling up the number of times each outcome, x occurs). x f(x) f(x) x

MC Simulation x f(x) e(x) Considering the rolling of a single die example, in 600 rolls how many 1’s, 2’s, 3’s, 4’s, 5’s, and 6’s would you expect using statistics? Fill in third column, e(x), in the table below: x f(x) e(x)

MC Simulation p(x) x x f(x) e(x) p(x) Considering the rolling of a single die example, in 600 rolls how many 1’s, 2’s, 3’s, 4’s, 5’s, and 6’s would you expect using statistics? Fill in the fourth column, p(x), in the table below and the graph the probability distribution. Why are the columns f(x) and e(x) different? x f(x) e(x) p(x) p(x) x Note: f(x) comes from the MC simulation results. e(x) comes from statistical probabilities.

MC Simulation Now, let’s use MC simulation for a slighted more involved decision (Profit Worksheet) using multiple distributions to model the decision variables. Let’s try to see if MC Simulation can help us arrive at a good decision based on risks and unknowns. The selling price for a part we sell is fixed at $159. Depending on market conditions and supplier, the part costs us between $80 and $100, and the cost is equally likely anywhere between $80 and $100. Administrative cost is most likely to be $700,000 but could be as low as $300,000 or as high as $800,000. Demand for the part follows a normal distribution with mean of 15,000 units and a standard deviation of 4,500. The formula for profit is [revenue] – [costs] as shown in the formula below: Profit = [rQ]-[AC+cQ], where r is the revenue per unit, AC is the administrative costs, c is the supplier cost per unit, and Q is the demand or quantity sold. Thus, Using the means of each distribution (the uniform, the triangular, and the normal), calculate the profit below, Mean part cost= Mean admin cost= Mean demand, Q= Profitmean= Note: You do not use the MC simulator to obtain these values.

MC Simulation Next, use the MC simulator (Profit Worksheet) with 500 trials, fill in the yellow boxes and obtain the (from the simulation) the average/mean profit, max and min profit, and probability of a loss with this product. First, fill in the yellow boxes in the spreadsheet. Once the data is entered (in the yellow boxes), refresh the spreadsheet several times. Study the spreadsheet trials and results information to try to understand what is going on. Observe each column; parts cost, admin cost, demand, and profit. What does the MC simulation provide that is different from the mean profit calculation done on the prior slide? Should we introduce this product? Why or why not?