+ All Categories
Home > Documents > NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Date post: 16-Apr-2015
Category:
Upload: saul-diaz-infante
View: 97 times
Download: 6 times
Share this document with a friend
Description:
NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.
44
NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS A thesis submitted to university of edinburgh and heriot-watt university for the degree of Master of Science 2005 By Seokhyun Han 1
Transcript
Page 1: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

NUMERICAL SOLUTION OF

STOCHASTIC DIFFERENTIAL

EQUATIONS

A thesis submitted to university of edinburgh and heriot-watt

university

for the degree of Master of Science

2005

By

Seokhyun Han

1

Page 2: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Contents

Abstract 4

Acknowledgments 5

1 Introduction 6

2 Part I - Review 8

2.1 Ito formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.2 Uniqueness and Existence of SDEs . . . . . . . . . . . . . . . . . 9

2.3 Vector SDEs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2.4 Ito-Taylor expansion . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.5 Euler Approximation . . . . . . . . . . . . . . . . . . . . . . . . . 15

2.6 Pathwise Approximation and Strong Convergence . . . . . . . . . 16

2.7 Approximation of Moments and Weak Convergence . . . . . . . . 16

2.8 Strong Approximations . . . . . . . . . . . . . . . . . . . . . . . . 18

2.8.1 Euler scheme . . . . . . . . . . . . . . . . . . . . . . . . . 19

2.8.2 Milstein scheme . . . . . . . . . . . . . . . . . . . . . . . . 20

2.9 Weak Approximation . . . . . . . . . . . . . . . . . . . . . . . . . 22

2.9.1 Weak Euler Scheme . . . . . . . . . . . . . . . . . . . . . . 22

2.9.2 Order 2.0 Weak Taylor scheme . . . . . . . . . . . . . . . . 22

3 Part II - Improving Accuracy 24

3.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

3.2 Main results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

3.3 Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

4 Part III - Implementation for Strong Approximation 38

5 Conclusion 41

2

Page 3: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Bibliography 44

3

Page 4: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Abstract

The aim of this paper is to provide a systematic treatment of time discretized

numerical schemes for stochastic differential equations and to demonstrate that

it is possible to improve the accuracy of the weak error of Euler’s approximation

by implementing Richardson’s idea.

4

Page 5: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Acknowledgments

I would like to express my deep gratitude to many teaching staff who have taught

and helped me in course of Graduate Certificate in Mathematical Science and MSc

in Financial Mathematics. I am greatly indebted to Professor Istvan Gyongy, MSc

project supervisor, who have given many interesting ideas and helpful advice. I

also owe many thanks to my colleague, Tomas Lagland, for his assistance.

5

Page 6: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Chapter 1

Introduction

This paper aims to provide a systematic framework for an understanding of the

basic concepts and tools needed for the development and implementation of nu-

merical methods for stochastic differential equations, primarily time discretization

methods for initial value problems of stochastic differential equations with Ito dif-

fusions as their solutions. Recent years have witnessed that the most efficient and

widely applicable approach to solving SDEs seems to be the simulation of sample

paths of time discrete approximations on digital computers. This is based on a

finite discretization of the time interval [0, T ] under consideration and generates

approximate values of the sample paths step by step at the discretization times.

Ito process X = Xt, t ≥ 0 has the form

Xt = X0 +

∫ t

0

a(Xs)ds +

∫ t

0

b(Xs)dWs

for t ≥ 0 with an initial value X0 which may be random, the drift a(Xt), and the

diffusion b(Xt). This integral equation is often written in the differential form

dXt = a(Xt)dt + b(Xt)dWt

which is called an Ito stochastic differential equation. Unfortunately explicitly

solvable SDEs are rare in practical applications. However, there are increasing

number of numerical methods for the solution of SDEs. In connection with this is-

sue, my intent here is to review the systematic development of efficient numerical

6

Page 7: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 1. INTRODUCTION 7

methods for SDEs by using [2] [3]. Obviously such methods should be imple-

mentable on digital computers. We shall survey various time discrete numerical

methods which are appropriate for the simulation of sample paths or functionals

of Ito processes in order to estimate various statistical features of the desired so-

lution. In dealing with this issue, we should also speak of how to judge the quality

of a discrete time approximation, i.e. a criterion needs to be specified. Such a

criterion should reflect the main goal of practical simulations. There are two basic

types of tasks connected with the simulation of solutions of stochastic differential

equations. The first occurs in situation where a good pathwise approximation is

required, for instance in direct simulations, filtering or testing statistical estima-

tors. In the second interest focuses on approximating expectations of functionals

of the Ito process, such as its probability distribution and its moments. This is

relevant in many practical problems because such functionals can not often be

determined analytically. Furthermore, the ultimate goal of this paper will be to

investigate a general idea of improving accuracy of numerical methods which is

due to Richardson. He suggested to consider approximations obtained by linear

combinations of approximation corresponding to different step sizes.

Before we undertake this task, it is worth taking a quick look at the main

parts. Part I on Review will survey Ito formula, vector SDEs, stochastic Taylor

expansions which provide a universally applicable tool for SDEs which is analo-

gous to the deterministic Taylor formula in ordinary calculus, and Euler scheme

to highlight the basic issues, types of problems, and objectives that arise when

SDEs are solved numerically. In particular, we distinguish between strong and

weak approximations, depending on whether good pathwise or good probability

distributional approximations are sought. The object of Part II is to revisit the

themes originally explored in D.Talay and L.Tubaro’s paper “Expansion of the

global error for numerical schemes solving stochastic differential equation” [1] in

order to show how to improve the weak error of the Euler scheme.

Page 8: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Chapter 2

Part I - Review

In the following I will give a brief general survey of numerical solution of stochastic

differential equations using P.E.Kloeden and E.Platen’s two books [2] [3].

2.1 Ito formula

Let a and b be two functions from [0, T ] × Ω into R with measurability and

integrability properties that the ordinary and stochastic integrals appearing in the

following formula make sense. By a stochastic differential we mean an expression

(2.1) dXt(ω) = a(t, ω)dt + b(t, ω)dWt(ω)

which is just a symbolical way of writing

Xt(ω)−Xs(ω) =

∫ t

s

a(u, ω)du +

∫ t

s

b(u, ω)dWu(ω)

w.p.1, for any 0 ≤ s ≤ t ≤ T . The first integral in the above is an ordinary

(Riemann or Lebesgue) integral for each ω ∈ Ω and the second is an Ito integral.

Let f : [0, T ] × R → R have continuous partial derivatives ∂f∂t

, ∂f∂x

and ∂2f∂x2 . A

scalar transformation by f of the stochastic differential (2.1) results after some

non trivial analysis in the Ito formula,

df(t,Xt) =∂f(t, Xt)

∂tdt +

∂f(t,Xt)

∂xdXt +

1

2

∂2f(t,Xt)

∂x2(dXt)

2

8

Page 9: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 9

and in other way,

f(t, Xt)− f(s,Xs) =

