Lecture 2 – Monte Carlo method in finance

Slides:



Advertisements
Similar presentations
Evaluating Classifiers
Advertisements

Generating Random Numbers
Monte Carlo Methods and Statistical Physics
Random Number Generation. Random Number Generators Without random numbers, we cannot do Stochastic Simulation Most computer languages have a subroutine,
Random number generation Algorithms and Transforms to Univariate Distributions.
ELEC 303 – Random Signals Lecture 18 – Statistics, Confidence Intervals Dr. Farinaz Koushanfar ECE Dept., Rice University Nov 10, 2009.
4.1 Option Prices: numerical approach Lecture Pricing: 1.Binomial Trees.
Chapter 20 Basic Numerical Procedures
Discrete Event Simulation How to generate RV according to a specified distribution? geometric Poisson etc. Example of a DEVS: repair problem.
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
Statistics.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Lecture 7 1 Statistics Statistics: 1. Model 2. Estimation 3. Hypothesis test.
Lecture II-2: Probability Review
Standard error of estimate & Confidence interval.
Advanced Risk Management I Lecture 6 Non-linear portfolios.
18.1 Options, Futures, and Other Derivatives, 5th edition © 2002 by John C. Hull Numerical Procedures Chapter 18.
Simulating the value of Asian Options Vladimir Kozak.
Monte Carlo Simulation and Personal Finance Jacob Foley.
CS433 Modeling and Simulation Lecture 16 Output Analysis Large-Sample Estimation Theory Dr. Anis Koubâa 30 May 2009 Al-Imam Mohammad Ibn Saud University.
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 MGT 821/ECON 873 Numerical Procedures. 2 Approaches to Derivatives Valuation How to find the value of an option?  Black-Scholes partial differential.
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
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.
Basic Numerical Procedures Chapter 19 1 Options, Futures, and Other Derivatives, 7th Edition, Copyright © John C. Hull 2008.
Basic Numerical Procedure
Lecture 2 Basics of probability in statistical simulation and stochastic programming Leonidas Sakalauskas Institute of Mathematics and Informatics Vilnius,
ELEC 303 – Random Signals Lecture 18 – Classical Statistical Inference, Dr. Farinaz Koushanfar ECE Dept., Rice University Nov 4, 2010.
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
Monte-Carlo Simulation. Mathematical basis The discounted price is a martingale (MA4257 and MA5248).
© K.Cuthbertson, D. Nitzsche FINANCIAL ENGINEERING: DERIVATIVES AND RISK MANAGEMENT (J. Wiley, 2001) K. Cuthbertson and D. Nitzsche Lecture Asset Price.
Machine Learning Chapter 5. Evaluating Hypotheses
Computer simulation Sep. 9, QUIZ 2 Determine whether the following experiments have discrete or continuous out comes A fair die is tossed and the.
Chapter 19 Monte Carlo Valuation. Copyright © 2006 Pearson Addison-Wesley. All rights reserved Monte Carlo Valuation Simulation of future stock.
Lecture 3 Types of Probability Distributions Dr Peter Wheale.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
G. Cowan Lectures on Statistical Data Analysis Lecture 9 page 1 Statistical Data Analysis: Lecture 9 1Probability, Bayes’ theorem 2Random variables and.
Chapter 19 Monte Carlo Valuation. © 2013 Pearson Education, Inc., publishing as Prentice Hall. All rights reserved.19-2 Monte Carlo Valuation Simulation.
Random Numbers and Simulation
Chapter 19 Monte Carlo Valuation.
Wiener Processes and Itô’s Lemma
MEGN 537 – Probabilistic Biomechanics Ch
Introduction to Monte Carlo Method
Basic simulation methodology
STAT 311 REVIEW (Quick & Dirty)
Al-Imam Mohammad Ibn Saud University Large-Sample Estimation Theory
Parallel Programming in C with MPI and OpenMP
DERIVATIVES: Valuation Methods and Some Extra Stuff
Sample Mean Distributions
Evaluating Classifiers
Chapter 7: Sampling Distributions
Mathematical Finance An Introduction
Lecture 6 – Binomial trees
Market Risk VaR: Model-Building Approach
Monte Carlo Approximations – Introduction
Discrete event simulation discrete time systems
Lectures 3 – Monte Carlo method in finance: Lab
MEGN 537 – Probabilistic Biomechanics Ch
Monte Carlo Valuation Bahattin Buyuksahin, Celso Brunetti 12/8/2018.
Computing and Statistical Data Analysis Stat 3: The Monte Carlo Method
Evaluating Hypotheses
Lecture 4 - Monte Carlo improvements via variance reduction techniques: antithetic sampling Antithetic variates: for any one path obtained by a gaussian.
Computer Simulation Techniques Generating Pseudo-Random Numbers
Chapter 14 Monte Carlo Simulation
Monte Carlo Methods for Pricing Financial Options
Statistical Methods for Data Analysis Random number generators
Evaluating Hypothesis
Further Topics on Random Variables: 1
Presentation transcript:

Lecture 2 – Monte Carlo method in finance Option price as a path integral The Monte Carlo method The Monte Carlo method applied to option pricing Random numbers generation Monte Carlo Variance reduction techniques Low-discrepancy sequence 12/3/2018

