3. Monte Carlo Simulations. Math6911 S08, HM Zhu



Similar documents
Generating Random Numbers Variance Reduction Quasi-Monte Carlo. Simulation Methods. Leonid Kogan. MIT, Sloan , Fall 2010

Monte Carlo Methods in Finance

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

第 9 讲 : 股 票 期 权 定 价 : B-S 模 型 Valuing Stock Options: The Black-Scholes Model

Numerical Methods for Option Pricing

Chapter 2: Binomial Methods and the Black-Scholes Formula

Binomial lattice model for stock prices

Valuing Stock Options: The Black-Scholes-Merton Model. Chapter 13

Variance Reduction. Pricing American Options. Monte Carlo Option Pricing. Delta and Common Random Numbers

Exam MFE Spring 2007 FINAL ANSWER KEY 1 B 2 A 3 C 4 E 5 D 6 C 7 E 8 C 9 A 10 B 11 D 12 A 13 E 14 E 15 C 16 D 17 B 18 A 19 D

Jorge Cruz Lopez - Bus 316: Derivative Securities. Week 11. The Black-Scholes Model: Hull, Ch. 13.

Generating Random Variables and Stochastic Processes

CS 522 Computational Tools and Methods in Finance Robert Jarrow Lecture 1: Equity Options

Black-Scholes Equation for Option Pricing

Generating Random Variables and Stochastic Processes

Moreover, under the risk neutral measure, it must be the case that (5) r t = µ t.

Hedging Options In The Incomplete Market With Stochastic Volatility. Rituparna Sen Sunday, Nov 15

The Black-Scholes Formula

The Monte Carlo Framework, Examples from Finance and Generating Correlated Random Variables

Simulating Stochastic Differential Equations

Hedging Variable Annuity Guarantees

General Sampling Methods

Pricing Discrete Barrier Options

Stephane Crepey. Financial Modeling. A Backward Stochastic Differential Equations Perspective. 4y Springer

Monte Carlo Simulation

OPTION PRICING FOR WEIGHTED AVERAGE OF ASSET PRICES

Lecture 12: The Black-Scholes Model Steven Skiena. skiena

An Introduction to Modeling Stock Price Returns With a View Towards Option Pricing

1 The Black-Scholes model: extensions and hedging

The Black-Scholes pricing formulas

14 Greeks Letters and Hedging

Review of Basic Options Concepts and Terminology

INTEREST RATES AND FX MODELS

On Black-Scholes Equation, Black- Scholes Formula and Binary Option Price

Basics of Statistical Machine Learning

Quantitative Methods for Finance

The Black-Scholes-Merton Approach to Pricing Options

Pricing Barrier Option Using Finite Difference Method and MonteCarlo Simulation

Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies

Mathematical Finance

1 Sufficient statistics

Option Pricing Methods for Estimating Capacity Shortages

LogNormal stock-price models in Exams MFE/3 and C/4

Valuation of Asian Options

Monte Carlo simulation techniques

Maximum Likelihood Estimation

1 The Brownian bridge construction

S 1 S 2. Options and Other Derivatives

Monte Carlo Simulation

TABLE OF CONTENTS. A. Put-Call Parity 1 B. Comparing Options with Respect to Style, Maturity, and Strike 13

Vanna-Volga Method for Foreign Exchange Implied Volatility Smile. Copyright Changwei Xiong January last update: Nov 27, 2013

Credit Risk Models: An Overview

HPCFinance: New Thinking in Finance. Calculating Variable Annuity Liability Greeks Using Monte Carlo Simulation

Efficiency and the Cramér-Rao Inequality

The Heston Model. Hui Gong, UCL ucahgon/ May 6, 2014

Lecture 6: Option Pricing Using a One-step Binomial Tree. Friday, September 14, 12

Probability Generating Functions

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

Alternative Price Processes for Black-Scholes: Empirical Evidence and Theory

Additional questions for chapter 4

QUANTIZED INTEREST RATE AT THE MONEY FOR AMERICAN OPTIONS

The Behavior of Bonds and Interest Rates. An Impossible Bond Pricing Model. 780 w Interest Rate Models

Stock Price Dynamics, Dividends and Option Prices with Volatility Feedback

Caput Derivatives: October 30, 2003

