Monte Carlo Methods for Pricing Financial Options

Slides:



Advertisements
Similar presentations
Random Processes Introduction (2)
Advertisements

RSLAB-NTU Lab for Remote Sensing Hydrology and Spatial Modeling 1 An Introduction to R Pseudo Random Number Generation (PRNG) Prof. Ke-Sheng Cheng Dept.
Monte Carlo Methods and Statistical Physics
Statistics review of basic probability and statistics.
 1  Outline  generation of random variates  convolution  composition  acceptance/rejection  generation of uniform(0, 1) random variates  linear.
4.1 Option Prices: numerical approach Lecture Pricing: 1.Binomial Trees.
Introduction to stochastic process
CF-3 Bank Hapoalim Jun-2001 Zvi Wiener Computational Finance.
Probability theory 2010 Main topics in the course on probability theory  Multivariate random variables  Conditional distributions  Transforms  Order.
SUMS OF RANDOM VARIABLES Changfei Chen. Sums of Random Variables Let be a sequence of random variables, and let be their sum:
FRM Zvi Wiener Following P. Jorion, Financial Risk Manager Handbook Financial Risk Management.
K. Desch – Statistical methods of data analysis SS10
Continuous Random Variables and Probability Distributions
Review of Probability and Statistics
1 Chapter 7 Generating and Processing Random Signals 第一組 電機四 B 蔡馭理 資工四 B 林宜鴻.
Lecture II-2: Probability Review
Hedge with an Edge An Introduction to the Mathematics of Finance Riaz Ahmed & Adnan Khan Lahore Uviersity of Management Sciences Monte Carlo Methods.
Random-Number Generation. 2 Properties of Random Numbers Random Number, R i, must be independently drawn from a uniform distribution with pdf: Two important.
Review of Probability.
Lecture 7: Simulations.
Simulation Output Analysis
Ewa Lukasik - Jakub Lawik - Juan Mojica - Xiaodong Xu.
Advanced Risk Management I Lecture 6 Non-linear portfolios.
Short Resume of Statistical Terms Fall 2013 By Yaohang Li, Ph.D.
Simulating the value of Asian Options Vladimir Kozak.
Monte Carlo Methods in Finance IIM Ahmedabad, Nov 6, 2005 Sandeep Juneja School of Technology and Computer Science Tata Institute of Fundamental Research.
IRDM WS Chapter 2: Basics from Probability Theory and Statistics 2.1 Probability Theory Events, Probabilities, Random Variables, Distributions,
Module 1: Statistical Issues in Micro simulation Paul Sousa.
1 MGT 821/ECON 873 Numerical Procedures. 2 Approaches to Derivatives Valuation How to find the value of an option?  Black-Scholes partial differential.
MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 26.
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.
Monte-Carlo Simulation. Mathematical basis The discounted price is a martingale (MA4257 and MA5248).
© The MathWorks, Inc. ® ® Monte Carlo Simulations using MATLAB Vincent Leclercq, Application engineer
© K.Cuthbertson, D. Nitzsche FINANCIAL ENGINEERING: DERIVATIVES AND RISK MANAGEMENT (J. Wiley, 2001) K. Cuthbertson and D. Nitzsche Lecture Asset Price.
STATISTICS Univariate Distributions Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National Taiwan University.
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Chapter 19 Monte Carlo Valuation. Copyright © 2006 Pearson Addison-Wesley. All rights reserved Monte Carlo Valuation Simulation of future stock.
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Continuous Random Variables and Probability Distributions
Chapter 6 Large Random Samples Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Statistical Data Analysis: Lecture 5 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.
Variance reduction techniques Mat Simulation
Review of Risk Management Concepts
Types of risk Market risk
Random number generation
Chapter 19 Monte Carlo Valuation.
usually unimportant in social surveys:
Market-Risk Measurement
Oliver Schulte Machine Learning 726
Basic simulation methodology
STOCHASTIC HYDROLOGY Stochastic Simulation (I) Univariate simulation
Main topics in the course on probability theory
The distribution function F(x)
3.1 Expectation Expectation Example
Types of risk Market risk
Chapter 7 Random Number Generation
Monte Carol Integration
Chapter 7 Random-Number Generation
Monte Carlo Simulation
Lecture 2 – Monte Carlo method in finance
Monte Carlo Valuation Bahattin Buyuksahin, Celso Brunetti 12/8/2018.
STOCHASTIC HYDROLOGY Random Processes
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005
Lecture 4 - Monte Carlo improvements via variance reduction techniques: antithetic sampling Antithetic variates: for any one path obtained by a gaussian.
Analysis of Engineering and Scientific Data
Statistical Methods for Data Analysis Random number generators
Random Variate Generation
Further Topics on Random Variables: 1
Presentation transcript:

Monte Carlo Methods for Pricing Financial Options Lecture 2-3 Sandeep Juneja School of Technology and Computer Science Tata Institute of Fundamental Research

Talk Outline Mathematical model for options pricing Motivating the Monte Carlo Method Monte Carlo Method Random Number Generation Random Variate Generation Variance Reduction Techniques Antithetic Variates Control Variates Importance Sampling: example from credit risk modelling

Brownian Motion A real valued process (W(t):t > 0), is standard Brownian motion if For t0 < t1...< tn, then W(t1)-W(t0),..., W(tn)-W(tn-1) are independent W(s+t)-W(s) is Normally distributed with mean 0 and variance t W(t) is a continuous function of t (with prob 1).

Asset Price Models

Equivalent Martingale Measure, Risk Neutral Pricing

Single Dimension Setting

Generating Sample Paths using Time Discretization Suppose payoff depends on asset prices at times 0,1,2,...,n (this is for notational convenience) Example: Asian Option Approximately generate the trajectory of the asset price process using Euler’s scheme (finer discretizations improve accuracy) process dSt = r Stdt + s(t) StdW(t) If the volatility is constant

Motivating Monte Carlo Method

Illustrative Queueing Example The inter-arrival times (A1,A2, …) are “independent identically distributed” with distribution function FA(x) =P(A < x). E.g. FA(x) = 1 - e-lx The service times (S1,S2, …) are independent identically distributed with distribution function FS(x) =P(S < x).

6 Solve or Run the Model ? To determine EW we could use deductive arguments, e.g. Wn+1= [ Wn + Sn - An+1 ]+ ==> …... ==> …… ==> EW = ……. Feasible only for simple models Or we could use the computer to simulate functioning of the queue for a large number of days and do statistical analysis

Monte Carlo Method To estimate the expectation a = EX Generate independent identically distributed samples of payoffs X1, X2,...,Xn of X and take their average as an estimator. It converges to correct value due to law of large numbers Due to central limit theorem, a 95% confidence interval is The variance may be empirically estimated T time Asset price

PDE versus Monte Carlo Method Partial Differential Equation (not described in these lectures) For sufficiently complex dynamics the PDE may fail to exist The computational effort grows exponentially in the number of underlying variables. Not competitive when more than 3-4 variables involved Monte Carlo Method Convergence rate proportional to Slow but for a given variance independent of problem dimension Motivates research in clever variance reduction techniques to speed up simulations

Now we discuss Random number generators Random variate generators Generating univariate and multi-variate normal random variables

Generating Uniform (0,1) Pseudo Random Numbers Requirement: Generate a sequence of numbers U1, U2,...so that Each Ui is uniformly distributed between 0 and 1. 2) The Ui are mutually independent 1/2 In practice, deterministic sequences generated that appear to satisfy The above two properties. Popular method: A linear congruential generator Given an initial integer seed x0 between 0 and m, set xi+1 = a xi mod m ui+1 = xi+1/m a < m is referred to as multiplier, m the modulus

Properties of a Good Random Number Generator

Linear Congruential Generators Consider the case where a=6, m=11. Starting from x0=1, the next value x1= 6 mod 11 =6, x2= 36 mod 11 =3... The sequence 1,6,3,7,9,10,5,8,4,2,1,6,... is generated Produces m-1=10 values before repeating. Has full period Consider a=3, m=11. Then x0=1 yields: 1,3,9,5,4,1... Then x0=2 yields: 2,6,7,10,8,2... In practice we want a generator that produces billions and billions of values before repeating