∫ t

s

∂f

∂t+ a

∂f

∂x+

1

2b2∂2f

∂x2

du +

∫ t

s

b∂f

∂xdWu

w.p.1, for any 0 ≤ s ≤ t ≤ T , where the integrands are all evaluated at (u,Xu).

2.2 Uniqueness and Existence of SDEs

When we have no explicit solution of an Ito stochastic equation

(2.2) Xt = Xt0 +

∫ t

t0

a(Xs)ds +

∫ t

t0

b(Xs)dWs

we need somehow to ensure the existence and uniqueness of a process X =

Xt, t ∈ [t0, T ] which satisfies it. We call a(Xs) the drift coefficient and b(Xs)

the diffusion coefficient.We shall say that solutions of (2.2) are pathwise unique

if any two such solutions X = Xt, t ∈ [t0, T ] and X = Xt, t ∈ [t0, T ] have,

almost surely, the same sample paths on [t0, T ], that is if

P

(sup

t0≤t≤T| Xt − Xt |> 0

)= 0

In this case we call X a unique strong solution of (2.2). From a basic existence and

uniqueness theorem, it follows that equation (2.2) has a unique strong solution

X = Xt, t ∈ [t0, T ] on [t0, T ] with

supt0≤t≤T

E(X2t ) < ∞

provided Xt0 is independent of W = Wt, t ∈ [t0, T ] with E(Xt0)2 < ∞ and

the coefficients a, b satisfy Lipschitz conditions. We often call X an Ito diffusion

process. Sometimes equation (2.2) may have solutions which are unique in the

weaker sense that only their probability laws coincide, but not necessarily their

sample paths. We shall say then that we have a unique weak solution. Existence

and uniqueness of weak solutions follow if the coefficients a and b are bounded

and continuous and b is nondegenerate |b| ≥ ε > 0. Of course, any unique strong

solution is always a unique weak solution.

Page 10: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 10

2.3 Vector SDEs

We shall interpret a vector as a column vector and its transpose as a row vector

and consider an m-dimensional Wiener process W = Wt, t ≥ 0 with compo-

nents W 1t ,W 2

t , . . . , Wmt , which are independent independent scalar Wiener pro-

cesses. Then, we take a d-dimensional vector valued function a : [t0, T ]×Rd → Rd,

the drift coefficient, and a d×m-matrix valued function b : [t0, T ]×Rd → Rd×m,

the diffusion coefficient, t0 ∈ [0, T ], to form a d-dimensional vector stochastic

differential equation

(2.3) dXt = a(t,Xt)dt + b(t,Xt)dWt

We interpret this as a stochastic integral equation

(2.4) Xt = Xt0 +

∫ t

t0

a(s,Xs)ds +

∫ t

t0

b(s,Xs)dWs

with initial value Xt0 ∈ Rd, where the Lebesgue and Ito integrals determined

component by component, with the ith component of (2.4) being

X it = X i

t0+

∫ t

t0

ai(s,Xs)ds +m∑

j=1

∫ t

t0

bi,j(s,Xs)dW js

If the drift and diffusion coefficients do not depend on the time variable, that

is if a(t, x) ≡ a(x) and b(t, x) ≡ b(x), then we say that stochastic equation is

autonomous. We can always write a nonautonomous equation as a vector au-

tonomous equation of one dimension more by setting in the first component the

drift coefficient equal to 1 and the diffusion coefficient as 0 to obtain as the first

component of Xt the time variable X1t = t.

There is a vector version of the Ito formula. For a sufficiently smooth transfor-

mation f = [t0, T ] × Rd → Rk of the solution X = Xt, t0 ≤ t ≤ T of (2.3) we

obtain a k-dimensional process Y = Yt = f(t,Xt), t0 ≤ t ≤ T with the vector

stochastic differential in component form

dY pt =

(∂f p

∂t+

d∑i=1

ai ∂f p

∂xi

+1

2

d∑i,j=1

m∑

l=1

bi,lbj,l ∂2f p

∂xi∂xj

)dt +

m∑

l=1

d∑i=1

bi,l ∂f p

∂xi

dW lt

Page 11: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 11

for p = 1, 2, . . . , k, where the terms are all evaluated at (t, Xt). We can sometimes

use this formula to determine the solutions of certain vector stochastic differential

equations in terms of known solutions of the other equations, for example linear

equations.

2.4 Ito-Taylor expansion

To begin we consider the equation X = Xt, t ∈ [t0, T ] of 1-dimensional ordinary

differential equationd

dtXt = a(Xt)

with initial value Xt0 , for t ∈ [t0, T ] where 0 ≤ t0 < T , which we can write in the

equivalent integral equation form as

(2.5) Xt = Xt0 +

∫ t

t0

a(Xs)ds

To justify the following constructions we require that the function a satisfies

appropriate properties, for instance to be sufficiently smooth with a linear growth

bound. let f : R → R be a continuously differentiable function. Then by the

chain rule, we have

(2.6)d

dtf(Xt) = a(Xt)f

′(Xt)

which using the operator

Lf = af ′

where ′ denotes differentiation with respect to x, we can express (2.6) as the

integral relation

(2.7) f(Xt) = f(Xt0) +

∫ t

t0

Lf(Xs)ds

for all t ∈ [t0, T ]. When f(x) ≡ x we have Lf = a, L2f = La,. . . and (2.7)

reduces to

(2.8) Xt = Xt0 +

∫ t

t0

a(Xs)ds

Page 12: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 12

that is, to equation (2.5). If we apply the relation (2.7) to the function f = a in

the integral in (2.8), we obtain

(2.9) Xt = Xt0 +

∫ t

t0

(a(Xt0) +

∫ s

t0

La(Xz)dz)ds

= Xt0 + a(Xt0) + a(Xt0)

∫ t

t0

ds +

∫ t

t0

∫ s

t0

La(Xz)dzds

which is the simplest nontrivial Taylor expansion for Xt. We can apply (2.7)

again to the function f = La in the double integral of (2.9) to derive

Xt = Xt0 + a(Xt0)

∫ t

t0

ds + La(Xt0)

∫ t

t0

∫ s

t0

dzds + R3

with remainder

R3 =

∫ t

t0

∫ s

t0

∫ z

t0

L2a(Xu)dudzds

for t ∈ [t0, T ]. For a general r + 1 times continuously differentiable function

f : R→ R, this method gives the classical Taylor formula in integral form

(2.10) f(Xt) = f(X0) +r∑

i=1

(t− t0)l

l!Llf(Xt0) +

∫ t

t0

· · ·∫ s2

t0

Lr+1f(Xs1)ds1

for t ∈ [t0, T ] and r = 1, 2, 3, . . . since

∫ t

t0

∫ s1

t0

· · ·∫ sl−1

t0

ds1 · · · dsl =1

l!(t− t0)

l

for l = 1, 2, . . .. The Taylor formula (2.10) has proven to be a very useful tool in

