MONTE CARLO TESTING AND VERIFICATION OF NUMERICAL ALGORITHM IMPLEMENTATIONS. David D. Pokrajac Abdullah-Al-Zubaer Imran Predrag R.

Size: px
Start display at page:

Download "MONTE CARLO TESTING AND VERIFICATION OF NUMERICAL ALGORITHM IMPLEMENTATIONS. David D. Pokrajac Abdullah-Al-Zubaer Imran Predrag R."

Transcription

1 MONTE CARLO TESTING AND VERIFICATION OF NUMERICAL ALGORITHM IMPLEMENTATIONS David D. Pokrajac Abdullah-Al-Zubaer Imran Predrag R. Bakic

2 OUTLINES Objectives Validation Monte Carlo Approach Numerical Algorithms Validation Software Testing Software Verification Application in Partial Volume Approximation Results Discussion & Conclusions Acknowledgements 2

3 PARTIAL VOLUME APPROXIMATION 1 Voxel V n 2 V 1 Adipose tissue x c n 1 2 Skin x 1 x 2 Ligament-Adipose boundary Cooper s ligament 3

4 OBJECTIVES To develop a statistical test in order to assess the correctness of a numerical algorithm implementation To propose a Monte Carlo method of an approximation algorithm To illustrate the methodology on partial volumes 4

5 VALIDATION Software testing Verification Software testing determine whether the algorithm in quest is correctly implemented Software verification comprises techniques determine the adequacy of the developed algorithm Software testing by providing a limited set of test cases with known outputs Difficulty to examine a variety of potential inputs to software In software verification, it is often of interest to determine the accuracy of an approximation algorithm Validation can be performed empirically 5

6 MONTE CARLO AS THE REPLACEMENT The application of Monte Carlo approach for validation of a class of numerical software. The method is developed for a class of multiple integral computation problems and demonstrated on a related problem of partial volume computation A statistics developed and what shows: H0: algorithm implementation is correct The statistics has asymptotical standard normal distribution 6

7 BASICS Goal: calculate integrals I i = D f i x 1, x 2,, x k 1 The Monte Carlo approach as follows: dx 1 dx 2 dx k 1, i = 1,, T a) Uniformly sample N MC independent points x j = x j,1, x j,2,, x j,k [0,1] k, j = 1, N MC b) Determine: N i = x j x j,k f i x j,1, x j,2,, x j,k 1, j = 1,, N MC c) Compute an approximation I MC,i = N i N MC For a randomly chosen x j [0,1] k, the probability that x j,k f i x j,1, x j,2,, x j,k 1 is equal to I i. A random variable N i follows a Binomial distribution with expectation N MC I i and variance N MC I i 1 I i 7

8 SOFTWARE TESTING Assume: I a,i = g i x 1, x 2,, x D k 1 1,, T is implemented. dx 1 dx 2 dx k 1, i = g i x 1, x 2,, x k 1 = F f i x 1, x 2,, x k 1 are suitable chosen functions Consider a set of functions f i (i,,t): the algorithm provides an exact solution Under H 0 that the algorithm is correctly implemented, for large enough T, random variable Z has approximately Gaussian distribution Variance: σ X 2 + σ Y 2 2σ XY (X and Y: Two random variables) Z = Z s Z s Z = s2 ε 2 T + 3s2 I a 1 I a TN MC 2 s ε 2 = 1 T 1 T i=1 ε i 2 ε 2 2 ε 2 = 1 T T 2 ε i i=1 8

9 SOFTWARE VERIFICATION A random variable Z defined as: Z = X Y = 1 T T i=1 ε i 2 1 N MC 1 1 T T i=1 I MC,i 1 I MC,i Z, is asymptotically Gaussian, with mean equal to E ε A 2 and variance which square root is bounded 1T σ ε2 σ I MC 1 I MC N MC 1 σ Z 1 T σ ε2 + σ I MC 1 I MC N MC 1 The boundaries for standard deviation of the estimate can be obtained when a squared root σ of variance is estimated using a sample standard deviation s as: s Z,min s Z s Z,max, s Z,min = 1 T s ε2 s I MC 1 I MC N MC 1 s Z,max = 1 T s ε2 + s I MC 1 I MC N MC 1 9

10 PRACTICAL APPLICATION Case p 1 (6 bits) p 2 (6 bits) 1.Skin and air 0 p Air 0 2.Cooper s ligament; fat p Fat Cooper s ligament; 0 p Dens 1 dense e 4. Skin; dense tissue 0 p Skin 3 5. Skin; fat tissue 0 p Skin 2 6. Skin; Cooper s ligament 1-p Skin p Skin 2 Label (4 bits) Skin, Cooper s ligament and dense tissue 8. Skin, Cooper s ligament and fat tissue p Cooper p Skin 3 p Cooper p Skin 2 Skin Two-material ligament Three-material ligament 10

11 RESULTS COMPUTED P-VALUES FOR STATISTICAL TEST OF ALGORITHM FOR CORRECT IMPLEMENTATION OF PARTIAL VOLUME ALGORITHM OBTAINED FOR DIFFERENT COMBINATIONS OF T AND N MC T 1e6 1e5 1e4 1e5 1e4 5e6 1e6 1e5 N MC 1e5 1e5 1e5 1e4 1e p-value

12 RESULTS (CONT D) ESTIMATED APPROXIMATION ERROR (MEAN AND STANDARD DEVIATION BOUNDARIES): N MC = 63. MSE A FROM CORRESPONDING TO Z IS INCLUDED FOR COMPARISON Voxels containing T Z s Z,min s Z,max MSE A Skin 1,597, e e e e-05 Ligaments and Compartmental Tissue 6,435, e e e e-04 12