Arbitrage-Free Pricing Models

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Chapter 3 RANDOM VARIATE GENERATION

Does Black-Scholes framework for Option Pricing use Constant Volatilities and Interest Rates? New Solution for a New Problem

Pricing of a worst of option using a Copula method M AXIME MALGRAT

Understanding Options and Their Role in Hedging via the Greeks

Two Topics in Parametric Integration Applied to Stochastic Simulation in Industrial Engineering

Lecture 1: Asset pricing and the equity premium puzzle

One Period Binomial Model

Chapter 13 The Black-Scholes-Merton Model

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

PRICING OF GAS SWING OPTIONS. Andrea Pokorná. UNIVERZITA KARLOVA V PRAZE Fakulta sociálních věd Institut ekonomických studií

An introduction to Value-at-Risk Learning Curve September 2003

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

Monte Carlo Methods and Models in Finance and Insurance


Lectures. Sergei Fedotov Introduction to Financial Mathematics. No tutorials in the first week

Private Equity Fund Valuation and Systematic Risk

Numerical methods for American options

Nonparametric adaptive age replacement with a one-cycle criterion

2WB05 Simulation Lecture 8: Generating random variables

Valuing equity-based payments

Option Pricing. 1 Introduction. Mrinal K. Ghosh

LECTURE 15: AMERICAN OPTIONS

Lecture 8. Confidence intervals and the central limit theorem

Asian Option Pricing Formula for Uncertain Financial Market

Lecture 5: Put - Call Parity

Capital Allocation and Bank Management Based on the Quantification of Credit Risk

7: The CRR Market Model

Simple approximations for option pricing under mean reversion and stochastic volatility

More Exotic Options. 1 Barrier Options. 2 Compound Options. 3 Gap Options

Research on Option Trading Strategies

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur

STAT 830 Convergence in Distribution

From CFD to computational finance (and back again?)

Transcription:

3. Monte Carlo Simulations Math6911 S08, HM Zhu

References 1. Chapters 4 and 8, Numerical Methods in Finance. Chapters 17.6-17.7, Options, Futures and Other Derivatives 3. George S. Fishman, Monte Carlo: concepts, algorithms, and applications, Springer, New York, QA 98.F57, 1995

3. Monte Carlo Simulations 3.1 Overview Math6911 S08, HM Zhu

Monte Carlo Simulation Monte Carlo simulation, a quite different approach from binomial tree, is based on statistical sampling and analyzing the outputs gives the estimate of a quantity of interest

Monte Carlo Simulation Typically, estimate an expected value with respect to an underlying probability distribution eg. an option price may be evaluated by computing the expected payoff w.r.t. risk-neutral probability measure Evaluate a portfolio policy by simulating a large number of scenarios Interested in not only mean values, but also what happens on the tail of probability distribution, such as Value-at-risk

Monte Carlo Simulation in Option Pricing In option pricing, Monte Carlo simulations uses the risk-neutral valuation result More specifically, sample the paths to obtain the expected payoff in a risk-neutral world and then discount this payoff at the risk-neutral rate

Learning Objectives Understanding the stochastic processes of the underlying asset price. How to generate random samplings with a given probability distribution Choose an optimal number of simulation experiments Reliability of the estimate, e.g. a confidence interval Estimate error Improve quality of the estimates: variance reduction techniques, quasi-monte Carlo simulations.

3. Monte Carlo Simulation 3. Modeling Asset Price Movement Math6911 S08, HM Zhu

Randomness in stock market 9

Outlines 1. Markov process. Wiener process 3. Generalized Wiener process 4. Ito s process, Ito s lemma 5. Asset price models 10

References 1. Chapter 1, Options, Futures, and Other Derivatives. Appendix A for Introduction to MATLAB, Appendix B for review of probability theory, Numerical Methods in Finance: A MATLAB Introduction 11

Markov process A particular type of stochastic process whose future probability depends only on the present value A stochastic process x(t) is called a Markov process if for every n and P The Markov property implies that the probability distribution of the price at any particular future time is not dependent on the particular path followed by the price in the past 1 <, we have ( x( t ) x x( t) for all t t ) = P x( t ) x x( t ) n t n t < < t n n 1 ( ) n n n 1 1