both theoretical and practical investigations, particularly in numerical analysis.

It allows the approximation of a sufficiently smooth function in a neighborhood

of a given point to any desired order of accuracy. The expansion depends on

the values of the function and some of its higher derivatives at the expansion

point, weighted by corresponding multiple time integrals. In addition, there is

a remainder term which contains the next following multiple time integral, but

with a time dependent integrand.

A stochastic counterpart of the deterministic Taylor formula for the expansion

of smooth functions of an Ito process about a given value has many potential

Page 13: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 13

applications in stochastic analysis, for instance in the derivation of numerical

methods for stochastic differential equations. There are several possibilities for

such a stochastic Taylor formula. One is based on the iterated application of the

Ito formula, which we shall call the Ito-Taylor expansion. We shall indicate it

here for the solution Xt of the 1-dimensional Ito stochastic differential equation

in integral form

Xt = Xt0 +

∫ t

t0

a(Xs)ds +

∫ t

t0

b(Xs)dWs

for t ∈ [t0, T ], where the second integral is an Ito stochastic integral and the

coefficients a and b are sufficiently smooth real valued functions satisfying a linear

growth bound. For any twice continuously differentiable function f : R→ R, the

Ito formula then gives

(2.11) f(Xt) = f(X0) +

∫ t

t0

(a(Xs)f

′(Xs) +1

2b2(Xs)f

′′(Xs)

)ds

+

∫ t

t0

b(Xs)f′(Xs)dWs

= f(Xt0) +

∫ t

t0

L0f(Xs)ds +

∫ t

t0

L1f(Xs)dWs

for t ∈ [t0, T ]. Here we have introduced the operators

L0f = af ′ +1

2b2f ′′

and

L1f = bf ′

Obviously for f(x) ≡ x we have L0f = a and L1f = b, in which case (2.11)

reduces to the original Ito equation for Xt, that is to

(2.12) Xt = Xt0 +

∫ t

t0

a(Xs)ds +

∫ t

t0

b(Xs)dWs

In analogy with the deterministic expansion above, if we apply the Ito formula

(2.11) to the functions f = a and f = b in (2.12) we obtain

(2.13) Xt = Xt0 +

∫ t

t0

(a(Xt0) +

∫ s

t0

L0a(Xz)dz +

∫ s

t0

L1a(Xz)dWz

)ds

Page 14: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 14

+

∫ t

t0

(b(Xt0) +

∫ s

t0

L0b(Xz)dz +

∫ s

t0

L1b(Xz)dWz

)dWs

= Xt0 + a(Xt0)

∫ t

t0

ds + b(Xt0)

∫ t

t0

dWs + R

with remainder

R =

∫ t

t0

∫ s

t0

L0a(Xz)dzds +

∫ t

t0

∫ s

t0

L1a(Xz)dWzds

+

∫ t

t0

∫ s

t0

L0b(Xz)dzdWs +

∫ t

t0

∫ t

t0

L1b(Xz)dWzdWs

This is the simplest nontrivial Ito-Taylor expansion of Xt. It involves integrals

with respect to both the time variable and the Wiener process, with multiple

integrals with respect to both in the remainder. We can apply repeat the above

procedure, for instance by applying the Ito formula (2.11) to f = L1b in (2.13),

in which case we get

Xt = Xt0 + a(Xt0)

∫ t

t0

ds + b(Xt0)

∫ t

t0

dWs + L1b(Xt0)

∫ t

t0

∫ s

t0

dWzdWs + R

with remainder

R =

∫ t

t0

∫ s

t0

L0a(XZ)dzds +

∫ t

t0

∫ s

t0

L1a(Xz)dWzds

+

∫ t

t0

∫ s

t0

L0b(XZ)dzdWs +

∫ t

t0

∫ s

t0

∫ z

t0

L0L1b(Xu)dudWzdWs

+

∫ t

t0

∫ s

t0

∫ z

t0

L1L1b(Xu)dWudWzdWs

It is possible to express the Ito-Taylor expansion for a general function f and arbi-

trarily many expansion terms in a succinct way. Nevertheless, its main properties

are already apparent in the preceding example, with the multiple Ito integrals

∫ t

t0

ds,

∫ t

t0

dWs,

∫ t

t0

∫ s

t0

dWzdWs

multiplied by certain constants and a remainder term involving the next following

multiple Ito integrals, but with nonconstant integrands. The Ito-Taylor expan-

sion can thus be considered as a generalization of both the Ito formula and the

Page 15: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 15

deterministic Taylor formula.

2.5 Euler Approximation

One of the simplest time discrete approximations of an Ito process is the Euler

approximation. We shall consider an Ito process X = Xt, t0 ≤ t ≤ T satisfying

the scalar stochastic differential equation

dXt = a(t,Xt)dt + b(t,Xt)dWt

on t0 ≤ t ≤ T with the initial value Xt0 = X0. For a given discretization

t0 = τ0 < τ1 < · · · < τn = T of the time interval [t0, T ], an Euler approximation

is a continuous time stochastic process Y = Y (t), t0 ≤ t ≤ T satisfying the

iterative scheme

Yn+1 = Yn + a(τn, Yn)(τn+1 − τn) + b(τn, Yn)(Wτn+1 −Wτn)

for n = 0, 1, 2, . . . , N − 1 with initial value Y0 = X0, where we have written

Yn = Y (τn) for the value of the approximation at the discretization time τn. We

shall consider equidistant discretization times

τn = t0 + n∆

with stepsize ∆ = (T − t0)/N for some integer N . Now, we need to generate the

random increments

∆Wn = Wτn+1 −Wτn

for n = 0, 1, 2, . . . , N − 1, of the Wiener process W = Wt, t ≥ 0. We notice

that these increments are independent Gaussian random variables with mean

E(∆Wn) = 0 and variance E((∆Wn)2) = ∆. We shall apply the Euler scheme

Yn+1 = Yn + a∆ + b∆Wn

for n = 0, 1, . . . N − 1 to approximate specific stochastic differential equation.

Page 16: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 16

2.6 Pathwise Approximation and Strong Con-

vergence

We shall introduce the absolute error criterion which is appropriate for a situation

where a pathwise approximation is required. The absolute error criterion is just

the expectation of the absolute value of the difference between the approximation

and the Ito process at the time T , that is

ε = (E|XT − Y (T )|q) 1q

for some q ≥ 1, and gives a measure of the pathwise closeness at the end of

the time interval [0, T ]. We shall say that a discrete time approximation Y with

maximum time step size δ converges strongly to X at time T if

limδ↓0

E(|XT − Y (T )|) = 0

In order to assess and compare different discrete time approximations, we need

to know their rates of strong convergence. We shall say that a discrete time

approximation Y converges strongly with order γ > 0 at time T if there exists a

positive constant C, which does not depend on δ and a δ0 > 0 such that

ε(δ) = E(|XT − Y (T )|) ≤ Cδγ

for each δ ∈ (0, δ0). We shall investigate the strong convergence of a number of