13 INCORRECT IMPLEMENTATION (3-MATERIAL PV) T=10,000 N=10,000 z = 2.847e 04 σ z 2 = e 05 p value = e 31 H 0 can be rejected! 13 Histogram of ε for N=10,000, T=10,000

14 CORRECT IMPLEMENTATION (3-MATERIAL PV) T=10,000 N=10,000 z = e 09 σ 2 z = e 07 p value = H 0 cannot be rejected! 14 Histogram of ε for N=10,000, T=10,000

15 DISCUSSION AND CONCLUSIONS The accuracy of the Monte Carlo approximation is of secondary importance Manual evaluation of test cases needed to test a complex algorithm is not feasible This distinguishes the proposed approach from other approaches that may provide only the point estimate of the approximation error The proposed approach can be easily extended whenever the estimation using an analog of I MC,i = N i is possible and N MC where N i follows binomial distribution. 15

16 ACKNOWLEDGEMENTS David D. Pokrajac Associate Dean of Research & Analytics Delaware State University Predrag R. Bakic Associate Professor of Radiology University of Pennsylvania Alton Thompson Provost and Executive Vice President for Academic Affairs Delaware State University Department of Computer & Information Sciences Delaware State university 16

17 Thanks 17

Outline. Virtual Clinical Trials. Psychophysical Discrimination of Gaussian Textures. Psychophysical Validation

Outline. Virtual Clinical Trials. Psychophysical Discrimination of Gaussian Textures. Psychophysical Validation Phantom Realism in Virtual (pre-) Clinical Trials: A Statistical Properties Perspective Craig Abbey Phantom Realism What is the goal? What can we do? Outline Statistical Properties Power spectra Virtual

More information

Overview. DS GA 1002 Probability and Statistics for Data Science. Carlos Fernandez-Granda

Overview. DS GA 1002 Probability and Statistics for Data Science.   Carlos Fernandez-Granda Overview DS GA 1002 Probability and Statistics for Data Science http://www.cims.nyu.edu/~cfgranda/pages/dsga1002_fall17 Carlos Fernandez-Granda Probability and statistics Probability: Framework for dealing

More information

Computer Intensive Methods in Mathematical Statistics

Computer Intensive Methods in Mathematical Statistics Computer Intensive Methods in Mathematical Statistics Department of mathematics johawes@kth.se Lecture 16 Advanced topics in computational statistics 18 May 2017 Computer Intensive Methods (1) Plan of

More information

Markov Processes. Stochastic process. Markov process

Markov Processes. Stochastic process. Markov process Markov Processes Stochastic process movement through a series of well-defined states in a way that involves some element of randomness for our purposes, states are microstates in the governing ensemble

More information

Two-Stage Stochastic and Deterministic Optimization

Two-Stage Stochastic and Deterministic Optimization Two-Stage Stochastic and Deterministic Optimization Tim Rzesnitzek, Dr. Heiner Müllerschön, Dr. Frank C. Günther, Michal Wozniak Abstract The purpose of this paper is to explore some interesting aspects

More information

EEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 19

EEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 19 EEC 686/785 Modeling & Performance Evaluation of Computer Systems Lecture 19 Department of Electrical and Computer Engineering Cleveland State University wenbing@ieee.org (based on Dr. Raj Jain s lecture

More information

ON SMALL SAMPLE PROPERTIES OF PERMUTATION TESTS: INDEPENDENCE BETWEEN TWO SAMPLES

ON SMALL SAMPLE PROPERTIES OF PERMUTATION TESTS: INDEPENDENCE BETWEEN TWO SAMPLES ON SMALL SAMPLE PROPERTIES OF PERMUTATION TESTS: INDEPENDENCE BETWEEN TWO SAMPLES Hisashi Tanizaki Graduate School of Economics, Kobe University, Kobe 657-8501, Japan e-mail: tanizaki@kobe-u.ac.jp Abstract:

More information

Density Estimation (II)

Density Estimation (II) Density Estimation (II) Yesterday Overview & Issues Histogram Kernel estimators Ideogram Today Further development of optimization Estimating variance and bias Adaptive kernels Multivariate kernel estimation

More information

Outline. Simulation of a Single-Server Queueing System. EEC 686/785 Modeling & Performance Evaluation of Computer Systems.

Outline. Simulation of a Single-Server Queueing System. EEC 686/785 Modeling & Performance Evaluation of Computer Systems. EEC 686/785 Modeling & Performance Evaluation of Computer Systems Lecture 19 Outline Simulation of a Single-Server Queueing System Review of midterm # Department of Electrical and Computer Engineering

More information

Robustness to Parametric Assumptions in Missing Data Models

Robustness to Parametric Assumptions in Missing Data Models Robustness to Parametric Assumptions in Missing Data Models Bryan Graham NYU Keisuke Hirano University of Arizona April 2011 Motivation Motivation We consider the classic missing data problem. In practice

More information

Particle Filters. Outline

Particle Filters. Outline Particle Filters M. Sami Fadali Professor of EE University of Nevada Outline Monte Carlo integration. Particle filter. Importance sampling. Degeneracy Resampling Example. 1 2 Monte Carlo Integration Numerical

More information

Multivariate statistical methods and data mining in particle physics

Multivariate statistical methods and data mining in particle physics Multivariate statistical methods and data mining in particle physics RHUL Physics www.pp.rhul.ac.uk/~cowan Academic Training Lectures CERN 16 19 June, 2008 1 Outline Statement of the problem Some general

More information

Critical Values for the Test of Flatness of a Histogram Using the Bhattacharyya Measure.

Critical Values for the Test of Flatness of a Histogram Using the Bhattacharyya Measure. Tina Memo No. 24-1 To Appear in; Towards a Quantitative mehtodology for the Quantitative Assessment of Cerebral Blood Flow in Magnetic Resonance Imaging. PhD Thesis, M.L.J.Scott, Manchester, 24. Critical

More information

Diffusion. CS/CME/BioE/Biophys/BMI 279 Nov. 15 and 20, 2016 Ron Dror

Diffusion. CS/CME/BioE/Biophys/BMI 279 Nov. 15 and 20, 2016 Ron Dror Diffusion CS/CME/BioE/Biophys/BMI 279 Nov. 15 and 20, 2016 Ron Dror 1 Outline How do molecules move around in a cell? Diffusion as a random walk (particle-based perspective) Continuum view of diffusion

More information

NEW SEQUENCES FROM OLD: A SEARCH FOR LOW DISCREPANCY SEQUENCES. Jarvis Haupt

NEW SEQUENCES FROM OLD: A SEARCH FOR LOW DISCREPANCY SEQUENCES. Jarvis Haupt EW SEQUECES FROM OLD: A SEARCH FOR LOW DISCREPACY SEQUECES Jarvis Haupt Electrical and Computer Engineering Department University of Wisconsin, Madison, WI, USA jdhaupt@wisc.edu ABSTRACT Aside from their

More information

Sampling Distributions Allen & Tildesley pgs and Numerical Recipes on random numbers

Sampling Distributions Allen & Tildesley pgs and Numerical Recipes on random numbers Sampling Distributions Allen & Tildesley pgs. 345-351 and Numerical Recipes on random numbers Today I explain how to generate a non-uniform probability distributions. These are used in importance sampling

More information

Tutorial on Approximate Bayesian Computation

Tutorial on Approximate Bayesian Computation Tutorial on Approximate Bayesian Computation Michael Gutmann https://sites.google.com/site/michaelgutmann University of Helsinki Aalto University Helsinki Institute for Information Technology 16 May 2016

More information

Chapter 4: Monte Carlo Methods. Paisan Nakmahachalasint

Chapter 4: Monte Carlo Methods. Paisan Nakmahachalasint Chapter 4: Monte Carlo Methods Paisan Nakmahachalasint Introduction Monte Carlo Methods are a class of computational algorithms that rely on repeated random sampling to compute their results. Monte Carlo

More information

Outline. Indrin J. Chetty, AAPM 2006 Monte Carlo CE course. Indrin J. Chetty Henry Ford Hospital. David W. O. Rogers Carleton University

Outline. Indrin J. Chetty, AAPM 2006 Monte Carlo CE course. Indrin J. Chetty Henry Ford Hospital. David W. O. Rogers Carleton University AAPM Task Group Report No. 105: Issues associated with clinical implementation of Monte Carlo-based photon and electron external beam treatment planning Indrin J. Chetty Henry Ford Hospital David W. O.

More information

Mathematical Methods for Neurosciences. ENS - Master MVA Paris 6 - Master Maths-Bio ( )

Mathematical Methods for Neurosciences. ENS - Master MVA Paris 6 - Master Maths-Bio ( ) Mathematical Methods for Neurosciences. ENS - Master MVA Paris 6 - Master Maths-Bio (2014-2015) Etienne Tanré - Olivier Faugeras INRIA - Team Tosca October 22nd, 2014 E. Tanré (INRIA - Team Tosca) Mathematical

More information

Statistical Methods for Data Analysis

Statistical Methods for Data Analysis Statistical Methods for Data Analysis Random number generators Luca Lista INFN Napoli Pseudo-random generators Requirement: Simulate random process with a computer E.g.: radiation interaction with matter,

More information

L3 Monte-Carlo integration

L3 Monte-Carlo integration RNG MC IS Examination RNG MC IS Examination Monte-Carlo and Empirical Methods for Statistical Inference, FMS091/MASM11 Monte-Carlo integration Generating pseudo-random numbers: Rejection sampling Conditional

More information

Fast evaluation of the inverse Poisson CDF

Fast evaluation of the inverse Poisson CDF Fast evaluation of the inverse Poisson CDF Mike Giles University of Oxford Mathematical Institute Ninth IMACS Seminar on Monte Carlo Methods July 16, 2013 Mike Giles (Oxford) Poisson inverse CDF July 16,

More information

Least Absolute Value vs. Least Squares Estimation and Inference Procedures in Regression Models with Asymmetric Error Distributions

Least Absolute Value vs. Least Squares Estimation and Inference Procedures in Regression Models with Asymmetric Error Distributions Journal of Modern Applied Statistical Methods Volume 8 Issue 1 Article 13 5-1-2009 Least Absolute Value vs. Least Squares Estimation and Inference Procedures in Regression Models with Asymmetric Error

More information

E 31501/4150 Properties of OLS estimators (Monte Carlo Analysis)

E 31501/4150 Properties of OLS estimators (Monte Carlo Analysis) E 31501/4150 Properties of OLS estimators (Monte Carlo Analysis) Ragnar Nymoen 10 February 2011 Repeated sampling Section 2.4.3 of the HGL book is called Repeated sampling The point is that by drawing

More information

Methods of evaluating estimators and best unbiased estimators Hamid R. Rabiee

Methods of evaluating estimators and best unbiased estimators Hamid R. Rabiee Stochastic Processes Methods of evaluating estimators and best unbiased estimators Hamid R. Rabiee 1 Outline Methods of Mean Squared Error Bias and Unbiasedness Best Unbiased Estimators CR-Bound for variance

More information

Computer projects for Mathematical Statistics, MA 486. Some practical hints for doing computer projects with MATLAB:

Computer projects for Mathematical Statistics, MA 486. Some practical hints for doing computer projects with MATLAB: Computer projects for Mathematical Statistics, MA 486. Some practical hints for doing computer projects with MATLAB: You can save your project to a text file (on a floppy disk or CD or on your web page),

More information

Statistische Methoden der Datenanalyse. Kapitel 3: Die Monte-Carlo-Methode

Statistische Methoden der Datenanalyse. Kapitel 3: Die Monte-Carlo-Methode 1 Statistische Methoden der Datenanalyse Kapitel 3: Die Monte-Carlo-Methode Professor Markus Schumacher Freiburg / Sommersemester 2009 Basiert auf Vorlesungen und Folien von Glen Cowan und Abbildungen

More information

A Statistical Input Pruning Method for Artificial Neural Networks Used in Environmental Modelling

A Statistical Input Pruning Method for Artificial Neural Networks Used in Environmental Modelling A Statistical Input Pruning Method for Artificial Neural Networks Used in Environmental Modelling G. B. Kingston, H. R. Maier and M. F. Lambert Centre for Applied Modelling in Water Engineering, School

More information

MA 575 Linear Models: Cedric E. Ginestet, Boston University Non-parametric Inference, Polynomial Regression Week 9, Lecture 2

MA 575 Linear Models: Cedric E. Ginestet, Boston University Non-parametric Inference, Polynomial Regression Week 9, Lecture 2 MA 575 Linear Models: Cedric E. Ginestet, Boston University Non-parametric Inference, Polynomial Regression Week 9, Lecture 2 1 Bootstrapped Bias and CIs Given a multiple regression model with mean and

More information

Computer Intensive Methods in Mathematical Statistics

Computer Intensive Methods in Mathematical Statistics Computer Intensive Methods in Mathematical Statistics Department of mathematics johawes@kth.se Lecture 7 Sequential Monte Carlo methods III 7 April 2017 Computer Intensive Methods (1) Plan of today s lecture

More information

Contents. Part I: Fundamentals of Bayesian Inference 1

Contents. Part I: Fundamentals of Bayesian Inference 1 Contents Preface xiii Part I: Fundamentals of Bayesian Inference 1 1 Probability and inference 3 1.1 The three steps of Bayesian data analysis 3 1.2 General notation for statistical inference 4 1.3 Bayesian

More information

Sampling Distributions Allen & Tildesley pgs and Numerical Recipes on random numbers

Sampling Distributions Allen & Tildesley pgs and Numerical Recipes on random numbers Sampling Distributions Allen & Tildesley pgs. 345-351 and Numerical Recipes on random numbers Today I explain how to generate a non-uniform probability distributions. These are used in importance sampling

More information

sine wave fit algorithm

sine wave fit algorithm TECHNICAL REPORT IR-S3-SB-9 1 Properties of the IEEE-STD-57 four parameter sine wave fit algorithm Peter Händel, Senior Member, IEEE Abstract The IEEE Standard 57 (IEEE-STD-57) provides algorithms for

More information

Robust Backtesting Tests for Value-at-Risk Models

Robust Backtesting Tests for Value-at-Risk Models Robust Backtesting Tests for Value-at-Risk Models Jose Olmo City University London (joint work with Juan Carlos Escanciano, Indiana University) Far East and South Asia Meeting of the Econometric Society

More information

Spectral Representation of Random Processes

Spectral Representation of Random Processes Spectral Representation of Random Processes Example: Represent u(t,x,q) by! u K (t, x, Q) = u k (t, x) k(q) where k(q) are orthogonal polynomials. Single Random Variable:! Let k (Q) be orthogonal with

More information

Modeling Uncertainty in the Earth Sciences Jef Caers Stanford University

Modeling Uncertainty in the Earth Sciences Jef Caers Stanford University Probability theory and statistical analysis: a review Modeling Uncertainty in the Earth Sciences Jef Caers Stanford University Concepts assumed known Histograms, mean, median, spread, quantiles Probability,

More information

F denotes cumulative density. denotes probability density function; (.)

F denotes cumulative density. denotes probability density function; (.) BAYESIAN ANALYSIS: FOREWORDS Notation. System means the real thing and a model is an assumed mathematical form for the system.. he probability model class M contains the set of the all admissible models

More information

The Number of Bootstrap Replicates in Bootstrap Dickey-Fuller Unit Root Tests

The Number of Bootstrap Replicates in Bootstrap Dickey-Fuller Unit Root Tests Working Paper 2013:8 Department of Statistics The Number of Bootstrap Replicates in Bootstrap Dickey-Fuller Unit Root Tests Jianxin Wei Working Paper 2013:8 June 2013 Department of Statistics Uppsala

More information

Scientific Computing: Monte Carlo

Scientific Computing: Monte Carlo Scientific Computing: Monte Carlo Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 Course MATH-GA.2043 or CSCI-GA.2112, Spring 2012 April 5th and 12th, 2012 A. Donev (Courant Institute)

More information

NATIONAL UNIVERSITY OF SINGAPORE PC5215 NUMERICAL RECIPES WITH APPLICATIONS. (Semester I: AY ) Time Allowed: 2 Hours

NATIONAL UNIVERSITY OF SINGAPORE PC5215 NUMERICAL RECIPES WITH APPLICATIONS. (Semester I: AY ) Time Allowed: 2 Hours NATIONAL UNIVERSITY OF SINGAPORE PC55 NUMERICAL RECIPES WITH APPLICATIONS (Semester I: AY 0-) Time Allowed: Hours INSTRUCTIONS TO CANDIDATES. This examination paper contains FIVE questions and comprises

More information

Introduction to Reinforcement Learning. CMPT 882 Mar. 18

Introduction to Reinforcement Learning. CMPT 882 Mar. 18 Introduction to Reinforcement Learning CMPT 882 Mar. 18 Outline for the week Basic ideas in RL Value functions and value iteration Policy evaluation and policy improvement Model-free RL Monte-Carlo and

More information

Modeling the Goodness-of-Fit Test Based on the Interval Estimation of the Probability Distribution Function

Modeling the Goodness-of-Fit Test Based on the Interval Estimation of the Probability Distribution Function Modeling the Goodness-of-Fit Test Based on the Interval Estimation of the Probability Distribution Function E. L. Kuleshov, K. A. Petrov, T. S. Kirillova Far Eastern Federal University, Sukhanova st.,

More information

14 : Approximate Inference Monte Carlo Methods

14 : Approximate Inference Monte Carlo Methods 10-708: Probabilistic Graphical Models 10-708, Spring 2018 14 : Approximate Inference Monte Carlo Methods Lecturer: Kayhan Batmanghelich Scribes: Biswajit Paria, Prerna Chiersal 1 Introduction We have

More information

2 Elementary algorithms for one-dimensional integrals

2 Elementary algorithms for one-dimensional integrals PY 502, Computational Physics, Fall 2017 Numerical Integration and Monte Carlo Integration Anders W. Sandvik, Department of Physics, Boston University 1 Introduction A common numerical task in computational

More information

Chapter 7: Hypothesis Testing

Chapter 7: Hypothesis Testing Chapter 7: Hypothesis Testing *Mathematical statistics with applications; Elsevier Academic Press, 2009 The elements of a statistical hypothesis 1. The null hypothesis, denoted by H 0, is usually the nullification

More information

STAT 536: Genetic Statistics

STAT 536: Genetic Statistics STAT 536: Genetic Statistics Tests for Hardy Weinberg Equilibrium Karin S. Dorman Department of Statistics Iowa State University September 7, 2006 Statistical Hypothesis Testing Identify a hypothesis,

More information

Machine Learning CSE546 Carlos Guestrin University of Washington. September 30, What about continuous variables?

Machine Learning CSE546 Carlos Guestrin University of Washington. September 30, What about continuous variables? Linear Regression Machine Learning CSE546 Carlos Guestrin University of Washington September 30, 2014 1 What about continuous variables? n Billionaire says: If I am measuring a continuous variable, what

More information

Uncertainty due to Finite Resolution Measurements

Uncertainty due to Finite Resolution Measurements Uncertainty due to Finite Resolution Measurements S.D. Phillips, B. Tolman, T.W. Estler National Institute of Standards and Technology Gaithersburg, MD 899 Steven.Phillips@NIST.gov Abstract We investigate

More information

How Monte Carlo Sampling Contributes to Data Analysis. Outline

How Monte Carlo Sampling Contributes to Data Analysis. Outline http://www.math.umd.edu/~evs/mmistat09.pdf How Monte Carlo Sampling Contributes to Data Analysis Eric Slud, Mathematics Department, UMCP Objective: to explain an experimental approach to Probability &

More information

Ch 2: Simple Linear Regression

Ch 2: Simple Linear Regression Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component

More information

Statistical Methods for Particle Physics Lecture 3: Systematics, nuisance parameters

Statistical Methods for Particle Physics Lecture 3: Systematics, nuisance parameters Statistical Methods for Particle Physics Lecture 3: Systematics, nuisance parameters http://benasque.org/2018tae/cgi-bin/talks/allprint.pl TAE 2018 Centro de ciencias Pedro Pascual Benasque, Spain 3-15

More information

"ZERO-POINT" IN THE EVALUATION OF MARTENS HARDNESS UNCERTAINTY

ZERO-POINT IN THE EVALUATION OF MARTENS HARDNESS UNCERTAINTY "ZERO-POINT" IN THE EVALUATION OF MARTENS HARDNESS UNCERTAINTY Professor Giulio Barbato, PhD Student Gabriele Brondino, Researcher Maurizio Galetto, Professor Grazia Vicario Politecnico di Torino Abstract

More information

Permutation Tests. Noa Haas Statistics M.Sc. Seminar, Spring 2017 Bootstrap and Resampling Methods

Permutation Tests. Noa Haas Statistics M.Sc. Seminar, Spring 2017 Bootstrap and Resampling Methods Permutation Tests Noa Haas Statistics M.Sc. Seminar, Spring 2017 Bootstrap and Resampling Methods The Two-Sample Problem We observe two independent random samples: F z = z 1, z 2,, z n independently of

More information

Irr. Statistical Methods in Experimental Physics. 2nd Edition. Frederick James. World Scientific. CERN, Switzerland

Irr. Statistical Methods in Experimental Physics. 2nd Edition. Frederick James. World Scientific. CERN, Switzerland Frederick James CERN, Switzerland Statistical Methods in Experimental Physics 2nd Edition r i Irr 1- r ri Ibn World Scientific NEW JERSEY LONDON SINGAPORE BEIJING SHANGHAI HONG KONG TAIPEI CHENNAI CONTENTS

More information

Asymptotics and Simulation of Heavy-Tailed Processes

Asymptotics and Simulation of Heavy-Tailed Processes Asymptotics and Simulation of Heavy-Tailed Processes Department of Mathematics Stockholm, Sweden Workshop on Heavy-tailed Distributions and Extreme Value Theory ISI Kolkata January 14-17, 2013 Outline

More information

240NU215 - Monte Carlo Simulation of Radiation Transport

240NU215 - Monte Carlo Simulation of Radiation Transport Coordinating unit: 240 - ETSEIB - Barcelona School of Industrial Engineering Teaching unit: 748 - FIS - Department of Physics Academic year: Degree: 2018 MASTER'S DEGREE IN NUCLEAR ENGINEERING (Syllabus

More information

Inferences for Regression

Inferences for Regression Inferences for Regression An Example: Body Fat and Waist Size Looking at the relationship between % body fat and waist size (in inches). Here is a scatterplot of our data set: Remembering Regression In

More information

Data Analysis I. Dr Martin Hendry, Dept of Physics and Astronomy University of Glasgow, UK. 10 lectures, beginning October 2006

Data Analysis I. Dr Martin Hendry, Dept of Physics and Astronomy University of Glasgow, UK. 10 lectures, beginning October 2006 Astronomical p( y x, I) p( x, I) p ( x y, I) = p( y, I) Data Analysis I Dr Martin Hendry, Dept of Physics and Astronomy University of Glasgow, UK 10 lectures, beginning October 2006 4. Monte Carlo Methods

More information

Simulated Annealing for Constrained Global Optimization

Simulated Annealing for Constrained Global Optimization Monte Carlo Methods for Computation and Optimization Final Presentation Simulated Annealing for Constrained Global Optimization H. Edwin Romeijn & Robert L.Smith (1994) Presented by Ariel Schwartz Objective

More information

A Simple, Graphical Procedure for Comparing Multiple Treatment Effects

A Simple, Graphical Procedure for Comparing Multiple Treatment Effects A Simple, Graphical Procedure for Comparing Multiple Treatment Effects Brennan S. Thompson and Matthew D. Webb May 15, 2015 > Abstract In this paper, we utilize a new graphical

More information

MATH4427 Notebook 4 Fall Semester 2017/2018

MATH4427 Notebook 4 Fall Semester 2017/2018 MATH4427 Notebook 4 Fall Semester 2017/2018 prepared by Professor Jenny Baglivo c Copyright 2009-2018 by Jenny A. Baglivo. All Rights Reserved. 4 MATH4427 Notebook 4 3 4.1 K th Order Statistics and Their

More information

Part I. Experimental Error

Part I. Experimental Error Part I. Experimental Error 1 Types of Experimental Error. There are always blunders, mistakes, and screwups; such as: using the wrong material or concentration, transposing digits in recording scale readings,

More information

AUTOMATIC CONTROL COMMUNICATION SYSTEMS LINKÖPINGS UNIVERSITET. Questions AUTOMATIC CONTROL COMMUNICATION SYSTEMS LINKÖPINGS UNIVERSITET

AUTOMATIC CONTROL COMMUNICATION SYSTEMS LINKÖPINGS UNIVERSITET. Questions AUTOMATIC CONTROL COMMUNICATION SYSTEMS LINKÖPINGS UNIVERSITET The Problem Identification of Linear and onlinear Dynamical Systems Theme : Curve Fitting Division of Automatic Control Linköping University Sweden Data from Gripen Questions How do the control surface

More information

2009 GCE A Level H1 Mathematics Solution

2009 GCE A Level H1 Mathematics Solution 2009 GCE A Level H1 Mathematics Solution 1) x + 2y = 3 x = 3 2y Substitute x = 3 2y into x 2 + xy = 2: (3 2y) 2 + (3 2y)y = 2 9 12y + 4y 2 + 3y 2y 2 = 2 2y 2 9y + 7 = 0 (2y 7)(y 1) = 0 y = 7 2, 1 x = 4,

