Mote Carlo Method for Uncertainty The objective is to introduce a simple (almost trivial) example so that you can Perform.

Slides:



Advertisements
Similar presentations
Modeling of Data. Basic Bayes theorem Bayes theorem relates the conditional probabilities of two events A, and B: A might be a hypothesis and B might.
Advertisements

The Normal Distribution
Probabilistic models Haixu Tang School of Informatics.
Structural reliability analysis with probability- boxes Hao Zhang School of Civil Engineering, University of Sydney, NSW 2006, Australia Michael Beer Institute.
Chapter 6 Sampling and Sampling Distributions
Probability Distributions CSLU 2850.Lo1 Spring 2008 Cameron McInally Fordham University May contain work from the Creative Commons.
SE503 Advanced Project Management Dr. Ahmed Sameh, Ph.D. Professor, CS & IS Project Uncertainty Management.
Materials for Lecture 11 Chapters 3 and 6 Chapter 16 Section 4.0 and 5.0 Lecture 11 Pseudo Random LHC.xls Lecture 11 Validation Tests.xls Next 4 slides.
Sampling Distributions (§ )
Outline/Coverage Terms for reference Introduction
Propagation of Error Ch En 475 Unit Operations. Quantifying variables (i.e. answering a question with a number) 1. Directly measure the variable. - referred.
Approaches to Data Acquisition The LCA depends upon data acquisition Qualitative vs. Quantitative –While some quantitative analysis is appropriate, inappropriate.
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem, random variables, pdfs 2Functions.
Sampling Distributions
Chapter 7 Sampling and Sampling Distributions
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 8 1Probability, Bayes’ theorem, random variables, pdfs 2Functions of.
The Lognormal Distribution MGT 4850 Spring 2008 University of Lethbridge.
BCOR 1020 Business Statistics
Part III: Inference Topic 6 Sampling and Sampling Distributions
Statistics and Probability Theory Prof. Dr. Michael Havbro Faber
2.3. Measures of Dispersion (Variation):
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.
Lecture II-2: Probability Review
DATA Exploration: Statistics (One Variable) 1.Basic EXCELL/MATLAB functions for data exploration 2.Measures of central tendency, Distributions 1.Mean 2.Median.
1 Assessment of Imprecise Reliability Using Efficient Probabilistic Reanalysis Farizal Efstratios Nikolaidis SAE 2007 World Congress.
01/24/05© 2005 University of Wisconsin Last Time Raytracing and PBRT Structure Radiometric quantities.
Chapter 3 Basic Concepts in Statistics and Probability
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Review and Preview This chapter combines the methods of descriptive statistics presented in.
Traffic Modeling.
Chapter © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or.
Monte Carlo Simulation CWR 6536 Stochastic Subsurface Hydrology.
Exam I review Understanding the meaning of the terminology we use. Quick calculations that indicate understanding of the basis of methods. Many of the.
Theory of Probability Statistics for Business and Economics.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Two Functions of Two Random.
QBM117 Business Statistics Probability and Probability Distributions Continuous Probability Distributions 1.
Measures of Dispersion CUMULATIVE FREQUENCIES INTER-QUARTILE RANGE RANGE MEAN DEVIATION VARIANCE and STANDARD DEVIATION STATISTICS: DESCRIBING VARIABILITY.
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.
1 Chapter 19 Monte Carlo Valuation. 2 Simulation of future stock prices and using these simulated prices to compute the discounted expected payoff of.
Lab 3b: Distribution of the mean
Propagation of Error Ch En 475 Unit Operations. Quantifying variables (i.e. answering a question with a number) 1. Directly measure the variable. - referred.
Statistics Presentation Ch En 475 Unit Operations.
Three Frameworks for Statistical Analysis. Sample Design Forest, N=6 Field, N=4 Count ant nests per quadrat.
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.
Chapter 19 Monte Carlo Valuation. Copyright © 2006 Pearson Addison-Wesley. All rights reserved Monte Carlo Valuation Simulation of future stock.
Statistics for Business and Economics 8 th Edition Chapter 7 Estimation: Single Population Copyright © 2013 Pearson Education, Inc. Publishing as Prentice.
1 Introduction to Statistics − Day 4 Glen Cowan Lecture 1 Probability Random variables, probability densities, etc. Lecture 2 Brief catalogue of probability.
BASIC STATISTICAL CONCEPTS Statistical Moments & Probability Density Functions Ocean is not “stationary” “Stationary” - statistical properties remain constant.
Statistics Presentation Ch En 475 Unit Operations.
Uncertainty in Mechanics of Materials. Outline Uncertainty in mechanics of materials Why consider uncertainty Basics of uncertainty Uncertainty analysis.
2/15/2016ENGM 720: Statistical Process Control1 ENGM Lecture 03 Describing & Using Distributions, SPC Process.
G. Cowan Lectures on Statistical Data Analysis Lecture 9 page 1 Statistical Data Analysis: Lecture 9 1Probability, Bayes’ theorem 2Random variables and.
Gil McVean, Department of Statistics Thursday February 12 th 2009 Monte Carlo simulation.
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Statistical Data Analysis: Lecture 5 1Probability, Bayes’ theorem 2Random variables and.
Chapter 6 Sampling and Sampling Distributions
Fundamentals of Data Analysis Lecture 11 Methods of parametric estimation.
Yandell – Econ 216 Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Uncertainty Analysis in Emission Inventories
Monte Carlo Simulation
Basic simulation methodology
Statistical Methods For Engineers
Statistics Review ChE 477 Winter 2018 Dr. Harding.
LESSON 12: EXPONENTIAL DISTRIBUTION
Distributions and Densities: Gamma-Family and Beta Distributions
Chapter 6 Introduction to Continuous Probability Distributions
Sampling Distributions (§ )
2.3. Measures of Dispersion (Variation):
Chapter 6 Continuous Probability Distributions
Presentation transcript:

Mote Carlo Method for Uncertainty The objective is to introduce a simple (almost trivial) example so that you can Perform a Monte- Carlo Analysis based On Field data. The problem at hand is to estimate the discharge Q of a channel from a given estimate Of flow velocity (speed) u and cross section area— Q = uA 5 groups obtained the following field data u (m/s) A (m^2) Mean We could just calculate a single value Using the means Q=uA= X = But we would like to do better and provide an estimate of Uncertainty

Clearly from the available five measurements of velocity and area we can calculate the properties (statistics) of the measurement distributions. mean max min std (assuming normal pdf) UA This gives us an idea about the uncertainty in our measurements—but we would like to know How does this uncertainty manifest itself in our calculated variable Q = uA i.e., How do the uncertainties in our measured variables propagate through calculations ? and How do uncertaninties combine to form the pdf of the calculated variable? For this we use a so-called Monte-Carlo technique In the current case we 1:use assumed forms of the distributions (pdfs) of velocity and area with the distribution measures (e.g., mean and std) calculated from our given 5 sets of field measurements 2: Select 100+ simulated field measured values of u and A (at random) from these assumed pdfs 3: Calculate 100+ values of Q and make statistics from the resulting distribution

All most all the statistics Voller knows A set of independent random numbers (variables) for a probability density function (pdf) Two common forms are The uniform pdf Where a random number x is in the interval [min, max] min max frequency The normal distribution Wikipedia mean of variables Measure of spread or likelihood of occurrence 68.2% of members are with in one “sigma” of mean Standard Deviation Excel Formula1.The excel function rand() generates a random number in the uniform distribution [0,1] 2. The excel function stdev(range) gives the standard deviation of a the selection (range) of variables from a normal 3. The excel function average(range) gives the mean of those numbers

Three more important formulas related to normal distributions 1.If x belongs to a normal random dist. With mean “mu” and st.dev “sigma”. Then the variable Belongs to the Standard Normal Dist of mean mu = 0 and st.dev sigma=1 2. The above formula is invertible so if we select a variable z at random from the standard normal we can find the equivalent variable x in the normal dist of mean mu and standard deviation sigma through 3. The Box Muller formula: If we select at random two variables U and V from the uniform distribution [0,1] the formula gives us a standard normal random variable, i.e., a variable in the normal pdf of mean mu =0 and standard deviation sigma = 1

u (m/s) A (m^2) MC with uniform pdf—we could do this analytically but this will demonstrate steps Start by Calculating means, max, min and for later STD. Note an analytical MC estimate can be obtained from Q=meanu X meanA maxQ=maxu X maxA minQ=minu X minA mean max min std Starting in cell c15 of the spread sheet create the following line of 5 cell operations c15 d15 e15 f15 g15 =rand() =rand() =minu+(maxu-minu)*c15 =minA+(maxA-minA)*d15 =e15*f15 Copy this line of 4 equations 100 (or more times) down the Sheet. Each copy representing the data collection efforts of an imaginary group governed by the same statistics The mean of Q of these data will be the Q value and the range will be given by maxQ - minQ You could also calculate the standard deviation of the Q values but here this has no meaning But a Manuel MC is as follows Enter data Into spread- sheet Name Each cell, e.g. maxA Appropriate excel function Q

Assuming a normal pdf takes a little more work—not sure if there is a closed solution Start in cell k15 and write down an excel line with 9 cell operations k15 l15 m15 n15 o15 p15 rand() rand() rand () rand() sqrt(-2*ln(k15))*cos(2*pi()l15) sqrt(-2*ln(n15))*cos(2*pi()o15 The first 6 cells operations are The next three create the pseudo data and calculate Q q15 r15 t15 =stdu*o15+meanu =stdA*p15+meanA =q15*r15 As before Copy this line of 4 equations 100 (or more times) down the Sheet. Each copy representing the data collection efforts of an imaginary group governed by the same statistics The mean of Q of these data will be the Q value and the +- range will be now be given by the calculated standard deviation of the Q values

“In probability theory and statistics, the Lévy distribution, named after Paul Pierre Lévy, is a continuous probability distribution for a non-negative random variable” distribution Not all distributions are quite as straightforward as Uniform and Normal One of particular importance is the c is scale parameter mu is shift mu=0 What property does this distribution have that makes it applicable to environmental applications ?

What property does this distribution have that makes it applicable to environmental applications ? Allows for the Finite probability of an extreme event Fat—power-law tail Also—no mean or variance !!