different discrete time approximations experimentally. We shall see in particular

that the Euler approximation has strong order of convergence γ = 0.5.

2.7 Approximation of Moments and Weak Con-

vergence

To introduce this weak type of convergence, we shall carry out some computer

experiments to investigate the mean error

µ = EY (T )− EXT

Page 17: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 17

for the linear stochastic differential equation

dXt = aXtdt + bXtdWt

and its Euler approximation

Yn+1 = Yn + aYn∆n + bYn∆Wn

for n = 0, 1, 2, . . . , N − 1, where ∆Wn = τn+1 − τn denotes the step size and

∆Wn = Wτn+1 − Wτn the increment of the Wiener process. We see that this

criterion differs in its properties from the strong convergence criterion. To some

extent, the above mean error is special and not appropriate for applications where

the approximation of some higher moment

E(|XT |q)

with q = 2, 3, . . . or of some functional

E(g(XT ))

is of interest. These do not require a good pathwise approximation of the Ito

process, but only an approximation of the probability distribution of XT . We

shall say that a general discrete time approximation Y with maximum time step

size δ converges weakly to X at time T as δ ↓ 0 with respect to a class C of test

functions g : Rd → R if we have

limδ↓0|E(g(XT ))− E(g(Y (T )))| = 0

for all g ∈ C. If C contains all polynomials this definition implies the convergence

of all moments, so investigations involving it will require the existence of all

moments. We shall say that a time discrete approximation Y converges weakly

with order β > 0 to X at time T as δ ↓ 0 if for each polynomial g there exists a

positive constant C, which does not depend on δ and a finite δ0 > 0 such that

|E(g(XT ))− E(g(Y (T ))))| ≤ Cδβ

Page 18: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 18

for each δ ∈ (0, δ0). we shall see that the Euler approximation usually converges

with weak order β = 1 in contrast with the strong order γ = 0.5.

2.8 Strong Approximations

We shall consider discrete time approximations of various strong orders that have

been derived from stochastic Taylor expansions by including appropriately many

terms. To describe these schemes succinctly for a general d-dimensional Ito pro-

cess satisfying the stochastic differential equation

Xt = Xt0 +

∫ t

t0

a(s,Xs)ds +m∑

j=1

∫ t

t0

bj(s,Xs)dW js

in Ito form, for t ∈ [t0, T ], we shall use the following generalizations of the oper-

ators:

L0 =∂

∂t+

d∑

k=1

ak ∂

∂xk+

1

2

d∑

k,l=1

m∑j=1

bk,jbl,j ∂2

∂xk∂xl

L0 =∂

∂t+

d∑

k=1

ak ∂

∂xk

Lj = Lj =d∑

k=1

bk,j ∂

∂xk

for j = 1, 2, . . . ,m, with the corrected drift

ak = ak − 1

2

m∑j=1

Ljbk,j

for k = 1, 2, . . . , d. In addition, we shall abbreviate multiple Ito integrals by

I(j1, . . . , jl) =

∫ τn+1

τn

· · ·∫ s2

τn

dW j1s1· · · dW jl

sl

for j1, . . . , jl ∈ 0, 1, . . . , m, l = 1, 2, . . ., and n = 0, 1, 2, . . . with the convention

that

W 0t = t

Page 19: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 19

for all t ∈ R+. We shall also use the abbreviation

f = f(τn, Yn)

for n = 0, 1, 2, . . . in the schemes for any given function f defined on R+×Rd and

usually not explicitly mention the initial value Y0 or the step indices n = 0, 1, . . ..

2.8.1 Euler scheme

The Euler scheme is simplest strong Taylor approximation, containing only the

time and Wiener integrals of multiplicity one from the Ito-Taylor expansion, and

usually attains the order of strong convergence γ = 0.5. In the 1-dimensional

case d = m = 1, the Euler scheme has the form

Yn+1 = Yn + a∆n + b∆Wn

where

∆n =

∫ τn+1

τn

dt = τn+1 − τn

is the length of the time discretization subinterval [τn, τn+1] and

∆Wn =

∫ τn+1

τn

dWt = Wτn+1 −Wτn

is the N(0, ∆n) distributed increment of the Wiener process W on [τn, τn+1]. For

the general multiple dimensional case with d,m = 1, 2, . . . the kth componenet

of the Euler scheme has the form

Y kn+1 = Y k

n + ak∆n +m∑

j=1

bk,j∆W jn

where

∆W jn =

∫ τn+1

τn

dW jt = W j

τn+1−W j

τn

is the N(0, ∆n) distributed increment of the jth componenet of the m-dimensional

standard Wiener process W on [τn, τn+1]; thus ∆W j1n and ∆W j2

n are independent

for j1 6= j2.

Theorem 2.1 Suppose that

Page 20: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 20

(i) E(|X0|2) < ∞,

(ii) E(|X0 − Y δ0 |2)1/2 ≤ K1δ

1/2,

(iii) |a(t, x)− a(t, y)|+ |b(t, x)− b(t, y)| ≤ K2|x− y|,

(iv) |a(t, x)|+ |b(t, x)| ≤ K3(1 + |x|),

(v) |a(s, x)− a(t, x)|+ |b(s, x)− b(t, x)| ≤ K4(1 + |x|)|s− t|1/2

for all s, t ∈ [0, T ] and x, y ∈ Rd, where the constants K1, K2, K3, K4 do not

depend on δ. Then, for the Euler approximation Y δ, the estimate

E(|XT − Y δ(T )|) ≤ K5δ1/2

holds, where the constant K5 does not depend on δ.

Proof. refer to [2].

In special cases, the Euler scheme may actually achieve a higher order of

strong convergence. For example, when the noise is additive, that is when the

diffusion coefficient has the form

b(t, x) ≡ b(t)

for all (t, x) ∈ R+ × Rd, it turns out that the Euler scheme has order γ = 1.0

of strong convergence under appropriate smoothness assumptions on a and b.

We remark that additive noise is sometimes understood to have b(t) as constant.

Usually the Euler scheme gives good numerical results when the drift and diffu-

sion coefficients are nearly constant. In general, however, it is not particularly

satisfactory and the use of higher order schemes is recommended.

2.8.2 Milstein scheme

If, in the 1-dimensional case with d = m = 1, we add to the Euler scheme the

term

bb′I(1, 1) =1

2bb′(∆Wn)2 −∆n

from the Ito-Taylor expansion, then we obtain the Milstein scheme

Yn+1 = Yn + a∆n + b∆Wn +1

2bb′(∆Wn)2 −∆n

Page 21: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 21

We can rewrite this as

Yn+1 = Yn + a∆n + b∆Wn +1

2bb′(∆Wn)2

since

a = a− 1

2bb′

Theorem 2.2 Suppose that

(i) E(|X0|2) < ∞,

(ii) E(|X0 − Y δ0 |2)1/2 ≤ K1δ

1/2,

(iii)