More information

Monte Carlo Simulations

Monte Carlo Simulations Monte Carlo Simulations What are Monte Carlo Simulations and why ones them? Pseudo Random Number generators Creating a realization of a general PDF The Bootstrap approach A real life example: LOFAR simulations

More information

Review. DS GA 1002 Statistical and Mathematical Models. Carlos Fernandez-Granda

Review. DS GA 1002 Statistical and Mathematical Models.   Carlos Fernandez-Granda Review DS GA 1002 Statistical and Mathematical Models http://www.cims.nyu.edu/~cfgranda/pages/dsga1002_fall16 Carlos Fernandez-Granda Probability and statistics Probability: Framework for dealing with

More information

DUBLIN CITY UNIVERSITY

DUBLIN CITY UNIVERSITY DUBLIN CITY UNIVERSITY SAMPLE EXAMINATIONS 2017/2018 MODULE: QUALIFICATIONS: Simulation for Finance MS455 B.Sc. Actuarial Mathematics ACM B.Sc. Financial Mathematics FIM YEAR OF STUDY: 4 EXAMINERS: Mr

More information

Diffusion and cellular-level simulation. CS/CME/BioE/Biophys/BMI 279 Nov. 7 and 9, 2017 Ron Dror

Diffusion and cellular-level simulation. CS/CME/BioE/Biophys/BMI 279 Nov. 7 and 9, 2017 Ron Dror Diffusion and cellular-level simulation CS/CME/BioE/Biophys/BMI 279 Nov. 7 and 9, 2017 Ron Dror 1 Outline How do molecules move around in a cell? Diffusion as a random walk (particle-based perspective)