Modeling of asset prices Really about modeling the arrival of new info that affects the price. Under the assumptions, The past history is fully reflected in the present asset price, which does not hold any further information Markets respond immediately to any new information about an asset The anticipated changes in the asset price are a Markov process 13

Weak-Form Market Efficiency This asserts that it is impossible to produce consistently superior returns with a trading rule based on the past history of stock prices. In other words technical analysis does not work. A Markov process for stock prices is clearly consistent with weak-form market efficiency

Example of a Discrete Time Continuous Variable Model A stock price is currently at $40. Over one year, the change in stock price has a distribution Ν(0,10) where Ν(µ,σ) is a normal distribution with mean µ and standard deviation σ.

Questions What is the probability distribution of the change of the stock price over years? ½ years? ¼ years? t years? Taking limits we have defined a continuous variable, continuous time process

Variances & Standard Deviations In Markov processes, changes of the variable in successive periods of time are independent. This means that: Means are additive variances are additive Standard deviations are not additive

Variances & Standard Deviations (continued) In our example it is correct to say that the variance is 100 per year. It is strictly speaking not correct to say that the standard deviation is 10 per year.

A Wiener Process (See pages 65-67, Hull) Consider a variable z follows a particular Markov process with a mean change of 0 and a variance rate of 1.0 per year. The change in a small interval of time t is z The variable follows a Wiener process if 1. z = ε t where ε is N(0,1). The values of z for any different (nonoverlapping) periods of time are independent

Properties of a Wiener Process z over a small time interval t: Mean of z is 0 Variance of z is t Standard deviation of z is t z over a long period of time, T: Mean of [z (T ) z (0)] is 0 Variance of [z (T ) z (0)] is T Standard deviation of [z (T ) z (0)] is T

Taking Limits... What does an expression involving dz and dt mean? It should be interpreted as meaning that the corresponding expression involving z and t is true in the limit as t tends to zero In this respect, stochastic calculus is analogous to ordinary calculus

Generalized Wiener Processes (See page 67-69, Hull) A Wiener process has a drift rate (i.e. average change per unit time) of 0 and a variance rate of 1 In a generalized Wiener process the drift rate and the variance rate can be set equal to any chosen constants The variable x follows a generalized Wiener process with a drift rate of a and a variance rate of b if dx=a dt + b dz

Generalized Wiener Processes (continued) x = a t + b ε t Mean change in x in time t is a t Variance of change in x in time t is b t Standard deviation of change in x in time t is b t

Generalized Wiener Processes (continued) Mean change in x in time T is at Variance of change in x in time T is b T Standard deviation of change in x in time T is b T x= a T+ b ε T

Example A stock price starts at 40 and at the end of one year, it has a probability distribution of N(40,10) If we assume the stochastic process is Markov with no drift then the process is ds = 10dz If the stock price were expected to grow by $8 on average during the year, so that the year-end distribution is N (48,10), the process would be ds = 8dt + 10dz What the probability distribution of the stock price at the end of six months?

Itô Process (See pages 69, Hull) In an Itô process the drift rate and the variance rate are functions of time dx=a(x,t) dt+b(x,t) dz The discrete time version, i.e., x over a small time interval (t, t+ t) x = a( x, t) t + b( x, t) ε t is only true in the limit as t tends to zero

Why a Generalized Wiener Process is not Appropriate for Stocks For a stock price we can conjecture that its expected percentage change in a short period of time remains constant, not its expected absolute change in a short period of time We can also conjecture that our uncertainty as to the size of future stock price movements is proportional to the level of the stock price

A Simple Model for Stock Prices (See pages 69-71, Hull) ds = µ S dt + σ S dz Itô s process where µ is the expected return σ is the volatility. The discrete time equivalent is S = µ S t + σsε t

Example: Simulate asset prices Consider a stock that pays no-dividends, has an expected return 15% per annum with continuous compounding and a volatility of 30% per annum. Observe today s price $1 per share and with t = 1/50 yr. Simulate a path for the stock price. Given Then S i -1 i, we compute S = µ S t + σs ε t i 1 i 1 S = S + S i 1 9