|a(t, x)− a(t, y)| ≤ K2|x− y||bj1(t, x)− bj1(t, y)| ≤ K2|x− y|

|Lj1bj2(t, x)− Lj1bj2(t, y)| ≤ K2|x− y|

(iv)

|a(t, x)|+ |Lja(t, x))| ≤ K3(1 + |x|)|bj1(t, x)|+ |Ljbj2(t, x)| ≤ K3(1 + |x|)

|LjLj1bj2(t, x))| ≤ K3(1 + |x|)

(v)

|a(s, x)− a(t, x)| ≤ K4(1 + |x|)|s− t|1/2

|bj1(s− x)− bj1(t− x)| ≤ K4(1 + |x|)|s− t|1/2

|Lj1bj2(s− x)− Lj1bj2(t− x)| ≤ K4(1 + |x|)|s− t|1/2

for all s, t ∈ [0, T ], x, y ∈ Rd, j = 0, . . . , m and j1, j2 = 1, . . . , m, where the con-

stants K1, K2, K3, K4 do not depend on δ. Then for the Milstein approximation

Y δ, the estimate

E(|XT − Y δ(T )|) ≤ K5δ

holds, where the constant K5 does not depend on δ.

Proof. refer to [2].

Page 22: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 22

2.9 Weak Approximation

2.9.1 Weak Euler Scheme

We recall that for the general multi-dimensional case d,m = 1, 2, . . ., the kth

component of the Euler scheme has the form

Y kn+1 = Y k

n + ak∆n +m∑

j=1

bk,j∆W jn

with initial value Y0 = X0, where ∆n = τn+1 − τn and ∆W jn = W j

τn+1−W j

τn. If,

amongst other assumptions, a and b are sufficiently smooth, then the Euler ap-

proximation has order of weak convergence β = 1.0. With the weak convergence

criterion

|E(g(XT ))− E(g(Y (T ))))| ≤ Cδβ

we have much freedom to choose other simpler random variables instead of using

the Gaussian increments ∆W jn. Such random variables have only to coincide in

their lower order moments with those of ∆W 1n and ∆W 2

n to provide a sufficient

accurate approximation of the probability law of the Ito diffusion. For instance,

we could use two-point distributed random variables ∆W jn with

P(∆W j

n = ±√

∆n

)=

1

2

in which case becomes the simplified Euler scheme

(2.14) Y kn+1 = Y k

n + ak∆n +m∑

j=1

bk,j∆W jn

2.9.2 Order 2.0 Weak Taylor scheme

More accurate weak Taylor schemes can be derived by including further multiple

stochastic integrals from the stochastic Taylor expansion. Since the objective is

to obtain more information about the probability measure of the underlying Ito

process rather than about its sample space, we also have the freedom to replace

the multiple stochastic integrals by much simpler random variables as in (2.14).

We shall consider the weak Taylor scheme obtained by adding all of the double

stochastic integrals from the Ito-Taylor expansion to the Euler scheme. In the

Page 23: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 2. PART I - REVIEW 23

autonomous 1-dimensional case d = m = 1 we obtain the order 2.0 weak Taylor

scheme

Yn+1 = Yn + a∆n + b∆Wn +1

2bb′(∆Wn)2 −∆n

+a′b∆Zn +1

2

(aa′ +

1

2a′′b2

)∆2

n

(ab′ +

1

2b′′b2

)∆Wn∆n −∆Zn

where ∆Zn represents the double Ito integral

∆Zn =

∫ τn+1

τn

∫ s2

τn

dWs1dWs2

The pair of correlated Gaussian random variables (∆Wn, ∆Zn) can be generated

from a pair of independent standard Gaussian random variables.

Page 24: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Chapter 3

Part II - Improving Accuracy

In the discussion of themes below, works will be mainly taken from D.Talay and

L.Tubaro [1].

3.1 Description

Let us consider the following Ito stochastic differential equation

(3.1) dXt = b(t,Xt)dt + σ(t,Xt)dWt

where Xt is a stochastic process in Rd, Wt is a Wiener process in Rl, b(t, x) is a

d-vector and σ(t, x) is a d × l-matrix. We denote the solution of (3.1) with the

deterministic initial condition x at time s by Xs,xt or Xs = x. We suppose that

the coefficients b and σ are smooth so that the existence and uniqueness of this

solution are ensured. Let Y be a random variable independent of any increment

Wt −Ws of the Wiener process, and having moments of any order. The solution

of (3.1) has the initial condition X0,Yt or X0 = Y at time 0. Let us consider the

numerical evaluation of the quantity

Ef(XT )

where T is some fixed time, f a given smooth function from Rd → R by a Monte-

Carlo method based on the simulation of a piecewise constant approximating

process Xhp , p ∈ N. We divide the interval [0, T ] in n subintervals with the same

length h = T/n. According to our notation, Xhn = Xh

T . We want to study the

24

Page 25: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 25

global error

Err(T, h) = Ef(XT )− Ef(XhT )

We recall that the Euler and Milshtein discretization schemes are of first order:

there exists a positive constant C(T ), independent of h, such that

|Err(T, h)| ≤ C(T )h

Let us define the following two numerical schemes:

Euler scheme

Xh0 = X0

Xhp+1 = Xh

p + b(ph, Xhp )h + σ(ph, Xh

p )∆hp+1W

where ∆hp+1W = W(p+1)h −Wph.

Milshtein scheme

Xhp+1 = Xh

p +r∑

j=1

σj(ph, Xhp )∆h

p+1Wj + b(ph, Xh

p )h

+r∑

j,k=1

∂σj(ph, Xhp )σk(ph, Xh

p )Zkjp+1

where

• σj denotes the jth column of σ,

• ∂σj denotes the matrix whose element of the ith row and kth column

is ∂kσij,

• Ukjp+1 is defined as the family of iid random variables satisfying common

law

P

(Ukj

p =1

2

)= P

(Ukj

p = −1

2

)=

1

2

• (Ukjq+1, ∆

hp+1W

l)(p,q,k,j,l)’s are mutually independent,

Page 26: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 26

Zkjp+1 =

1

2∆h

p+1Wk∆h

p+1Wj + Ukj

p+1h , k < j

Zkjp+1 =

1

2∆h

p+1Wk∆h

p+1Wj − Ukj

p+1h , k > j

Zjjp+1 =

1

2

((∆h

p+1Wj)2 − h

)

Lemma 3.1 Suppose that the bi’s and the σij’s are Lipschitz continuous func-

tions. Then, for any integer k, there exists a strictly positive constant Ck such

that

E|Xhp |k ≤ eCkT

for any p between 0 and n.

Let us now consider the class FT of functions φ : [0, T ] × Rd → R with the

following properties: φ is of class C∞, and for some positive integer s and positive

C(T )

∀θ ∈ [0, T ] , ∀x ∈ Rd : |φ(θ, x)| ≤ C(T )(1 + |x|s)

A function φ of FT will be called homogeneous if it does not depend on the time