The option pricing as path integral (I) The price estimate of an exotic option can be reformulated as a path integral (where the paths consist of all possible future evolution of underlying equity prices). Within risk-neutral probability measure, the option fair value, f, can be expressed as: where fp is the option pay-off for a given path, Ê is the expectation value in a risk neutral world, T is the time to maturity and r is the risk neutral interest rate. 12/3/2018

The option pricing as path integral II The path integral formulation of option pricing problem shows up its intrinsic probabilistic nature. In Physics there are many powerful computational methodologies to compute path integrals (e.g. among the others the Monte Carlo method). The application of Monte Carlo method to finance/option pricing, consists to generate a sufficiently high number of estimate of fp in order to compute its mean value (and also standard deviation). 12/3/2018

The Monte Carlo method The Monte Carlo method consists to formulate/solve the problem as a series of sampling, generated according to some random numbers generator, from which ones can extract an estimate of the expected value. The standard deviation can be used to evaluate the error. In other words Monte Carlo is a stochastic methodology based on random numbers generation. 12/3/2018

Problems that can be solved by resorting to Monte Carlo 1. Problems with an intrinsic probabilistic nature, i.e. problems which involve stochastic phenomenon. E.g.: the option pricing the Value at Risk (VaR) estimation of a financial portfolio. 2. Problems with an intrinsic deterministic nature, i.e. problems which do not involve any stochastic variables but where the solution can be equivalently rewritten in term of an expected value of a function of some non deterministic variables. : Integral calculation in D dimension 12/3/2018

Example: Monte Carlo and the calculation of p (I) An extraction from a sample of stochastic random numbers can be used to estimate an integral This integral can be viewed as the expectation value of a function (f) of two random variables, uniformly distributed in the interval [-1, 1]x [-1, 1] Uniform probability density function. 12/3/2018

Example: Monte Carlo and the calculation of p (II) The integral value con be estimated as the arithmetic average of N values of f(xi yi), where each pair (xi yi) is randomly sampled according to a uniform distribution in [-1, 1]x [-1, 1]. I.e. : is an estimator of I=p/4. An estimation of error can be derived by resorting to the central limit theorem, which states that the sum S_n of n independent and identically distributed (i.i.d.) random variables (having mean m and finite variance s^2) is well approximated by a gaussian distribution with mean m and variance s^2/n as n (the sample size) increases. 12/3/2018

Error scaling in Monte Carlo simulations In Monte Carlo simulations the error scales as: This behavior is independent from problem dimension. The error involved by applying lattice method on integral calculation in D dimension, scales as: The Monte Carlo error is independent from dimension, making Monte Carlo one of the most powerful numerical methods for high dimensional problems (typically more than four). 12/3/2018

Monte Carlo method for pricing an option STEP 1 – Define a stochastic process for the underlying STEP 2 – Calculate multiple scenarios by repeatedly sampling the possible path evolution for the underlying equity. First of all divide the option life into m time interval of length t. Compute the future (stochastic) values Si at time ti = i t until the option maturity T is reached. The simulation process of a single path, requires the generation of m independent random numbers sampled from a gaussian distribution. 12/3/2018

Monte Carlo method for pricing an option (II) STEP 3 – Evaluate the pay-off (i.e. the premium paid at maturity) under each scenario (equity path). STEP 4 – Compute the (discounted) mean value (i.e. the option price!) and its error, basing on the above distribution. Stochastic process for the underlying Probabilistic distribution of discounted pay-offs. Compute mean (option price) and standard deviation (=> error). Scenarios 12/3/2018

Monte Carlo method for pricing an option (III) Indeed, for a log-normal process, instead to use Eulero discretization procedure: one can resort to a closed form solution to simulate the stock evolution within an arbitrary long finite time interval Dt: 12/3/2018

Problems to face in random number generation The Monte Carlo method is based on sampling random numbers. Is it possible for a computer (i.e. a deterministic machine) to generate true random numbers (that is real stochastic objects)? The answer is negative! Indeed there are only three possible solutions: True random numbers they are numbers that lack any pattern and are generated by resorting to physical phenomenon that is expected to be intrinsically unpredictable (e.g. radioactive decay, thermal noise etc.). In such a case a specialized hardware or some database are required, being the use of truly random numbers not practical. Pseudo-random numbers they are numbers produced by a computer using computational (deterministic) algorithms. Being such algorithms deterministic, the sequences they produced are only apparently random, which in fact are completely determined by an initial value (known as the seed). Quasi-random numbers they are numbers generated according to a deterministic algorithm. In such a case, however, the sequences produced have a definite pattern that fills in gaps uniformly. As a result, the statistical error is lower than that obtained with pseudo random numbers. 12/3/2018

Algorithms to generate pseudo random numbers. The pseudo random number generators are usually based on linear congruential generator: This generator produces integer numbers in the interval [0, m]. In order to obtain random floating point numbers uniformly distributed between 0 and 1, we set: The parameters: a, b and m characterize the generator quality. a multiplier, b increment, m module. Pros: It is very fast; Cons: The random number sequence will repeat the pattern after some trials (the so called “period”). The period is always lower than m. 12/3/2018