Achieving Full Period in an LCG Consider LCG xi+1 = (a xi) mod m If m is a prime, full period is obtained if a is a primitive root of m, i.e., am-1 – 1 is a multiple of m aj-1 – 1 is a not a multiple of m for j=1,2,...,m-2 Note that xi+1 = (a xi) mod m implies that xi = (ai x0) mod m Thus, xi = [(ai -1) x0+ x0] mod m. Only, xm-1 =x0 (need to show that ai x0 is also not a multiple of m) E.g. a=40014, m=214748563 (L’Ecuyer)

Random Numbers from LCG lie on a plane Spectral gap As a discrepancy measure Ui+1 Ui a=6, m=11

Generating Random Variates Given i.i.d. sequence of U(0,1) variables, generate independent samples from an arbitrary distribution F(x) = P(X < x) of X Inverse Transform Method Suppose X takes values 1,2 and 3 each with prob. 1/3. F(x) 1 1 F(x) 2/3 U 1/3 1 2 3 F-1(U) x F-1(U) has distribution function F(x)

Inverse Transform Method 1 F-1(u)= inf{x: F(x) > u}. Then, P(F-1(U) < y) = P(U < F(y))=F(y) Also F(X) has Unif (0,1) distribution F(x) U a b Example: F(X) = 1-exp(-a X). Thus, X is exponentially distributed with rate a. Then, X= -log(1-U)/a has the correct distribution

Acceptance Rejection Method c*g(x) f(x) Need to generate X with pdf f(x) There exists a pdf g(x) so that f(x) < c g(x) for all x Algorithm: generate Y using pdf g. Generate independent uniformly generated rv U. Accept the sample if f(Y)/c g(Y) > U Otherwise, reject and repeat.

Rationale Strategy: generate a sample X from f. Spread it uniformly between 0 and f(X) f(x) Lx x Prob density of being in rectangular strip = f(x)dx * Lx/f(x)= Lxdx Prob of being in the region= area of the region This property is retained by the acceptance rejection method

Generating Normally Distributed Random Variates

Generating Multivariate Normal Random Variates

Ordinary simulation can be computationally expensive Large computation requirement as Generating each sample may be expensive Variance of each sample is high. Large number of samples needed to get a reasonable confidence interval We discuss the following variance reduction techniques Antithetic variates Control variates Importance sampling

Antithetic Variates Consider the estimator Xn = ( X1 + X2 + … + Xn)/n Var (X1 + X2) = Var (X1) + Var (X2) + 2 Cov (X1, X2) To reduce variance we need Cov (X1, X2) < 0 Theorem Given any distribution of rv X and Y (FX-1(U), FY-1(U)) has the maximum covariance (FX-1(U), FY-1(1-U)) has the minimum covariance

Example of Antithetic Technique Example: Asian Option Antithetic Result: E [f(N1,...,Nn) f(-N1,...,-Nn)] < E [f(N1,...,Nn) ] E [f(-N1,...,-Nn)] If f is increasing in each of its arguments

Control Variates Consider estimating EX via simulation Along with X, suppose that C is also generated and EC is known If C is correlated with X, then knowing C is useful in improving our estimate Let Y = X - b ( C - EC) be our new estimate. Note that EY = EX Best b* = Cov (X,C)/Var(C) Then Var (Y) = (1- r2)Var (X) (r: correlation coefficient) In practice , b = sample covariance(X,C)/sample variance(C) = and the estimate is Xn + b (Cn - EC)

Pricing Asian Options Option pay-off Control variate Stock price K strike price T=0 Stock price Option pay-off Control variate

A Simple Credit Risk Model Consider a portfolio of loans having m obligors. We wish to manage probability of large losses due to credit defaults Let Xk denote the centered and scaled firm values in a fixed time period. We assume that its distribution is standard normal Obligor k defaults if Xk < xk. This threshold is chosen so that P(Xk < xk) = pk (a probability that may be estimated using historical data) The rv (X1, X2,...Xm) are assumed to be correlated (to capture dependence)...the correlation structure may be estimated using equity prices If obligor k defaults, a loss Yk is incurred Our interest is in estimating P(Y1I(X1 < x1)+...+YmI(Xm < xm)>u)

Importance Sampling Assuming Independence

Rare Event Simulation problem through an Example

Importance Sampling for this