variable: φ(θ, x) = φ(x). We will denote by L the differential operator associated

to (3.1):

(3.2) L =1

2

d∑i,j=1

aij(t, x)∂ij +

d∑i=1

bi(t, x)∂i

where a(t, x) = σ(t, x)σ∗(t, x). If φ ∈ FT , then the function u(θ; t, x) defined by

u(θ; t, x) = Eφ(θ, X t,xT ) = Et,xφ(θ, XT )

verifies the following equation

∂u∂t

+ Lu = 0

u(θ; T, x) = φ(θ, x)

Lemma 3.2 Let us suppose that the function b and σ are C∞ functions, whose

derivatives of any order are bounded. For any multi-index α, there exist strictly

Page 27: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 27

positive constants Kα(T ), Cα(T ) such that

∀θ ∈ [0, T ] : |∂αu(θ; t, x)| ≤ Cα(T )(1 + |x|kα(T ))

Here by ∂α we mean the mixed partial derivative of order α

∂|α|

∂α11 ∂α2

2 · · · ∂αrr

where α = (α1, α2, . . . , αr), and |α| = α1 + · · ·+ αr.

In all the sequel, we suppose that the functions b and σ are C∞ functions,

whose derivatives of any order are bounded. Consider a homogeneous function f

of FT and u(t, x) = Ef(X t,xT ) which solves

(3.3)∂u

∂t+ Lu = 0

(3.4) u(T, x) = f(x)

then we have

(3.5) Err(T, h) = Eu(T, Xhn)− Eu(0, Y )

Let us first consider the Euler scheme. We compute Eu(T, Xhn) − Eu((n −

1)h, Xhn−1) by performing a Taylor expansion at the point ((n − 1)h, Xh

n−1) of

the form

u(t + ∆t, x + ∆x) = u(t, x) + ∆t∂

∂tu(t, x) +

1

2(∆t)2 ∂2

∂t2u(t, x)

+∆t∑

|α|=1

∆xα ∂

∂tu(t, x)∂αu(t, x)

+1

2∆t

|α|=2

∆xα ∂

∂tu(t, x)∂αu(t, x)

+1

6∆t

|α|=3

∆xα ∂

∂tu(t, x)∂αu(t, x)

+1

|α|!5∑

|α|=1

∆xα∂αu(t, x) + · · ·

Page 28: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 28

where α = (α1, . . . , αr) and ∆xα means ∆xα = (∆x1)α1 . . . (∆xr)

αr

We need to do the following easy and tedious computation using (3.2), (3.3), (3.4)

with ∆t = h and ∆x = ∆Xhn = Xh

n − Xhn−1

u(T, Xhn) = u((n− 1)h, Xh

n−1) + h∂

∂tu((n− 1)h, Xh

n−1)

+1

2h2∂2

∂tu((n− 1)h, Xh

n−1)

+h∂

∂t

(d∑

i=1

hbi((n− 1)h, Xhn−1) +

l∑j=1

σij((n− 1)h, Xh

n−1)∆hnW

j

)

+ · · ·

We get

(3.6) Eu(T, Xhn) = Eu((n− 1)h, Xh

n−1) + h2Eψe((n− 1)h, Xhn−1) + h3Rh

n

where

ψe(t, x) =1

2

d∑i,j=1

bi(t, x)bj(t, x)∂iju(t, x)

+1

2

d∑

i,j,k=1

bi(t, x)ajk(t, x)∂ijku(t, x)

+1

8

d∑

i,j,k,l=1

aij(t, x)ak

l (t, x)∂ijklu(t, x) +1

2

∂2

∂t2u(t, x)

+d∑

i=1

bi(t, x)∂

∂t∂iu(t, x) +

1

2

d∑i,j=1

aij(t, x)

∂t∂iju(t, x)

and there exists a constant C(T ) independent of h such that

|Rhn| ≤ C(T )

We can use the same expansion for u((n − 1)h, Xhn−1), continuing in this way n

times, and we arrive to

(3.7) Eu(T, Xhn) = Eu(0, Y ) + h2

n−1∑j=0

Eψe(jh, Xhj ) + h2Rh

n

Page 29: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 29

(3.8) ⇔ Eu(T, Xhn)− Eu(0, Y ) = h2

n−1∑j=0

Eψe(jh, Xhj ) + h2Rh

n

(3.9) ⇔ Err(T, h) = h2

n−1∑j=0

Eψe(jh, Xhj ) + h2Rh

n by (3.5)

with

|Rhn| ≤ C(T )

where Rhn =

∑nj=1 Rh

j .

Proposition 3.3 There exists a real number C(T ), independent on h, such that

(3.10) h

n−1∑j=0

E|ψe(jh, Xhj )| ≤ C(T )

Proof. By Lemma 3.2,

E|ψe(jh, Xhj )| ≤ C(1 + E|Xh

j |K)

and by Lemma 3.1,

E|ψe(jh, Xhj )| ≤ K

where C and K are constants independent of h and j. Hence,

h

n−1∑j=0

E|ψe(jh, Xhj )| ≤ hnK = TK since h = T/n ¥

Proposition 3.4 For any function φ of FT , there exists a real number C(T ),

independent on h, such that

Eφ(θ, XhT ) = Eφ(θ, XT )RT (h)

with |RT (h)| ≤ C(T )h.

Proposition 3.5

(3.11)

∣∣∣∣∣hn−1∑j=1

Eψe(jh, Xhj )−

∫ T

0

Eψe(s,Xs)ds

∣∣∣∣∣ = O(h)

Page 30: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 30

Remark 3.6 For the Milshtein scheme, ψm can be derived by performing a Tay-

lor expansion:

ψm(t, x) = ψe(t, x)

+1

4

i1,i2,j,k,l

alk(t, x)∂lσ

i1j (t, x)∂kσ

i2j (t, x)∂i1,i2u(t, x)

+1

2

i1,i2,i3,j1,j2,k

σi1j1

(t, x)σi2j2

(t, x)σkj1

(t, x)∂kσi3j2

(t, x)∂i1,i2,i3u(t, x)

and ψm can be substituted into (3.6),(3.7),(3.10), and (3.11) instead of ψe.

3.2 Main results

Theorem 3.7 For the Euler scheme, the error is given by

(3.12) Erre(T, h) = −h

∫ T

0

Eψe(s,Xs)ds +O(h2)

Proof.

Erre(T, h) = h

(h

n−1∑j=0

Eψe(jh, Xhj ) +O(h)

)by (3.7) (3.8) and (3.9)

⇔ Erre(T, h) = h

(−

∫ T

0

Eψe(s,Xs)ds +O(h)

)by Proposition 3.5

⇔ Erre(T, h) = −h

∫ T

0

Eψe(s,Xs)ds +O(h2) as required ¥

Theorem 3.8 For the Milshtein scheme, the error is given by

Errm(T, h) = −h

∫ T

0

Eψm(s,Xs)ds +O(h2)