More information

Statistics of Non-Poisson Point Processes in Several Dimensions

Statistics of Non-Poisson Point Processes in Several Dimensions Statistics of Non-Poisson Point Processes in Several Dimensions Kenneth A. Brakke Department of Mathematical Sciences Susquehanna University Selinsgrove, Pennsylvania 17870 brakke@susqu.edu originally

More information

TMS On-the-fly Temperature Treatment in Serpent

TMS On-the-fly Temperature Treatment in Serpent TMS On-the-fly Temperature Treatment in Serpent Tuomas Viitanen & Jaakko Leppänen Serpent User Group Meeting, Cambridge, UK September 17 19, 2014 Effects of thermal motion on neutron transport On reaction

More information

DSGE Methods. Estimation of DSGE models: GMM and Indirect Inference. Willi Mutschler, M.Sc.

DSGE Methods. Estimation of DSGE models: GMM and Indirect Inference. Willi Mutschler, M.Sc. DSGE Methods Estimation of DSGE models: GMM and Indirect Inference Willi Mutschler, M.Sc. Institute of Econometrics and Economic Statistics University of Münster willi.mutschler@wiwi.uni-muenster.de Summer

More information

Review of Statistical Terminology

Review of Statistical Terminology Review of Statistical Terminology An experiment is a process whose outcome is not known with certainty. The experiment s sample space S is the set of all possible outcomes. A random variable is a function

