CHAPTER 5 Simulation Modeling. Introduction In many situations a modeler is unable to construct an analytic (symbolic) model adequately explaining the.

Slides:



Advertisements
Similar presentations
Simulation - An Introduction Simulation:- The technique of imitating the behaviour of some situation or system (economic, military, mechanical, etc.) by.
Advertisements

Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
Lesson 10: Linear Regression and Correlation
11 Simulation. 22 Overview of Simulation – When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions.
Chapter 13 – Boot Strap Method. Boot Strapping It is a computer simulation to generate random numbers from a sample. In Excel, it can simulate 5000 different.
Random variables 1. Note  there is no chapter in the textbook that corresponds to this topic 2.
Mathematics in Today's World
Modeling and Simulation Monte carlo simulation 1 Arwa Ibrahim Ahmed Princess Nora University.
Sampling Distributions (§ )
Random Numbers. Two Types of Random Numbers 1.True random numbers: True random numbers are generated in non- deterministic ways. They are not predictable.
Warm-up 5.1 Introduction to Probability 1) 2) 3) 4) 5) 6) 7)
BAYESIAN INFERENCE Sampling techniques
Random Number Generators. Why do we need random variables? random components in simulation → need for a method which generates numbers that are random.
Discrete Event Simulation How to generate RV according to a specified distribution? geometric Poisson etc. Example of a DEVS: repair problem.
Pseudorandom Number Generators
Aho-Corasick String Matching An Efficient String Matching.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
Random numbers in Python Nobody knows what’s next...
Random Number Generation Fall 2013
Computer Simulation A Laboratory to Evaluate “What-if” Questions.
Component Reliability Analysis
Simulation of Random Walk How do we investigate this numerically? Choose the step length to be a=1 Use a computer to generate random numbers r i uniformly.
P. STATISTICS LESSON 7.2 ( DAY 2)
Simulation Examples ~ By Hand ~ Using Excel
MA3264 Mathematical Modelling Lecture 6 Monte Carlo Simulation.
Introduction to Probability
Montecarlo Simulation LAB NOV ECON Montecarlo Simulations Monte Carlo simulation is a method of analysis based on artificially recreating.
Chapter 14 Monte Carlo Simulation Introduction Find several parameters Parameter follow the specific probability distribution Generate parameter.
Introduction Random Process. Where do we start from? Undergraduate Graduate Probability course Our main course Review and Additional course If we have.
Math 15 – Elementary Statistics Sections 7.1 – 7.3 Probability – Who are the Frequentists?
Module 1: Statistical Issues in Micro simulation Paul Sousa.
Random Numbers and Simulation  Generating truly random numbers is not possible Programs have been developed to generate pseudo-random numbers Programs.
Monte Carlo Methods.
Experimental Method and Data Process: “Monte Carlo Method” Presentation # 1 Nafisa Tasneem CHEP,KNU
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Simulation.
SUPPLEMENT TO CHAPTER NINETEEN Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 1999 SIMULATION 19S-1 Chapter 19 Supplement Simulation.
Hit-and-Miss (or Rejection) Monte Carlo Method:
14.3 Simulation Techniques and the Monte Carlo Method simulation technique A simulation technique uses a probability experiment to mimic a real-life situation.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
Monte Carlo Methods So far we have discussed Monte Carlo methods based on a uniform distribution of random numbers on the interval [0,1] p(x) = 1 0  x.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
M ONTE C ARLO SIMULATION Modeling and Simulation CS
Reid & Sanders, Operations Management © Wiley 2002 Simulation Analysis D SUPPLEMENT.
Monte-Carlo method for Two-Stage SLP Lecture 5 Leonidas Sakalauskas Institute of Mathematics and Informatics Vilnius, Lithuania EURO Working Group on Continuous.
Simulating Probabilistic Behaviour
Chapter 7 Point Estimation of Parameters. Learning Objectives Explain the general concepts of estimating Explain important properties of point estimators.
Chapter 10 Introducing Probability BPS - 5th Ed. Chapter 101.
Understanding Randomness.  Many phenomena in the world are random: ◦ Nobody can guess the outcome before it happens. ◦ When we want things to be fair,
Computer simulation Sep. 9, QUIZ 2 Determine whether the following experiments have discrete or continuous out comes A fair die is tossed and the.
Markov Chain Monte Carlo for LDA C. Andrieu, N. D. Freitas, and A. Doucet, An Introduction to MCMC for Machine Learning, R. M. Neal, Probabilistic.
Expectation-Maximization (EM) Algorithm & Monte Carlo Sampling for Inference and Approximation.
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
Random numbers in C++ Nobody knows what’s next....
MONTE CARLO ANALYSIS When a system contains elements that exhibit chance in their behavior, the Monte Carlo method of simulation may be applied.
Components are existing in ONE of TWO STATES: 1 WORKING STATE with probability R 0 FAILURE STATE with probability F R+F = 1 RELIABLEFAILURE F R Selecting.
Simulation in Healthcare Ozcan: Chapter 15 ISE 491 Fall 2009 Dr. Burtner.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
The Unscented Particle Filter 2000/09/29 이 시은. Introduction Filtering –estimate the states(parameters or hidden variable) as a set of observations becomes.
Gil McVean, Department of Statistics Thursday February 12 th 2009 Monte Carlo simulation.
CSC321: Introduction to Neural Networks and Machine Learning Lecture 17: Boltzmann Machines as Probabilistic Models Geoffrey Hinton.
C HAPTER 6: P ROBABILITY Section 6.1 – The Idea of Probability.
Copyright © 2009 Pearson Education, Inc. Chapter 11 Understanding Randomness.
Module 9.2 Simulations. Computer simulation Having computer program imitate reality, in order to study situations and make decisions Applications?
Chapter 3 Generating Uniform Random Variables. In any kind of simulation, we need data, or we have to produce them. Especially in Monte Marco simulation.
1 Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman Probability Chapter 3 M A R I O F. T R I O L A Copyright © 1998, Triola, Elementary.
Problem 1: Service System Capacity CustomersServed Customers Queue Server Problem: Can a server taking an average of x time units meet the demand? Solution.
10.Deterministic Randomness 1.Random Sequences Random Sequences A sequence of numbers r 1, r 2,... is random if there are no discernible patterns.
Discrete Event Simulation - 4
Lecture 2 – Monte Carlo method in finance
Presentation transcript:

CHAPTER 5 Simulation Modeling

Introduction In many situations a modeler is unable to construct an analytic (symbolic) model adequately explaining the behavior being observed because of its complexity or the intractability of the proposed explicative model. In some circumstances, it may not be feasible either to observe the behavior directly or to conduct experiments. Examples Elevator systems Communications network Location of machines in a new industrial plant Evacuation routes Drag forces on new designs

Monte Carlo Simulation A Monte Carlo Simulation is a probabilistic technique (stochastic simulation) where a computer is used to draw samples of random numbers in order estimate the behavior of physical phenomena that may otherwise be untractable. Examples

5.1 Simulating Deterministic Behavior: Area Under a Curve Example: Approximation of 

Volume Under a Surface Volume of part of part of the sphere x 2 + y 2 + z 2 ≤ 1 that lies in the first octant (the actual volume is  /6  )

5.2 Generating Random Numbers Middle-Square Method Start with a four-digit number x 0, called the seed. Square it to obtain an eight-digit number (add a leading zero if necessary). Take the middle four digits as the next random number. Example Major drawback: tendency to degenerate to zero.

Generating Random Numbers Linear Congruence Modulus c Multiplier a Increment b Cycling: At some point all pseudorandom number generators begin to cycle, i.e. the sequence repeats itself. Example With a=1, b=7, and c=10

5.3 Simulating Probabilistic Behavior Relative frequency approach to Probability: Over the long run, the probability of an event can be thought of as the ratio Example Law of Large numbers for a fair coin

Simulating Probabilistic Behavior Example Monte Carlo simulation of the roll of a fair die. Monte Carlo simulation of the roll of an unfair die. Non-uniform random numbers. Normally distributed random numbers

Simulating Probabilistic Behavior Project #5, page 193