Proof. goes in the same way as that of ψe in Theorem 3.7 with only replacing

ψe by ψm. ¥

Remark 3.9 We have proved that for the Euler approximation XhT and smooth

Page 31: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 31

functions f

Ef(XhT )− Ef(XT ) = h

∫ T

0

Eψe(s,Xs)ds + gh(T )

holds for all h, h/2, h/3, h/4, . . . with some functions ψe and gh, where ψe is in-

dependent of the step size h = T/n and gh is a function depending on h such

that

|gh| ≤ Ch2

with some constant C independent of h.

Hence, the following important consequence holds.

Theorem 3.10 (Richardson extrapolation) Consider that the following new

approximation

(3.13) ZhT = 2Ef(X

h/2T )− Ef(Xh

T )

where Xh/2T means that we perform an approximation with the step size h/2. Then

Err(T, h) = Ef(XT )− ZhT ≤ Ch2

where C is a constant indepedent of h.

Proof. Using (3.12) with h and h/2

Ef(XhT ) = Ef(XT ) + e1(T )h + gh(T ))

Ef(Xh/2T ) = Ef(XT ) + e1(T )

h

2+ gh/2(T )

where

e1(T ) =

∫ T

0

Eψe(s,Xs)ds

Hence, by difference

ZhT = 2Ef(X

h/2T )− Ef(Xh

T ) = Ef(XT ) + 2gh/2(T )− gh(T )

⇔ ZhT − Ef(XT ) = 2gh/2(T )− gh(T ))

Page 32: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 32

Notice that,

|2gh/2(T )− gh(T ))| ≤ |2gh/2(T )|+ |gh(T ))|≤ 2

Ch2

4+ Ch2

=3

2Ch2

Therefore, Err(T, h) ≤ 32Ch2 as required. ¥

We have concluded from the above Theorem 3.10 that it is possible to get a

result of precision of second order from results given by a first order scheme. We

realize that extrapolation is an elegant and simple way to obtain weak higher

order methods. The construction of such methods is based on the existence of an

asymptotic expansion of the error with respect to powers of the time step size.

Theorem 3.11 For the second order scheme, the global expansion error can be

written

Err(T, h) = h2

∫ T

0

Eγ(s,Xs)ds +O(h3)

for some smooth function γ.

Theorem 3.12 For all these schemes, it is possible to obtain an expression of

the form

Err(T, h) = er(T )hr + er+1(T )hr+1 + · · ·+ em(T )hm +O(hm+1)

where e1, e2, . . . , em are independent of h, and O(hm+1) means a function g of h

such that

|gh| ≤ Chm+1

for all h with a constant C.

Definition 3.13 For step sizes h, h/2, h/4, h/8, . . ., Richardson extrapolation method

is formulated recursively as follows, by using

ZhT,α,% =

1

2%−1 − 1(2%−1Z

h/2T,α−1,%−1 − Zh

T,α−1,%−1)

Page 33: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 33

ZhT,1,2 = 2Ef(X

h/2T )− Ef(Xh

T )(3.14)

ZhT,2,3 =

1

3(4Z

h/2T,1,2 − Zh

T,1,2)(3.15)

ZhT,3,4 =

1

7(8Z

h/2T,2,3 − Zh

T,2,3)(3.16)

ZhT,4,5 =

1

15(16Z

h/2T,3,4 − Zh

T,3,4) · · · · · · · · ·(3.17)

Remark 3.14 Theorem 3.12 implies that there exist universal constants λ0, λ1, . . . , λm

such that for

(3.18) ZhT = λ0Ef(Xh

T ) + λ1Ef(Xh/2T ) + λ2Ef(X

h/4T ) + · · ·+ λmEf(X

h/2m

T )

where∑m

i=1 λi = 1, we have

(3.19) |ZhT − Ef(XT )| ≤ Chm+1

Continuing with Theorem 3.10, we could apply the second order extraploation

(3.14) in (3.15) using the Euler scheme for step sizes h/4, h/2, h to obtain the

third order method

(3.20) ZhT,1,3 =

1

3(8X

h/4T − 6X

h/2T + Xh

T )

where ZhT,1,3 implies that we could get a result of precision of third order from re-

sults given by a first order scheme. Actually, it is possible to extend the argument

if the following is verified by Theorem 3.12.

(3.21) Err(T, h) = e1(T )h1 + e2(T )h2 +O(h3)

where

e1(T ) =

∫ T

0

Eψe(s,Xs)ds

and e2(T ) =

∫ T

0

Eγ(s,Xs)ds from Theorem 3.11

Page 34: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 34

Using (3.21) and (3.20), we get

8Ef(Xh/4T ) = 8Ef(XT ) + 8e1(T )

h

4+ 8e2(T )

h2

42+ 8gh/4(T )

−6Ef(Xh/2T ) = −6Ef(XT )− 6e1(T )

h

2− 6e2(T )

h2

22− 6gh/2(T )

Ef(XhT ) = Ef(XT ) + e1(T )h + e2(T )h2 + gh(T )

Hence,

ZhT,1,3 = Ef(XT ) + 8gh/4(T )− 6gh/2(T ) + gh(T )

⇔ Err(T, h) = 8gh/4(T )− 6gh/2(T ) + gh(T )

Notice that

|8gh/4(T )− 6gh/2(T ) + gh(T )| ≤ 8h3

43+ 6

h3

23+ h3 = Ch3

Consequently, we have got a result of precision of order h3 from the result given

by a second order scheme. Therefore, if we use recursively Richardson extrapo-

lation methods defined in Definition 3.13 with Theorem 3.12 in sequence, we can

eventually arrive to (3.19). The choice of weights (λ0, λ1, . . . , λm) in the linear

combination (3.18) of the outcomes from the Euler approximations with step size

h, h/2, . . . , h/2m causes the error term of order h, h2, . . . , hm in the leading error

expansion to cancel out asymptotically. The remaining error term involve the

power hm+1 indicating we have a (m + 1) order weak scheme.

3.3 Demonstration

Consider the Ito process X satisfying the linear stochastic differential equation

dXt = bXtdt + σXtdWt

⇔ Xt = X0 exp

((b− 1

2σ2

)t + σWt

)

Page 35: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 35

−6 −5.5 −5 −4.5 −4 −3.5 −3−13

−12

−11

−10

−9

−8

−7

−6

−5

−4

log2(h)

log2

|Err

(T,h

)|

Euler scheme of first orderExtrapolation method of second order

Euler

Extrapolation

Figure 3.1: log2 of the mean error versus log2 h

Page 36: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 36

−5 −4.8 −4.6 −4.4 −4.2 −4 −3.8 −3.6 −3.4 −3.2 −3−13

−12

−11

−10

−9

−8

−7

log2(h)

log2

|Err

(T,h

)|

Extrapolation of second orderExtrapolation of third order

second order

third order

Figure 3.2: log2 of the mean error versus log2 h

Page 37: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 3. PART II - IMPROVING ACCURACY 37

