Simulation Discrete Variables.

Slides:



Advertisements
Similar presentations
BU BU Decision Models Simulation1 Simulation Summer 2013.
Advertisements

16.1 Approximate Normal Approximately Normal Distribution: Almost a bell shape curve. Normal Distribution: Bell shape curve. All perfect bell shape curves.
Monte Carlo Simulation A technique that helps modelers examine the consequences of continuous risk Most risks in real world generate hundreds of possible.
(Monté Carlo) Simulation
Problems Problems 4.17, 4.36, 4.40, (TRY: 4.43). 4. Random Variables A random variable is a way of recording a quantitative variable of a random experiment.
Lec 18 Nov 12 Probability – definitions and simulation.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Expectation of random variables Moments (Sec )
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Discrete random variables Probability mass function Distribution function (Secs )
UNR, MATH/STAT 352, Spring Random variable (rv) – central concept of probability theory Numerical description of experiment.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Multiple random variables Transform methods (Sec , 4.5.7)
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.
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.
Discrete Probability Distributions
Class 3 Binomial Random Variables Continuous Random Variables Standard Normal Distributions.
Binomial Distributions Calculating the Probability of Success.
1 Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS FOR SCIENTISTS AND ENGINEERS Systems.
Chapter Outline 3.1THE PERVASIVENESS OF RISK Risks Faced by an Automobile Manufacturer Risks Faced by Students 3.2BASIC CONCEPTS FROM PROBABILITY AND STATISTICS.
Probability Distributions. Essential Question: What is a probability distribution and how is it displayed?
OPIM 5103-Lecture #3 Jose M. Cruz Assistant Professor.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
2.1 Introduction In an experiment of chance, outcomes occur randomly. We often summarize the outcome from a random experiment by a simple number. Definition.
Fitting probability models to frequency data. Review - proportions Data: discrete nominal variable with two states (“success” and “failure”) You can do.
Slide 5-1 Chapter 5 Probability and Random Variables.
EQT 272 PROBABILITY AND STATISTICS
LECTURE 17 THURSDAY, 22 OCTOBER STA 291 Fall
Unit 11 Binomial Distribution IT Disicipline ITD1111 Discrete Mathematics & Statistics STDTLP 1 Unit 11 Binomial Distribution.
8-3: Probability and Probability Distributions English Casbarro Unit 8.
Probability Distributions, Discrete Random Variables
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.
Simulation Chapter 9 Discrete Variables. Course Overview.
Objective  Find the experimental probability that an event will occur.
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
1 7.3 RANDOM VARIABLES When the variables in question are quantitative, they are known as random variables. A random variable, X, is a quantitative variable.
EQT 272 PROBABILITY AND STATISTICS
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.
Welcome to MM305 Unit 3 Seminar Prof Greg Probability Concepts and Applications.
Probability Distributions and Expected Value
Simulation Discrete Variables. What is it? A mathematical model Probabilistic Uses the entire range of possible values of a variable in the model.
Probability Distribution. Probability Distributions: Overview To understand probability distributions, it is important to understand variables and random.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Probability Distributions Chapter 6.
The binomial distribution
Computer Simulation Henry C. Co Technology and Operations Management,
Welcome to MM305 Unit 3 Seminar Dr
CHAPTER 14: Binomial Distributions*
CHAPTER 2 RANDOM VARIABLES.
Experimental Probability
Chapter Outline 3.1 THE PERVASIVENESS OF RISK
Psychology 202a Advanced Psychological Statistics
Conditional Probability
The Random Class and its Methods
AP Statistics: Chapter 7
The Binomial and Geometric Distributions
Probability Probability measures the likelihood of an event occurring.
Random Variable Random Variable – Numerical Result Determined by the Outcome of a Probability Experiment. Ex1: Roll a Die X = # of Spots X | 1.
Warm Up Imagine you are rolling 2 six-sided dice. 1) What is the probability to roll a sum of 7? 2) What is the probability to roll a sum of 6 or 7? 3)
Probability Simulations
Lecture 11: Binomial and Poisson Distributions
Introduction to Probability and Statistics
Lesson #8 Guided Notes.
Bernoulli Trials Two Possible Outcomes Trials are independent.
Essential Statistics Introducing Probability
Chapter 6: Probability.
Discrete Random Variables: Expectation, Mean and Variance
Chapter 5 – Probability Rules
Empirical Distributions
Chapter 11 Probability.
Applied Statistical and Optimization Models
Presentation transcript:

Simulation Discrete Variables

What is it? A mathematical model Probabilistic Uses the entire range of possible values of a variable in the model

Why Simulate? Safety – flight simulator Cost – easier to simulate adding a new runway and find out effects than to implement in reality and then find out Time – Boeing uses simulated manufacturing before the real thing, with tremendous savings in time and money – can discover parts that do not fit and fix them before actual production

How does it work? Simulation requires you to know What variable is to be simulated The distribution of the variable – values it can take on and the probabilities of those values occurring. Step 1: Generate a variable containing uniformly distributed random variables between 0 and 1 (the rand() function in Excel). Step 2: Create a rule to map the random numbers to values of the variable desired in the right proportion, and apply the rule.

Example – coin toss Variable to be simulated is “Outcome of a coin toss”. It takes on values “Heads” and “Tails”, each with 0.5 probability. Generate 100 random numbers (100 tosses of coin). Make a rule like – if random number > 0.5, then “Heads”, else “Tails”. This will create the right distribution of outcomes.

Example 2: Machine Failures Simulate machine failures based on this historical data Number of Failures per month Frequency (# of months this occurred) 1 2 3 36 20 Total 60

Simulating Machine Failures, contd. Create the following cumulative probability table. Number of Failures per month Frequency (# of months this occurred) Probability Cumulative 1 2 3 36 20 0.600 0.333 0.050 0.016 0.933 0.983 1.000 Total 60 1.00

Simulating Machine Failures, contd. Now map the random numbers between 0 and 1 using the cumulative prob. Column as the cutoffs. Random numbers between 0 and 0.6 represent 0 failures, between 0.6 and 0.933 represent 1 failure, and so on. 0.60 0.93 0.98 0 failures 1 failure 2 3 failures

Solution – Random Number Mapping The random numbers are now mapped to number of failures as follows. Random # Number of Failures 0.345 0.008 0.985 0.878 3 1