More information

Advanced Statistical Modelling

Advanced Statistical Modelling Markov chain Monte Carlo (MCMC) Methods and Their Applications in Bayesian Statistics School of Technology and Business Studies/Statistics Dalarna University Borlänge, Sweden. Feb. 05, 2014. Outlines 1

More information

Discussion of Tests of Equal Predictive Ability with Real-Time Data by T. E. Clark and M.W. McCracken

Discussion of Tests of Equal Predictive Ability with Real-Time Data by T. E. Clark and M.W. McCracken Discussion of Tests of Equal Predictive Ability with Real-Time Data by T. E. Clark and M.W. McCracken Juri Marcucci Bank of Italy 5 th ECB Workshop on Forecasting Techniques Forecast Uncertainty in Macroeconomics

More information

Bootstrapping the Grainger Causality Test With Integrated Data

Bootstrapping the Grainger Causality Test With Integrated Data Bootstrapping the Grainger Causality Test With Integrated Data Richard Ti n University of Reading July 26, 2006 Abstract A Monte-carlo experiment is conducted to investigate the small sample performance

More information

Towards efficient and accurate particle transport simulation in medical applications

Towards efficient and accurate particle transport simulation in medical applications Towards efficient and accurate particle transport simulation in medical applications L. Grzanka1,2, M. Kłodowska1, N. Mojżeszek1, N. Bassler3 1 Cyclotron Centre Bronowice, Institute of Nuclear Physics