with X0 = 0.1, b = 1.5 and σ = 0.01 on the time interval [0, T ] where T = 1. Use

the following Euler scheme

Xh0 = X0

Xhp+1 = Xh

p + b(ph, Xhp )h + σ(ph, Xh

p )∆hp+1W

where ∆hp+1W = W(p+1)h −Wph, in order to simulate the order 2.0 weak extrap-

olation

ZhT,1,2 = 2Ef(X

h/3T )− Ef(Xh

T )

and the order 3.0 weak extrapolation

ZhT,1,3 =

1

3(8X

h/4T − 6X

h/2T + Xh

T )

for f(x) = x and h = 2−3. We generate 1000 trajectories for

Err(T, h) = ZhT − Ef(XT )

We repeat the calculation for step size h = 2−4, 2−5, 2−6 and 2−7, and plot the

results on log2 |Err(T, h)| versus log2 h. From Figure 3.1 we see that the exponen-

tial mean error for the extrapolation method follows a steeper line than that of the

Euler scheme and that the accuracy of the weak error of Euler’s approximation by

the extrapolation method of second order is improved. Furthermore, from Figure

3.2, we find the accuracy of the weak error become smaller by implementing the

extrapolation method of third order.

Page 38: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Chapter 4

Part III - Implementation for

Strong Approximation

Consider the Ito process X satisfying the linear stochastic differential equation

dXt = bXtdt + σXtdWt

⇔ Xt = X0 exp

((b− 1

2σ2

)t + σWt

)

with X0 = 0.1, b = 1.5 and σ = 0.2 on the time interval [0, T ] where T = 1. Use

the following Euler scheme

Xh0 = X0

Xhp+1 = Xh

p + b(ph, Xhp )h + σ(ph, Xh

p )∆hp+1W

where ∆hp+1W = W(p+1)h − Wph, in order to simulate the order 1.0 Milshtein

scheme

Zh0 = X0

Zhp+1 = Zh

p + b(ph, Zhp )h + σ(ph, Zh

p )∆hp+1W

+1

2σ(ph, Zh

p )σ(ph, Zhp )′(∆h

p+1W )2 − h

We generate 100 trajectories for

Err(T, h) = E|ZhT − f(XT )|

38

Page 39: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 4. PART III - IMPLEMENTATION FOR STRONG APPROXIMATION39

−9 −8 −7 −6 −5 −4 −3−10

−9

−8

−7

−6

−5

−4

log2(h)

log2

|Err

(T,h

)|

Milshtein scheme of order 1.0Euler scheme of order 0.5

duplicate line

Figure 4.1: log2 of the pathwise error versus log2 h

Page 40: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 4. PART III - IMPLEMENTATION FOR STRONG APPROXIMATION40

We repeat the calculation for step size h = 2−4, 2−5, 2−6, 2−7, 2−8 and 2−9, and

plot the results on log2 |Err(T, h)| versus log2 h.

From Figure 4.1, regrettably, we see that the pathwise error of Milstein scheme

is almost the same as that of Euler scheme despite of the two theoretical re-

sults(Theorem 2.1 and Theorem 2.2). Unexpectedly, Milstein scheme does not

make a significant improvement on the pathwise error in case of dimension 1.

Page 41: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Chapter 5

Conclusion

The conclusion which can be drawn from this study of numerical solution of

stochastic differential equations are these:

I. It is important that the trajectories, that is the sample paths, of the approx-

imation should be close to those of the Ito process in some problems. We

need to consider the absolute error at the final time instant T , that is

ε(δ) = (E|XT − YN |q)1/q

for k ≥ 1. The absolute error is certainly a criterion for the closeness of

the sample paths of the Ito process X and the approximation Y at time

T . We shall say that an approximation process Y converges in the strong

sense with order γ ∈ (0,∞] if there exists a finite constant K and a positive

constant δ0 such that

E|XT − YN | ≤ Kδr

for any time discretization with maximum step size δ ∈ (0, δ0). The Euler

aprroximation for SDEs

Yn+1 = Yn + a(Yn)∆n + b(Yn)∆Wn

has strong order γ = 0.5.

II. We may be interested only in some function of the value of the Ito process

at a given final time T such as one of the first two moments EXT and

E(XT )2 or, more generally, the expectation E(g(XT )) for some function g.

In simulating such a functional it suffices to have a good approximation

41

Page 42: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 5. CONCLUSION 42

of the probability distribution of the random variable XT rather than a

close approximation of sample paths. we shall say that a time discrete

approximation Y converges in the weak sense with order β ∈ (0,∞] if for

any polynomial g there exists a finite constant K and a positive constant

δ0 such that

E(g(XT ))− E(g(YN)) ≤ Kδβ

for any time discretization with maximum step size δ ∈ (0, δ0). We see

that an Euler approximation of an Ito process converges with weak order

β = 1.0, which is greater than its strong order of convergence γ = 0.5.

III. we obtain the Milstein scheme by adding the additional term

Yn+1 = Yn + a∆n + b∆Wn +1

2bb′(∆Wn)2 −∆n

we shall see that the Milstein scheme converges with strong order γ = 1.0

under the assumption that E(X0)2 < ∞, that a and b are twice continu-

ously differentiable, and that a, a′, b, b′ and b′′ satisfy a uniform Lipschitz

condition.

IV. It is the purpose of this paper to attempt to represent Err(T, h) as a function

of h

(5.1) Err(T, h) = e1(T )h + e2(T )h2 + · · ·+ em(T )hm +O(hm+1)

If the above result is verified, higher order approximations of functionals

can be obtained with lower order weak schemes by extrapolation methods.

D.Talay and L.Tubaro [1] proposed an order 2.0 weak extrapolation method

ZhT,1,2 = 2Ef(X

h/2T )− Ef(Xh

T )

where Xh/2T and Xh

T are the Euler approximation at time T for the step size

h/2 and h respectively. Generally, if we consider

ZhT = λ0Ef(Xh

T ) + λ1Ef(Xh/2T ) + λ2Ef(X

h/4T ) + · · ·+ λmEf(X

h/2m

T )

for a sequence

h > h/2 > h/4 > . . . > h/2m

Page 43: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

CHAPTER 5. CONCLUSION 43

we can get eventually from (5.1)

|ZhT − Ef(XT )| ≤ O(hm+1)

Page 44: NUMERICAL SOLUTION OF STOCHASTIC DIFFERENTIAL EQUATIONS.

Bibliography

[1] D.Talay and L.Tubaro, “Expansion of the global error for numerical schemes

solving stochastic differential equation”, Stochastic Analysis and Applications

8(4), 483-509, 1990.

[2] Peter E Kloeden and Eckhard Platen, Numerical Solution of Stochastic Dif-

ferential Equations, Springer third edition, 1999.

[3] Peter E Kloeden, Eckhard Platen and Henri Schurz, Numerical Solution of

SDE Through Computer Experiments, Springer second edition, 1997.

44


Recommended