Example: Simulate stock prices Stock Price S at start of period 1.0000 0.9751 0.9870 1.0099 1.0108 1.0165 1.0140 1.0037 1.0180 0.997 Random sample for ε -1.3457 0.613 1.198 0.0114 0.667-0.1590-0.565 0.7189-1.3431-1.3913 S during a time period dt -0.049 0.0119 0.09 0.0008 0.0057-0.005-0.0103 0.0143-0.053-0.056 30

Example: Simulate stock prices 31

Itô s Lemma (See pages 73-74, Hull) If we know the stochastic process followed by x, Itô s lemma tells us the stochastic process followed by some function G (x, t ) Since a derivative security is a function of the price of the underlying and time, Itô s lemma plays an important part in the analysis of derivative securities

Taylor Series Expansion A Taylor s series expansion of G(x, t) gives + + + + + = t t G t x t x G x x G t t G x x G G ½ ½

Ignoring Terms of Higher Order Than t and x t x x x G t t G x x G G t t G x x G G + + = + = ½ order of which is has a component because In stochastic calculus this becomes In ordinary calculus we have

Substituting for x t b x G t t G x x G G t t b t a x dz t x b dt t x a dx ε + + = ε + = ½ higher order than Then ignoring terms of + = so that ), ( ), ( Suppose

The ε t Term Since ε N(0,1), E( ε ) = 0 It follows that ( ε ) ( ε ) [ ( ε)] = 1 ( ε ) = 1 The variance of is proportional to and can be ignored. Hence G G 1 G G x t b t = + + x t x E E E t = t t E t

Taking Limits s Lemma is Ito' This ½ obtain We ng Substituti ½ limits Taking dz b x G dt b x G t G a x G dg dz b dt a dx dt b x G dt t G dx x G dg + + + = + = + + =

Application of Ito s Lemma to a Stock Price Process The stock price process is ds = µ S dt + σs d z For a function G of S and t dg = G S µ S + G t + ½ G S σ S dt + G S σs dz

Example If G = ln S, then dg =? σ dg = µ dt + σ dz Generalized Wiener process

A generalized Wiener process for stock price The discrete version of this is or () t ( /) St ( + t) = St ( ) e ( ) ln St ( + t) ln St ( ) = µ σ / t+ σε t µ σ t+ σ ε t S follows a lognormal distribution. It is often referred to as geometric Brownian motion. 40

Lognormal Distribution The corresponding density function for S( t) is ( x) f exp = ( ()) ( ) for x > 0 with f x = 0 for x 0. It can be proven that E S t = S e var ( ()) ( µ + σ ) = 0 ( ()) 0 µ t E S t S e log x σ µ t S 0 σ t xσ πt µ t σ = ( t ) 0 1 S t S e e t

Example: Simulate stock prices 4

Models for stock price in risk neutral world (r: risk-free interest rate) In a risk neutral world, two process for the underlying asset is: ds = σ S dz + ˆ µ Sdt or (1) ( ) () ˆ () () S t + t S t = µ S t t + σs t ε t ( σ ) d ln S= r / dt+ σ dz or () ( σ ) ln St ( + t) ln St ( ) = r / t+ σε t 43

Which one is more accurate? It is usually more accurate to work with InS because it follows a generalized Wiener process and () is true for any t while (1) is true only in the limit as t tends to zero. For all T, ( σ ) ln ST ( ) ln S(0) = r / T + σε T i.e., ( r /) T ST ( ) S(0) e σ + = σε T 44

3. Monte Carlo Simulation 3.3 Generate pseudo-random variates Math6911 S08, HM Zhu

Generate pseudorandom variates The usual way to generate psedorandom variates, i.e., samples from a given probability distribution: 1. Generate psedurandom numbers, which are variates from the uniform distribution on the interval (0, 1). Denote as U(0, 1). Apply suitable transformation to obtain the desired distribution

Generate U(0, 1) variables The standard method is linear congruential generators (LCGs): 1.. Return number Comments : Z Given an integer number Z ( az + c)( mod m) where a, c, and m are chosen parameters 0 Z i = i 1 Zi m : the initial number, the seed of which generate a U(0,1) variable eg. rand('seed', 0) generates the same sequence each time LCGs generates rational numbers instead of i-1, the random sequence. m-1 real ones i Periodic. The sequency Ui = has a maximum period of m m i= 0 Improved MATLAB function :rand('state', 0) allows much longer periods

Generate U(0, 1) variables

Generate U(0, 1) variables

Generate general distribution F(x) from U(0, 1) Given the distribution function F. Return X = F -1 ( U ) ( x) = P{ X x} random variates according to F by the following 1. Draw a random number U~U ( 01, ), we can generate Proof : Use the monotonicity of F and the fact that U is distributed : P 1 { X x} = P F ( U ) { } = F( x) { x} = P U F( x) uniformly

Question How to generate samples according to standard normal distribution N(0,1) from U(0, 1)? - No analytical form of the inverse of the distribution function - Support is not finite

Generate Samples from Normal Distribution One simple way to obtain a sample from Ν(0,1) is as follows where U and x is i 1 x = i= 1 U i 6 ( ) the required samples from N 0,1 ( ) are independent random numbers from U 0,1, Note : - It is from Central Limit Theorem. - The approximation is satisfactory for most purposes

Central Limit Theorem Let X 1, X, X 3,... be a sequence of independent random variables which has the same probability distribution. Consider the sum :S n = X 1 +... + X n. Then the expected value of S n is nμ and its standard deviation is σ n ½. Furthermore, informally speaking, the distribution of S n approaches the normal distribution N(nμ,σn 1/ ) as n approaches. Or the standardized S n, i.e., Then the distribution of Z n converges towards the standard normal distribution N(0,1) as n approaches

A Note Uniform random variable X: PDF: 1, if x a,b f ( x) = b a 0, otherwise Mean: b+ a EX [ ] = Variance: Var ( X ) = ( b a) 1 ( )

Generate Samples from N(0,1): Box-Muller algorithm The Box-Muller algorithm can be implemented as follows:. Set R logu1 and = U 1 ( ) 1. Generate two independent uniform samples from U,U ~ U 0, 1 = 3. Set X = Rcosθ and Y = Rsinθ θ where X and Y are independent samples from N 0, 1. π ( ) Note: - Box and Muller (1958), Ann. Math. Statist., 9:610-611 - Common and more efficient than the previous method. - But it is costly to evaluate trigonometric functions

Generate Samples from N(0,1): Improved Box-Muller algorithm The polar rejection (improved Box-Muller) method: 1 1 1 1 ( ) 1. Generate two independent uniform samples from U,U ~ U 0, 1. Set V = U -1, V = U -1, and S = V + V 3. If S>1, return to step 1; otherwise, return -lns -lns X = V and Y = V S S 1 ( ) where X and Y are required independent samples from N 0, 1. Note: - Ahrens and Dieter (1988), Comm. ACM 31:1330-1337

Question How to generate samples according to normal distribution N(µ, σ) from N(0, 1)?

To Obtain Correlated Normal Samples To obtain correlated normal samples ε and ε, we first 1 1 1 1 1 1. generate two independent stardard normal variates x, x ~N 0,1. and set ε = µ + x ε = µ + ρx + x 1 ρ where ρ is the coefficient of correlation. 1 ( )

To Obtain n Correlated Normal Samples To obtain n correlated normal samples ε,, ε, we first 1. generate n independent stardard normal variates x,,x ~N 0,1. and set T ε µ U X = + 1 1 n T Here, UU= Σ = ρ ij is the Cholesky decomposition of the covariance matrix Σ. n ( )

Simulate the correlated asset prices To simulate the payoff of a derivative depending on multi-variables, how can we generate samples of each variables? ( ) S(t+ t) = S(t)e µ i σi σiεi i i ˆ / + t t 60

3. Monte Carlo Simulation 3.4 Choose the number of simulations Math6911 S08, HM Zhu

How many trials is enough? X i : Sequence of independent samples from the same distribution ( ) X M 1 M M i=1 ( ) = ( ) S M 1 Xi X M M 1 X i M i=1 : Sample mean, an unbiased estimator to the [ ] quantitiy of interest µ = E X : Sample variance E σ ( ( ) µ ) X M = Var X ( M) = : the expected value of square error M as a way to quantify the quality of our estimator Note that can be estimated by the sample vari σ i ance S ( M)

Number of Simulations and Accuracy The number of simulation trials carried out depends on the accuracy required. M: number of independent trials carried out µ: expected value of the derivative, S(M): standard deviation of the discounted payoff given by the trials.

Standard Errors in Monte Carlo Simulation The standard error of the estimate of the option price based on sample size M is: σ M S ( M) M Clearly as M increases, our estimate is more accurate

(1-α) Confidence Interval of Monte Carlo Simulation In general, the confident interval at level (1- α) may be computed by 1 α / ( ) S M S M ( ) 1 α / µ 1 α / Note: Uncertainty is inverse proportional to the square root of the number of trials ( ) X ( M) z < < X M + z M M where z is the critical number from the standard normal distribution.

95% Confidence Interval of Monte Carlo Simulation A 95% confidence interval for the price V of the derivative is therefore given by: ( ) X M ( ) ( ) ( ) S M S M 1.96 < µ < X M + 1.96 M M

Absolute error Suppose we want to controlling the absolute error such that, with probability 1-α, ( ) ( ) X M µ β, where β is the maximum acceptable tolerance. Then the number of simulations M must satisfy β z ( ) 1 α / S M M.

Relative error Suppose we want to controlling the relative error such that, with probability 1-α, X M ( ) µ ( ) ( ) µ γ, where γ is the maximum acceptable tolerance. Then the number of simulations M must satisfy z ( ) 1 α / S M M X M 1. γ + γ

3. Monte Carlo Simulation 3.5 Applications in Option Pricing Math6911 S08, HM Zhu

Monte Carlo Simulation When used to value a derivative dependent on a market variable S, this involves the following steps: 1. Simulate 1 path for the stock price in a risk-neutral world. Calculate the payoff from the stock option 3. Repeat steps 1 and many times to get many sample payoff 4. Calculate mean payoff 5. Discount mean payoff at risk-free rate to get an estimate of the value of the option

Example: European call Consider a European call on a stock with no-dividend payment. S(0) = $50, E = 5, T = 5 months, and annual risk-free interest rate r = 10% and a volatility σ= 40% per annum. Black-Schole Price: $5.1911 MC Price with 1000 simulations: $5.4445 Confidence Interval [4.8776, 6.0115] MC Price with 00,000 simulations: $5.1780 Confidence Interval [5.1393, 5.167] 71

Example: Butterfly Spread A butterfly spread consists of buying a European call option with exercise price K 1 and another with exercise price K 3 (K 1 < K 3 ) and by selling two calls with exercise price K = (K 1 + K 3 )/, for the same asset and expiry date Consider a butterfly spread with S(0) = $50, K 1 = $55, K = $60, K 3 = 65, T = 5 months, and annual risk-free interest rate r = 10% and a volatility σ= 40% per annum. Exact price: $0.614 MC price with 100,000 simulations: $0.6095 Confidence Interval [0.6017, 0.6173] 7

Example: Arithmetic Average Asian Option Consider pricing an Asian average rate call option with discrete arithmetic averaging. The option payoff is 1 N max S ( ti ) K, 0 N i= 1 where ti = i t and = t T. N Consider the option on a stock with no-dividend payment. S(0) = $50, K = 50, T = 5 months, and annual risk-free interest rate r = 10% and a volatility σ= 40% per annum. 73

Determining Greek Letters For : 1. Make a small change to asset price. Carry out the simulation again using the same random number streams 3. Estimate as the change in the option price divided by the change in the asset price V * MC V S MC Proceed in a similar manner for other Greek letters 74

3. Monte Carlo Simulation 3.6 Further Comments Math6911 S08, HM Zhu

The parameters in the model Our analysis so far is useless unless we know the parameters µ and σ The price of an option or derivative is in general independent of µ However, the asset price volatility σ is critically important to option price. Typically, 0%< σ < 50% Volatility of stock price can be defined as the standard deviation of the return provided by the stock in one year when the return is expressed using continuous compounding 76

Estimate volatility σ from historical data Assume: n + 1: number of observation at fixed time interval S: i Stock price at end of ith (i = 0, 1,..., n) interval t: Length of observing time interval in years S i ui = ln : n number of approximation for the change Si 1 of ln S over t 77

Estimate volatility σ from historical data Compute the standard deviation of the u 1 n ( ) s = u 1 i u i= n 1 where the mean of the u 'sis s The standard error of estimate is about 1 n u = u i= 1 i n s σ t σ ˆ σ = t i i 's: ˆ σ n 78

Advantages and Limitations More efficient for options dependent on multiple underlying stochastic variables. As the number of variables increase, Monte Carlo simulations increases linearly while the others increases exponentially Easily deal with path dependent options and options with complex payoffs / complex stochastic processes Has an error estimate It cannot easily deal with American options Very time-consuming

Extensions to multiple variables When a derivative depends on several underlying variables we can simulate paths for each of them in a risk-neutral world to calculate the values for the derivative

Sampling Through the Tree Instead of sampling from the stochastic process we can sample paths randomly through a binomial or trinomial tree to value a derivative

3. Monte Carlo Simulation 3.7 Variance Reduction Techniques Math6911 S08, HM Zhu

Variance Reduction Procedures Usually, a very large value of M is needed to estimate V with reasonable accuracy. Variance reduction techniques lead to dramatic savings in computational time Antithetic variable technique Control variate technique Importance sampling Stratified sampling Moment matching Using quasi-random sequences

Antithetic Variable Technique 1 VAV = M We can prove that ( ( )) ( 01) Consider to estimate V = E f U where U N,. The standard Monte Carlo estimate: M 1 V = f U U N,. ( ) with i.i.d. ( 01) MC i i M i= 1 The antithetic variate technique: M i= 1 ( ) + ( ) ( i) + ( i) with i.i.d. U N ( 01, ) f U f U f Ui f Ui 1 var = var ( f ( Ui) ) cov( f ( U i), f ( Ui) ) + 1 var ( f ( Ui )) if f is monotonic. i

Antithetic Variable Technique It involves calculating two values of the derivative. V 1 : calculated in the usual way V : calculated by the changing the sign of all the random standard normal samples used for V 1 V is average of the V 1 and V, the final estimate of the value of the derivative

Antithetic Variable Technique Note: 1. Monte-Carlo works when the simulated variables "spread out" as closely as possible to the true distribution.. Antithetic variates relies upon finding samplings that are anticorrelated with the original random variable. 3. Works well when the payoff is monotonic w.r.t. S 4. Further reading: --P.P. Boyle, Option: a Monte Carlo approach, J. of Finanical Economics, 4:33-338 (1977) --Boyle, Broadie and Glasserman, Monte Carlo methods for security pricing J. of Economic Dynamics and Control, 1: 167-131 (1997) --N. Madras, Lectures on Monte Carlo Methods, 00

Example: European call Consider a European call on a stock with no-dividend payment. S(0) = $50, K = 5, T = 5 months, and annual risk-free interest rate r = 10% and a volatility σ= 40% per annum. Black-Schole Price: $5.1911 MC Price with 00,000 simulations: $5.1780 Confidence Interval [5.1393, 5.167] MCAV Price with 00,000 simulations: $5.1837 Confidence Interval [5.1615, 5.058] (ratio: 1.75) 87

Example: Butterfly Spread Consider a butterfly spread with S(0) = $50, K 1 = $55, K = $60, K 3 = 65, T = 5 months, and annual risk-free interest rate r = 10% and a volatility σ= 40% per annum. Exact price: $0.614 MC price with 100,000 simulations: $0.6095 Confidence Interval [0.6017, 0.6173] MCAV price with 50,000 simulations: $0.6090 Confidence Interval [0.598, 0.6198] 88

Control Variate Technique We can generalize the previous technique to ( ( ) ) for any θ. Here, V is "close" to V with known mean E V. In this case, Z = V + θ E V V θ var A B B Z = var V θv ( ) ( ) θ ( ) B A B A B = var V θcov V, V + θ var V ( ) ( ) ( ) We can prove that var Z < var V if and only if cov VA, V 0< θ < var V A A B B ( ) ( ) θ ( ) ( ) B B. A 89

Example: European call Consider a European call on a stock with no-dividend payment. S(0) = $50, K = 5, T = 5 months, and annual risk-free interest rate r = 10% and a volatility σ= 40% per annum. Black-Schole Price: $5.1911 MC Price with 00,000 simulations: $5.1780 Confidence Interval [5.1393, 5.167] MCCV Price with 00,000 simulations: $5.1883 Confidence Interval [5.171, 5.054] (ratio:.645) 90

Example: Arithmetic Average Asian Option Consider the option on a stock with no-dividend payment. S(0) = $50, K = 50, T = 5 months, and annual risk-free interest rate r = 10% and a volatility σ= 40% per annum. We could use the sum of the asset prices as a control variate as we know its expected value and Y is correlated to the option itself N N N r( N+ 1) t ri t 1 e E S( ti ) = E S( i t) = S0 e = S0 r t i= 0 i= 0 i= 0 1 e Another choice of the control variate is the payoff of a geometric average option as this is known analytically 1 N N max S( ti ) K, 0 i= 1 91

Importance Sampling Technique It is a way to distort the probability measure in order to sample from critical region. For example, in evaluating European call option: F: the unconditional probability distribution function for the asset price at time T q: the probability of the asset price K at maturity, known analytically G = F / q: the probability distribution of the asset conditional on the asset price K, i.e., importance function Instead of sampling from F, we sample from G. Then the value of the option is the average discounted payoff multiplied by q.

Stratified Sampling Technique Sampling representative values rather than random values from a probability distribution is usually more accurate. It involves dividing the distribution into intervals and sampling from each interval (stratum) according to the distribution: [ ] EX m = pe j XY= j= 1 { } j where P Y = y = p for j = 1,,m, is known. j y j Note: 1. For each stratum, we sample X conditioned on the even Y = y j. The representative values are typically mean or median for each interval

Moment Matching Moment matching involves adjusting the samples taken from a standard normal distribution so that the first, second, or possibly higher moments are matched. For example, we want to sample from N(0,1). Suppose that the samples are εi (1 i n). To match the first two moments, we adjustify the samples by * εi m εi = s where m and s are the mean and standard deviation of samples. The adjusted samples ε has the correct mean 0 and standard deviation 1. * i We then use the adjusted samples for calculation.

Quasi-Random Sequences Also called a low-discrepancy sequence is a sequence of representative samples from a probability distribution At each stage of the simulation, the sampled points are roughly evenly distributed throughout the probability space The standard error of the estimate is proportional to 1 M

Further reading R. Brotherton-Ratcliffe, Monte Carlo Motoring, Risk, 1994:53-58. W.H.Press, et al, Numerical Reciptes in C, Cambridge Univ. Press, 199 I. M. Sobol, USSR Computational Mathematics and Mathematical Physics, 7, 4, (1967): 86-11; P. Jaeckel, Monte Carlo Methods in finance, Wiley, Chichester, 00 P. Glasserman, Monte Carlo Methods in Financial Engineering, Springer-Verlag, New York, 004

Further reading www.mcqmc.org www.mat.sbg.ac.at/~schmidw/links.html

3. Monte Carlo Simulation Appendix Math6911 S08, HM Zhu

Asian Options (Chapter ) Payoff related to average stock price Average Price options pay: Call: max(s ave K, 0) Put: max(k S ave, 0) Average Strike options pay: Call: max(s T S ave, 0) Put: max(s ave S T, 0) 99

Asian Options (Chapter ) For arithmetic averaging: N 1 S S t, T N t ave For geometric averaging: = ( ) i where = N i = 1 S N ave = S t1 S t S tn ( ) ( ) ( ) 10 0

Asian Options (geometric averaging) Closed form (Kemna & Vorst,1990, J. of Banking and Finance, 14:113-19) because the geometric average of the underlying prices follows a lognormal distribution as well. where N(x) is the cumulative normal distribution function and 10 1

Asian Options (arithmetic averaging) No analytic solution Can be valued by assuming (as an approximation) that the average stock price is lognormally distributed Turnbull and Wakeman, 1991, J. of Financial and Quantitative Finance, 6:377-389 Levy,199, J. of International Money and Finance, 14:474-491 10

Example: Asian Put with arithmetric average Consider an Asian Put on a stock with non-dividend payment. S(0) = $50, X = 50, T = 5 months, and annual risk-free interest rate r = 10% and a volatility σ= 40% per annum. MC Price with 100,000 simulations: $3.9806 Confidence Interval [3.9195, 4.07] MCAV Price with 100,000 simulations: $3.9581 Confidence Interval [3.9854, 3.9309] 10 3