More information

CPSC 467: Cryptography and Computer Security

CPSC 467: Cryptography and Computer Security CPSC 467: Cryptography and Computer Security Michael J. Fischer Lecture 22 November 27, 2017 CPSC 467, Lecture 22 1/43 BBS Pseudorandom Sequence Generator Secret Splitting Shamir s Secret Splitting Scheme

More information

DSGE-Models. Limited Information Estimation General Method of Moments and Indirect Inference

DSGE-Models. Limited Information Estimation General Method of Moments and Indirect Inference DSGE-Models General Method of Moments and Indirect Inference Dr. Andrea Beccarini Willi Mutschler, M.Sc. Institute of Econometrics and Economic Statistics University of Münster willi.mutschler@uni-muenster.de

More information

LARGE NUMBERS OF EXPLANATORY VARIABLES. H.S. Battey. WHAO-PSI, St Louis, 9 September 2018

LARGE NUMBERS OF EXPLANATORY VARIABLES. H.S. Battey. WHAO-PSI, St Louis, 9 September 2018 LARGE NUMBERS OF EXPLANATORY VARIABLES HS Battey Department of Mathematics, Imperial College London WHAO-PSI, St Louis, 9 September 2018 Regression, broadly defined Response variable Y i, eg, blood pressure,

More information

Linear Mixed Models: Methodology and Algorithms

Linear Mixed Models: Methodology and Algorithms Linear Mixed Models: Methodology and Algorithms David M. Allen University of Kentucky January 8, 2018 1 The Linear Mixed Model This Chapter introduces some terminology and definitions relating to the main

More information

Answers and expectations

Answers and expectations Answers and expectations For a function f(x) and distribution P(x), the expectation of f with respect to P is The expectation is the average of f, when x is drawn from the probability distribution P E

More information

Modification and Improvement of Empirical Likelihood for Missing Response Problem

Modification and Improvement of Empirical Likelihood for Missing Response Problem UW Biostatistics Working Paper Series 12-30-2010 Modification and Improvement of Empirical Likelihood for Missing Response Problem Kwun Chuen Gary Chan University of Washington - Seattle Campus, kcgchan@u.washington.edu

More information

Particle Filters. Pieter Abbeel UC Berkeley EECS. Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics

Particle Filters. Pieter Abbeel UC Berkeley EECS. Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics Particle Filters Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics Motivation For continuous spaces: often no analytical formulas for Bayes filter updates

More information

Comparison of available measurements of the absolute air-fluorescence yield*

