Analysis of Monte Carlo Integration Fall 2012 By Yaohang Li, Ph.D.

Slides:



Advertisements
Similar presentations
+ Validation of Simulation Model. Important but neglected The question is How accurately does a simulation model (or, for that matter, any kind of model)
Advertisements

Sample Approximation Methods for Stochastic Program Jerry Shen Zeliha Akca March 3, 2005.
Monte Carlo Methods and Statistical Physics
Sampling: Final and Initial Sample Size Determination
Variance reduction techniques. 2 Introduction Simulation models should be coded such that they are efficient. Efficiency in terms of programming ensures.
Kartic Subr, Derek Nowrouzezahrai, Wojciech Jarosz, Jan Kautz and Kenny Mitchell Disney Research, University of Montreal, University College London.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.3 Estimating a Population mean µ (σ known) Objective Find the confidence.
BAYESIAN INFERENCE Sampling techniques
Importance Sampling. What is Importance Sampling ? A simulation technique Used when we are interested in rare events Examples: Bit Error Rate on a channel,
Sampling Attila Gyulassy Image Synthesis. Overview Problem Statement Random Number Generators Quasi-Random Number Generation Uniform sampling of Disks,
Understanding the Accuracy of Assembly Variation Analysis Methods ADCATS 2000 Robert Cvetko June 2000.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lectures 18, 19: Monte Carlo Integration Ravi Ramamoorthi Acknowledgements.
1-1 Regression Models  Population Deterministic Regression Model Y i =  0 +  1 X i u Y i only depends on the value of X i and no other factor can affect.
CF-3 Bank Hapoalim Jun-2001 Zvi Wiener Computational Finance.
Pricing an Option Monte Carlo Simulation. We will explore a technique, called Monte Carlo simulation, to numerically derive the price of an option or.
A general assistant tool for the checking results from Monte Carlo simulations Koi, Tatsumi SLAC/SCCS.
統計計算與模擬 政治大學統計系余清祥 2003 年 5 月 26 日 ~ 6 月 3 日 第十四、十五週:蒙地卡羅積分
Chapter 11 Multiple Regression.
3-3 Measures of Variation. Definition The range of a set of data values is the difference between the maximum data value and the minimum data value. Range.
A) Transformation method (for continuous distributions) U(0,1) : uniform distribution f(x) : arbitrary distribution f(x) dx = U(0,1)(u) du When inverse.
1 Confidence Intervals for Means. 2 When the sample size n< 30 case1-1. the underlying distribution is normal with known variance case1-2. the underlying.
Chapter 6 Sampling and Sampling Distributions
G4ConvergenceTester and ExN03Con KOI, Tatsumi SLAC National Accelerator Laboratory 1Geant4 Collaboration Workshop
AM Recitation 2/10/11.
1 CE 530 Molecular Simulation Lecture 7 David A. Kofke Department of Chemical Engineering SUNY Buffalo
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.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 11 Some materials adapted from Prof. Keith E. Gubbins:
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
01/24/05© 2005 University of Wisconsin Last Time Raytracing and PBRT Structure Radiometric quantities.
Short Resume of Statistical Terms Fall 2013 By Yaohang Li, Ph.D.
General Principle of Monte Carlo Fall 2013
Lecture 14 Dustin Lueker. 2  Inferential statistical methods provide predictions about characteristics of a population, based on information in a sample.
1 Theoretical Physics Experimental Physics Equipment, Observation Gambling: Cards, Dice Fast PCs Random- number generators Monte- Carlo methods Experimental.
General Principle of Monte Carlo Fall 2013 By Yaohang Li, Ph.D.
Monte Carlo I Previous lecture Analytical illumination formula This lecture Numerical evaluation of illumination Review random variables and probability.
Module 1: Statistical Issues in Micro simulation Paul Sousa.
Monte Carlo Methods1 T Special Course In Information Science II Tomas Ukkonen
Performance of Resampling Variance Estimation Techniques with Imputed Survey data.
Chapter 4 Stochastic Modeling Prof. Lei He Electrical Engineering Department University of California, Los Angeles URL: eda.ee.ucla.edu
Basic Numerical Procedure
4. Numerical Integration. Standard Quadrature We can find numerical value of a definite integral by the definition: where points x i are uniformly spaced.
Quasi-Monte Carlo Methods Fall 2012 By Yaohang Li, Ph.D.
Sections 7-1 and 7-2 Review and Preview and Estimating a Population Proportion.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
© The MathWorks, Inc. ® ® Monte Carlo Simulations using MATLAB Vincent Leclercq, Application engineer
Section 6-3 Estimating a Population Mean: σ Known.
Section 7-3 Estimating a Population Mean: σ Known.
CS348B Lecture 9Pat Hanrahan, Spring 2005 Overview Earlier lecture Statistical sampling and Monte Carlo integration Last lecture Signal processing view.
Variance Reduction Fall 2012
Lecture 13 Dustin Lueker. 2  Inferential statistical methods provide predictions about characteristics of a population, based on information in a sample.
Monte Carlo Methods and Grid Computing
Active Learning Lecture Slides
Statistical Estimation
Introduction to Monte Carlo Method
Basic simulation methodology
Green’s Function Monte Carlo Fall 2013
4. Numerical Integration
Rutgers Intelligent Transportation Systems (RITS) Laboratory
Chapter 4a Stochastic Modeling
Summarising and presenting data - Univariate analysis continued
IENG 486 Statistical Quality & Process Control
Monte Carol Integration
Sampling Distribution
Sampling Distribution
Chapter 4a Stochastic Modeling
Monte Carlo I Previous lecture Analytical illumination formula
Lecture 4 - Monte Carlo improvements via variance reduction techniques: antithetic sampling Antithetic variates: for any one path obtained by a gaussian.
More Monte Carlo Methods
Chapter 4. Supplementary Questions
政治大學統計系余清祥 2004年5月17日~ 5月26日 第十四、十五週:蒙地卡羅積分 、縮減變異數
Presentation transcript:

Analysis of Monte Carlo Integration Fall 2012 By Yaohang Li, Ph.D.

Review Last Class –Numerical Integration –Monte Carlo Integration Crude Monte Carlo Hit-or-Miss Monte Carlo Comparison –General Principle of Monte Carlo This Class –Analysis of Monte Carlo Integration –Variance Reduction Methods –Assignment #2 Next Class –Random Numbers

Curse of Dimensionality –If one needs n points to achieve certain accuracy for an 1-D integral, to achieve the same accuracy one needs n s points for s-dimensional integral Errors in high-dimensional functions –Rectangle Rule –Trapezoidal Rule –Simpson’s Rule –Convergence Rate O(n -  /s )

High-Dimensional Monte Carlo Integration Consider the following integral Definition of expectation of a function on random variable  that is uniformly distributed Standard error –Independent of Dimension –  /n 1/2

Convergence Rate Monte Carlo Integration –Convergence Rate –O(cN -1/2 ) Analysis –Very slow convergence –To get 1 digit of accuracy usually requires 100 times more computations

Confidence Interval Estimator for the standard error Confidence Interval –66% –95% –99%

Variance Reduction Methods Variance Reduction Techniques –Employs an alternative estimator Unbiased More deterministic Yields a smaller variance Methods –Stratified Sampling –Importance Sampling –Control Variates –Antithetic Variates

Stratified Sampling Idea –Break the range of integration into several pieces –Apply crude Monte Carlo sampling to each piece separately Analysis of Stratified Sampling –Estimator –Variance Conclusion –If the stratification is well carried out, the variance of stratified sampling will be smaller than crude Monte Carlo

Importance Sampling Idea –Concentrate the distribution of the sample points in the parts of the interval that are of most importance instead of spreading them out evenly Importance Sampling –where g and G satisfying –G(x) is a distribution function

Importance Sampling Variance How to select a good sampling function? –How about g=cf? –g must be simple enough for us to know its integral theoretically.

Control Variates –  (x) is the control variate with known integral –Estimator t-t’+  ’ is the unbiased estimator  ’ is the first integral –Variance var(t-t’+  ’)=var(t)+var(t’)-2cov(t,t’) if 2cov(t,t’)<var(t’), then the variance is smaller than crude Monte Carlo –t and t’ should have strong positive correlation

Antithetic Variates Main idea –Select a second estimate that has a strong negative correlation with the original estimator –t’’ has the same expectation of t Estimator –[t+t’’]/2 is an unbiased estimator of  –var([t+t’’]/2)=var(t)/4+var(t’’)/4+cov(t,t’’)/2 Commonly used antithetic variate –(t+t’’)/2=f(  )/2+ f(1-  )/2 –If f is a monotone function, f(  ) and f(1-  ) are negatively correlated

Summary Analysis of Monte Carlo Integration –Curse of Dimensionality –Error Analysis of Monte Carlo Integration Variance Reduction Methods –Stratified Sampling –Importance Sampling –Control Variates –Antithetic Variates

What I want you to do? Review Slides Work on your Assignment 1 if you haven’t finished Work on your Assignment 2