Problem 1 Given a high-resolution computer image of a map of an irregularly shaped lake with several islands, determine the water surface area. Assume.

Slides:



Advertisements
Similar presentations
Combining Monte Carlo Estimators If I have many MC estimators, with/without various variance reduction techniques, which should I choose?
Advertisements

1 Overview of Simulation When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions set for analytic.
11 Simulation. 22 Overview of Simulation – When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions.
Monte Carlo Methods and Statistical Physics
SE503 Advanced Project Management Dr. Ahmed Sameh, Ph.D. Professor, CS & IS Project Uncertainty Management.
1 12. Principles of Parameter Estimation The purpose of this lecture is to illustrate the usefulness of the various concepts introduced and studied in.
Sensitivity Analysis In deterministic analysis, single fixed values (typically, mean values) of representative samples or strength parameters or slope.
Simulation Operations -- Prof. Juran.
Software Reliability Engineering
Computer vision: models, learning and inference
COMPUTER MODELS IN BIOLOGY Bernie Roitberg and Greg Baker.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Simulation Modeling and Analysis
Computational statistics, course introduction Course contents  Monte Carlo Methods  Random number generation  Simulation methodology  Bootstrap  Markov.
#10 MONTE CARLO SIMULATION Systems Fall 2000 Instructor: Peter M. Hahn
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Module C9 Simulation Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas --
Algorithm Evaluation and Error Analysis class 7 Multiple View Geometry Comp Marc Pollefeys.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
The Monte Carlo Method: an Introduction Detlev Reiter Research Centre Jülich (FZJ) D Jülich
Random-Number Generation. 2 Properties of Random Numbers Random Number, R i, must be independently drawn from a uniform distribution with pdf: Two important.
Simulation.
Monte Carlo Simulation 1.  Simulations where random values are used but the explicit passage of time is not modeled Static simulation  Introduction.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
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.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 BSSRDF – Bidirectional surface scattering reflectance distribution function Radiance theory BRDF.
General Principle of Monte Carlo Fall 2013 By Yaohang Li, Ph.D.
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.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
1 SMU EMIS 7364 NTU TO-570-N Inferences About Process Quality Updated: 2/3/04 Statistical Quality Control Dr. Jerrell T. Stracener, SAE Fellow.
Monte Carlo Methods.
Monte Carlo Methods Versatile methods for analyzing the behavior of some activity, plan or process that involves uncertainty.
Monte Carlo Methods1 T Special Course In Information Science II Tomas Ukkonen
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.
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.
4. Numerical Integration. Standard Quadrature We can find numerical value of a definite integral by the definition: where points x i are uniformly spaced.
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
Distribute and Combine Like Terms Applications. What is the area of the following shape? 5 2x-3 1.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
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.
Point Pattern Analysis Point Patterns fall between the two extremes, highly clustered and highly dispersed. Most tests of point patterns compare the observed.
The Markov Chain Monte Carlo Method Isabelle Stanton May 8, 2008 Theory Lunch.
1 Motifs for Unknown Sites Vasileios Hatzivassiloglou University of Texas at Dallas.
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
1 1 Slide © 2004 Thomson/South-Western Simulation n Simulation is one of the most frequently employed management science techniques. n It is typically.
CHAPTER 5 Simulation Modeling. Introduction In many situations a modeler is unable to construct an analytic (symbolic) model adequately explaining the.
MAT 4830 Mathematical Modeling 04 Monte Carlo Integrations
Introduction to Sampling Methods Qi Zhao Oct.27,2004.
Section Lagrange Multipliers.
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Statistical Data Analysis: Lecture 5 1Probability, Bayes’ theorem 2Random variables and.
Problem 1: Service System Capacity CustomersServed Customers Queue Server Problem: Can a server taking an average of x time units meet the demand? Solution.
Markov Chain Monte Carlo in R
Modeling and Simulation CS 313
Lecture 1.31 Criteria for optimal reception of radio signals.
Computer vision: models, learning and inference
Lesson 8: Basic Monte Carlo integration
Random Numbers and Simulation
Ch. 5 – Applications of Derivatives
Problem 1: Service System Capacity
Modeling and Simulation CS 313
The Unit Circle.
MONTECARLO (STATIC) SIMULATIONS
Use the substitution method to find all solutions of the system of equations {image} Choose the answer from the following: (10, 2) (2, 10) (5, - 2) ( -
MONTECARLO (STATIC) SIMULATIONS
Preliminaries 0.1 THE REAL NUMBERS AND THE CARTESIAN PLANE 0.2
one of the equations for one of its variables Example: -x + y = 1
Choose the equation which solution is graphed and satisfies the initial condition y ( 0 ) = 8. {applet} {image}
(Finding area using integration)
Presentation transcript:

Problem 1 Given a high-resolution computer image of a map of an irregularly shaped lake with several islands, determine the water surface area. Assume that the x-y coordinates of every point on the map can be measured at an acceptable level of resolution. Suggest alternative solution approaches!

Monte Carlo Simulation 0 X Y Step 1: Enclose the area of interest in the smallest rectangle of known dimensions X and Y. Set j = 1, S = 0, and choose a large value for N where: j = trial number S = number of trials resulting in a hit on the water surface area N = total number of trials

Monte Carlo Simulation RN y 0 x X Y Step 2: Generate a uniformly distributed random number, RN x over the length of X. Step 3: Generate another uniformly distributed random number, RN y over the length of Y.

Monte Carlo Simulation RN y 0 x X Y Step 4: If the point of intersection, (RN x, RN y ), falls on the water surface area, add 1 to S. Step 5: Add 1 to j. If j > N, go to Step 6; otherwise, go to Step 2.

Monte Carlo Simulation RN y 0 x X Y Step 6: The estimate of the water surface area, A, is given by: NOTE: As N  , A  true value of the area X Y S N = A

Problem 2 Use the fundamental theory and logic of the Monte Carlo Simulation technique to estimate the area under the Sine curve over 0 and . 0 1 y  Sin (x)

Monte Carlo Simulation Step 1: Enclose the area of interest in the smallest rectangle of known dimensions  and 1. Set j = 1, S = 0, and choose a large value for N where: j = trial number S = number of trials with a hit on the area under the Sin (x) curve N = total number of trials 0 1 y  Sin (x)

Monte Carlo Simulation 0 1 y  Sin (x) Step 2: Generate a uniformly distributed random number, RN x over the length of . Step 3: Generate another uniformly distributed random number, RN y over the length of 1. RN x RN y

Monte Carlo Simulation 0 1 y  Sin (x) RN x RN y Step 4: If the point of intersection, (RN x, RN y ), falls on or below the Sin (x) curve (i.e., if RN y ≤ Sin (RN x )), add 1 to S. Step 5: Add 1 to j. If j > N, go to Step 6; otherwise, go to Step 2.

Monte Carlo Simulation 0 1 y  Sin (x) RN x RN y Step 6: The estimate of the area, A, is given by: NOTE: As N  , A  2 (true value of the area) X Y S N = A

Problem 3 Use the fundamental theory and logic of the Monte Carlo Simulation technique to solve the following optimization problem: MaximizeZ = ( e X 1 + X 2 ) ( 1 – X 3 ) 2 Subject to: 0 ≤ X 1 ≤ 1 0 ≤ X 2 ≤ 2 2 ≤ X 3 ≤ 3

Step 1: Set j = 1 and choose a large value for N where: j = trial number N = total number of trials Monte Carlo Simulation Use the fundamental theory and logic of the Monte Carlo Simulation technique to solve the following optimization problem: MaximizeZ = ( e X 1 + X 2 ) ( 1 – X 3 ) 2 Subject to: 0 ≤ X 1 ≤ 1 0 ≤ X 2 ≤ 2 2 ≤ X 3 ≤ 3

Step 2: Generate a proper random number, RN 1, over 0 and 1. Step 3: Generate another proper random number, RN 2, over 0 and 2. Step 4: Generate another proper random number, RN 3, over 2 and 3. Monte Carlo Simulation Use the fundamental theory and logic of the Monte Carlo Simulation technique to solve the following optimization problem: MaximizeZ = ( e X 1 + X 2 ) ( 1 – X 3 ) 2 Subject to: 0 ≤ X 1 ≤ 1 0 ≤ X 2 ≤ 2 2 ≤ X 3 ≤ 3

Step 5: Substitute RN 1 for X 1, RN 2 for X 2, and RN 3 for X 3 in the objective function. Store its value in Z(j) and record the corresponding values for X 1, X 2, and X 3. Step 6: Add 1 to j. If j > N, go to Step 7; otherwise, go to Step 2. Monte Carlo Simulation Use the fundamental theory and logic of the Monte Carlo Simulation technique to solve the following optimization problem: MaximizeZ = ( e X 1 + X 2 ) ( 1 – X 3 ) 2 Subject to: 0 ≤ X 1 ≤ 1 0 ≤ X 2 ≤ 2 2 ≤ X 3 ≤ 3

Step 7: The approximate solution of the problem is determined by the values of X 1 ( = RN 1 ), X 2 ( = RN 2 ), and X 3 ( = RN 3 ), which correspond to the maximum value of { Z(j), j = 1, 2, 3,..., N }. NOTE: As N  , X 1  1, X 2  2, and X 3  3. Monte Carlo Simulation Use the fundamental theory and logic of the Monte Carlo Simulation technique to solve the following optimization problem: MaximizeZ = ( e X 1 + X 2 ) ( 1 – X 3 ) 2 Subject to: 0 ≤ X 1 ≤ 1 0 ≤ X 2 ≤ 2 2 ≤ X 3 ≤ 3