Comparison of available measurements of the absolute air-fluorescence yield* Comparison of available measurements of the absolute air-fluorescence yield* J. Rosado, F. Blanco and F. Arqueros Universidad Complutense de Madrid * J. Rosado et al., Astropart. Phys. 34 (2010) 164 Outline

More information

Comparing Forecast Accuracy of Different Models for Prices of Metal Commodities

Comparing Forecast Accuracy of Different Models for Prices of Metal Commodities Comparing Forecast Accuracy of Different Models for Prices of Metal Commodities João Victor Issler (FGV) and Claudia F. Rodrigues (VALE) August, 2012 J.V. Issler and C.F. Rodrigues () Forecast Models for

More information

A MONTE CARLO SIMULATION OF COMPTON SUPPRESSION FOR NEUTRON ACTIVATION ANALYSIS. Joshua Frye Adviser Chris Grant 8/24/2012 ABSTRACT

A MONTE CARLO SIMULATION OF COMPTON SUPPRESSION FOR NEUTRON ACTIVATION ANALYSIS. Joshua Frye Adviser Chris Grant 8/24/2012 ABSTRACT A MONTE CARLO SIMULATION OF COMPTON SUPPRESSION FOR NEUTRON ACTIVATION ANALYSIS Joshua Frye Adviser Chris Grant 8/24/2012 ABSTRACT A Monte Carlo simulation has been developed using the Geant4 software

More information

Kinetic Theory 1 / Probabilities

Kinetic Theory 1 / Probabilities Kinetic Theory 1 / Probabilities 1. Motivations: statistical mechanics and fluctuations 2. Probabilities 3. Central limit theorem 1 The need for statistical mechanics 2 How to describe large systems In

More information

Computer intensive statistical methods

Computer intensive statistical methods Lecture 13 MCMC, Hybrid chains October 13, 2015 Jonas Wallin jonwal@chalmers.se Chalmers, Gothenburg university MH algorithm, Chap:6.3 The metropolis hastings requires three objects, the distribution of

More information

i=1 P ( m v) P ( v), (2) P ( m)

i=1 P ( m v) P ( v), (2) P ( m) 1 Introduction In the field of reservoir engineering as conducted at Shell Exploration and Production, the petrophysicist has to figure out the composition of underground formations based on tool readings.

More information

appstats27.notebook April 06, 2017

appstats27.notebook April 06, 2017 Chapter 27 Objective Students will conduct inference on regression and analyze data to write a conclusion. Inferences for Regression An Example: Body Fat and Waist Size pg 634 Our chapter example revolves

More information

Monte Carlo Solution of Integral Equations

Monte Carlo Solution of Integral Equations 1 Monte Carlo Solution of Integral Equations of the second kind Adam M. Johansen a.m.johansen@warwick.ac.uk www2.warwick.ac.uk/fac/sci/statistics/staff/academic/johansen/talks/ March 7th, 2011 MIRaW Monte

More information

2017 VCE Specialist Mathematics 2 examination report

2017 VCE Specialist Mathematics 2 examination report 017 VCE Specialist Mathematics examination report General comments The 017 Specialist Mathematics examination comprised 0 multiple-choice questions (worth a total of 0 marks) and six extended-answer questions

More information

Numerical integration - I. M. Peressi - UniTS - Laurea Magistrale in Physics Laboratory of Computational Physics - Unit V

Numerical integration - I. M. Peressi - UniTS - Laurea Magistrale in Physics Laboratory of Computational Physics - Unit V Numerical integration - I M. Peressi - UniTS - Laurea Magistrale in Physics Laboratory of Computational Physics - Unit V deterministic methods in 1D equispaced points (trapezoidal, Simpson...), others...

More information

Bootstrap inference for the finite population total under complex sampling designs

Bootstrap inference for the finite population total under complex sampling designs Bootstrap inference for the finite population total under complex sampling designs Zhonglei Wang (Joint work with Dr. Jae Kwang Kim) Center for Survey Statistics and Methodology Iowa State University Jan.

More information

The multigroup Monte Carlo method part 1

The multigroup Monte Carlo method part 1 The multigroup Monte Carlo method part 1 Alain Hébert alain.hebert@polymtl.ca Institut de génie nucléaire École Polytechnique de Montréal ENE6103: Week 11 The multigroup Monte Carlo method part 1 1/23

More information

Biostatistics in Dentistry

Biostatistics in Dentistry Biostatistics in Dentistry Continuous probability distributions Continuous probability distributions Continuous data are data that can take on an infinite number of values between any two points. Examples

More information

Stochastic Simulation Introduction Bo Friis Nielsen

Stochastic Simulation Introduction Bo Friis Nielsen Stochastic Simulation Introduction Bo Friis Nielsen Applied Mathematics and Computer Science Technical University of Denmark 2800 Kgs. Lyngby Denmark Email: bfn@imm.dtu.dk Practicalities Notes will handed

More information

2008 Winton. Review of Statistical Terminology

2008 Winton. Review of Statistical Terminology 1 Review of Statistical Terminology 2 Formal Terminology An experiment is a process whose outcome is not known with certainty The experiment s sample space S is the set of all possible outcomes. A random

More information

Multilevel Monte Carlo for Lévy Driven SDEs

Multilevel Monte Carlo for Lévy Driven SDEs Multilevel Monte Carlo for Lévy Driven SDEs Felix Heidenreich TU Kaiserslautern AG Computational Stochastics August 2011 joint work with Steffen Dereich Philipps-Universität Marburg supported within DFG-SPP

More information