38
Example of High Dimensional Contract An exotic high dimensional option is the ING-Coconote option (Conditional Coupon Note), whose lifetime is 8 years (2004-2012). The interest rate paid is flexible. In the first 2 years, a payment of 6 %, after that interest rate depends on asset prices. It depends on the value of the average value of the stocks in the Dow Jones Global Titan index: The starting price (2/2004) was Euro 100.75, i.e., the value of 50 stocks of the Dow Jones Global Titans index. 15 / 2 / 2012: Eur 100 will be paid guaranteed + the variable coupon Computational Finance (Summerschool) Hitotsubashi University August 2009 1 / 38

Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

  • Upload
    doque

  • View
    219

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Example of High Dimensional Contract

An exotic high dimensional option is the ING-Coconote option(Conditional Coupon Note), whose lifetime is 8 years (2004-2012).The interest rate paid is flexible.

In the first 2 years, a payment of 6 %, after that interest ratedepends on asset prices.

It depends on the value of the average value of the stocks in theDow Jones Global Titan index:

The starting price (2/2004) was Euro 100.75, i.e., the value of 50stocks of the Dow Jones Global Titans index.

15 / 2 / 2012: Eur 100 will be paid guaranteed + the variablecoupon

Computational Finance (Summerschool) Hitotsubashi University August 2009 1 / 38

Page 2: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Dow Jones Global Titans index, 50 stocks

Abbott Laboratories New York Medical SuppliesAltria Group Inc. New York TobaccoAmerican International Group Inc. New York Full Line InsuranceAstrazeneca PLC London PharmaceuticalsBank of America Corp. New York BanksBarclays PLC London BanksBellSouth Corp. New York Fixed Line TelecommunicationsBP PLC London Integrated Oil & GasChevron Corp. New York Integrated Oil & GasCisco Systems Inc. NASDAQ Telecommunications EquipmentCitigroup Inc. New York BanksCoca-Cola Co. New York Soft DrinksDaimlerChrysler AG NA XETRA AutomobilesDell Inc. NASDAQ Computer HardwareEli Lilly & Co. New York Pharmaceuticals

Computational Finance (Summerschool) Hitotsubashi University August 2009 2 / 38

Page 3: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Dow Jones Global Titans index, 50 stocks

ENI S.p.A. Milan Integrated Oil & GasExxon Mobil Corp. New York Integrated Oil & GasGeneral Electric Co. New York Diversified IndustrialsGlaxoSmithKline PLC London PharmaceuticalsHBOS PLC London BanksHSBC Holdings PLC (UK Reg) London BanksING Groep N.V. Amsterdam Life InsuranceIntel Corp. NASDAQ SemiconductorsInternational Business Machines New York Computer ServicesJohnson & Johnson New York PharmaceuticalsJPMorgan Chase & Co. New York BanksMerck & Co. Inc. New York PharmaceuticalsMicrosoft Corp. NASDAQ SoftwareMorgan Stanley New York Investment Services

Computational Finance (Summerschool) Hitotsubashi University August 2009 3 / 38

Page 4: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Dow Jones Global Titans index, 50 stocks

Nestle S.A. VIRTX Food ProductsNokia Corp. Helsinki Telecommunications EquipmentNovartis AG VIRTX PharmaceuticalsPepsiCo Inc. New York Soft DrinksPfizer Inc. New York PharmaceuticalsProcter & Gamble Co. New York Nondurable Household ProductsRoche Holding AG Part. Cert. VIRTX PharmaceuticalsRoyal Bank of Scotland Group PLC London BanksRoyal Dutch Petroleum Co. Amsterdam Integrated Oil & GasSamsung Electronics Co. Ltd. Korea SemiconductorsSBC Communications Inc. New York Fixed Line TelecommunicationsSiemens AG XETRA Electronic EquipmentTime Warner Inc. New York Broadcasting & Entertainment

Computational Finance (Summerschool) Hitotsubashi University August 2009 4 / 38

Page 5: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Dow Jones Global Titans index, 50 stocks

Total S.A. Paris Integrated Oil & GasToyota Motor Corp. Tokyo AutomobilesUBS AG VIRTX BanksVerizon Communications Inc. New York Fixed Line TelecommunicationsVodafone Group PLC London Mobile TelecommunicationsWal-Mart Stores Inc. New York Broadline RetailersWalt Disney Co. New York Broadcasting & EntertainmentWyeth New York Pharmaceuticals

Computational Finance (Summerschool) Hitotsubashi University August 2009 5 / 38

Page 6: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

If an asset increases more than 8 %, a maximum of 8 % isconsidered. If it decreases more than 20 % a minimum -20 % isconsidered.

Then, there is a maximum payment of 8 %, and a minimum of 0 %each year. However, the interest rate cannot decrease from year toyear.

The required information to value a basket option is the volatility ofeach asset σi and the correlation between each pair of assets ρi,j .

With Payoff:

1

50

50∑i=1

max {min {S

(i)j+1 − S

(i)j

S(i)j

, 8%},−20%}, j = tj

Computational Finance (Summerschool) Hitotsubashi University August 2009 6 / 38

Page 7: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Simulation: Euler Discretization

Suppose that we want to generate random paths from the process of thefollowing form:

dSt = µStdt + σStdWt

first: we choose a time step ∆t = T/N, and generate iteration of

St+∆t − St = µSt∆t + σSt (Wt+∆t −Wt)

Algorithm

Computational Finance (Summerschool) Hitotsubashi University August 2009 7 / 38

Page 8: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Simulation: Euler Discretization

0 0.2 0.4 0.6 0.8 130

35

40

45

50

55

60

65

70

75

80

time

S

20 30 40 50 60 70 80 90 1000

50

100

150

200

250

Figure: Euler discretization for: S0 = 50, µ = 0.1, σ = 0.2, T = 1 and N = 1000, LEFT: generated paths, RIGHT: histogramof the prices at maturity T

Computational Finance (Summerschool) Hitotsubashi University August 2009 8 / 38

Page 9: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Exercises

Stochastic Integration: For a given deterministic function g(s) how tofind: ∫ t

0

g(s)dWs =?

First we define partition: 0 = t0 < t1 < · · · < tn = T then∫ T

0

g(s)dWs =n−1∑k=0

g(tk) (W (tk+1)−W (tk))

Example: let us take g(t) = t2 and T = 1. Theoretically we have:

E(∫ 1

0

t2dWt

)= 0

Var

(∫ 1

0

t2dWt

)= E

(∫ 1

0

t2dWt

)2

=

∫ 1

0

t4dt = 0.2

Computational Finance (Summerschool) Hitotsubashi University August 2009 9 / 38

Page 10: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Exercises

−2 −1.5 −1 −0.5 0 0.5 1 1.5 20

100

200

300

400

500

600

700

800

Figure: LEFT: Histogram of simulated stochastic integral with T = 1, N = 100, g(t) = t2. RIGHT: Matlab code

E(∫ 1

0

t2dWt

)≈ −0.0037, Var

(∫ 1

0

t2dWt

)≈ 0.2047

Computational Finance (Summerschool) Hitotsubashi University August 2009 10 / 38

Page 11: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Exercises

Stochastic Integration: For a given Brownian motion Wt how to find:∫ T

0

WsdWs =?

Analytically:

E

(∫ T

0

WsdWs

)= 0

In order to calculate the variance we define a function g = x2, from Itowe have:

dg = gxdx +1

2gx,x(dx)2 = 2xdx +

1

2· 2(dx)2

so:dW 2

t = 2WtdWt + (dWt)2 = 2WtdWt + dt

Computational Finance (Summerschool) Hitotsubashi University August 2009 11 / 38

Page 12: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Exercises

Further we have: ∫ T

0

dW 2t = 2

∫ T

0

WtdWt +

∫ T

0

dt

W 2T −W 2

0 = 2

∫ T

0

WtdWt + T

so finally: ∫ T

0

WtdWt =1

2W 2

T − 1

2T .

Example: Let us take T = 2. Theoretically we have:

E(∫ 2

0

WsdWs

)= 0, Var

(∫ 2

0

WsdWs

)= 2

Computational Finance (Summerschool) Hitotsubashi University August 2009 12 / 38

Page 13: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Exercises

−6 −4 −2 0 2 4 60

100

200

300

400

500

600

700

800

900

Figure: LEFT: Histogram of simulated stochastic integral with T = 2, N = 100. RIGHT: Matlab code

E(∫ 2

0

WtdWt

)≈ 0.0083, Var

(∫ 2

0

WtdWt

)≈ 1.9883

Computational Finance (Summerschool) Hitotsubashi University August 2009 13 / 38

Page 14: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Analytic vs Monte-Carlo of BS model

Exercise: We set: S0 = 5, σ = 0.3, r = 0.06, T = 1, M = 500 (= #time steps), and K = S0. Exact solutions from BS formula are:

Callt=0 = 0.7359, Putt=0 = 0.4447, with time 0.0003[s]

Table: Call and Put prices depending on number of Monte-Carlo Paths (EulerApproach)

n (N = 2n) # paths 2 4 6 10 14Call price at t = 0 1.0770 0.9217 0.8622 0.7729 0.7227Put price at t = 0 0.1737 0.1881 0.4132 0.4258 0.4544Time [s] 0.07 0.10 0.20 2.15 34.56

Computational Finance (Summerschool) Hitotsubashi University August 2009 14 / 38

Page 15: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Analytic vs Numerical Solution of BS model

Algorithm

Computational Finance (Summerschool) Hitotsubashi University August 2009 15 / 38

Page 16: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Numerical Solutions

Monte Carlo simulation vs. BS formula for Call & Put Prices as afunction of strikes.

0 2 4 6 8 100

1

2

3

4

5

6

7

strike K

Val

ue

Monte CarloExact Solution

0 2 4 6 8 100

1

2

3

4

5

6

Strike K

Val

ue

Monte CarloExact Solution

Figure: Call and Put prices as a function of Strikes,K , K = [0.01 : 0.01 : 10], Steps=500

Computational Finance (Summerschool) Hitotsubashi University August 2009 16 / 38

Page 17: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Simulation

Again Xt denotes a stochastic process and solution of an SDE,

dXt = µ(Yt , t)dt + σ(Xt , t)dWt for 0 ≤ t ≤ T .

where the driving process Wt is a Wiener process. We already know theEuler discretization:{

xi+1 = xi + µ(xi , ti )∆t + σ(xi , ti )∆Wj , tj = j∆t

∆Wj = Wti+1 −Wti = Z√

∆t with Z ∼ N(0, 1)(1)

where length ∆t is assumed equidistant, i.e., ∆t = TM .

Definition (Absolute error)

The absolute error at time T is defined as:

ε(h) := E(|XT − xh

T |).

Computational Finance (Summerschool) Hitotsubashi University August 2009 17 / 38

Page 18: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Approximation Error

Example Suppose we study a linear SDE of the form:

dXt = µXtdt + σXtdWt ,

We know that the solution is of the following form:

XT = X0 exp

((µ− 1

2σ2)T + σWT

)Now, we perform an experiment in order to check the Euler method’sconvergence. In the experiment we use a discrete measure of the absoluteerror:

ε(h) =1

N

N∑k=1

|XT ,k − X hT ,k |

Computational Finance (Summerschool) Hitotsubashi University August 2009 18 / 38

Page 19: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Approximation Error- Euler

Example (Euler Scheme) We set X0 = 50, µ = 0.06, σ = 0.3,T = 1and find

ε(h) =1

N

N∑k=1

|XT ,k − X hT ,k |

Table: Table of the absolute error ε(h), wrt time and h.

error:ε M=100 M=1000 M=2000 M=3000 M=5000seed 1 0.259 0.082 0.062 0.052 0.037seed 2 0.270 0.087 0.053 0.050 0.035seed 3 0.300 0.081 0.065 0.045 0.038

time [s] 0.15 0.94 2.14 3.90 8.7

Computational Finance (Summerschool) Hitotsubashi University August 2009 19 / 38

Page 20: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Approximation Error

Example The numerical results for obtained estimates ε are assumed tobe valid for ε. We postulate:

ε(h) ≤ C · h 12 = O(h

12 )

0 0.001 0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.010.02

0.03

0.04

0.05

0.06

0.07

0.08

0.09

0.1

h

erro

r

0 0.2 0.4 0.6 0.8 110

20

30

40

50

60

70

80

90

100

time

valu

e

Figure: LEFT: error against value of step size h for Euler discretization. RIGHT: Generated paths for M = 100, red stars indicatevalue of exact solution.

Computational Finance (Summerschool) Hitotsubashi University August 2009 20 / 38

Page 21: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Approximation Error

Algorithm

Computational Finance (Summerschool) Hitotsubashi University August 2009 21 / 38

Page 22: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Strong and weak convergence

Definition (Strong Convergence)

xhT converges strongly to XT with order γ > 0 if

ε(h) = E(|XT − xh

T |)

= O(hγ),

xT converges strongly, if limh→0 E(|XT − xh

T |)

= 0.The Euler method converges strongly with order 1/2.

Definition (Weak Convergence)

xhT converges weakly to XT with respect to g with order β > 0, if

|E(g(Xt))− E(g(xhT ))| = O(hβ)

The Euler scheme is weakly O(h1) convergent wrt polynomials g .

Computational Finance (Summerschool) Hitotsubashi University August 2009 22 / 38

Page 23: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Milstein Algorithm

As before Xt denotes a stochastic process and solution of an SDE,

dXt = µ(Yt , t)dt + σ(Xt , t)dWt for 0 ≤ t ≤ T .

where the driving process Wt is a Wiener process. Now we introduceanother discretization method:The Milstein Scheme.{

xi+1 = xi + µ∆t + σ∆Wj + 12σσ′ ·

((∆W )2 −∆t

)∆Wj = Wti+1 −Wti = Z

√∆t with Z ∼ N(0, 1)

(2)

where length ∆t is assumed equidistant, i.e., ∆t = TM , and where

σ′ =∂σ(xi , ti )

∂xi

Computational Finance (Summerschool) Hitotsubashi University August 2009 23 / 38

Page 24: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Milstein Algorithm

In the case of GBM we obtain:{xi+1 = xi + µxi∆t + xiσ∆Wj + 1

2σ2xi ·((∆W )2 −∆t

)∆Wi = Wti+1 −Wti = Z

√∆t with Z ∼ N(0, 1)

(3)

The additional correction term in the Milstein scheme improves the speedof convergence compared to Euler method. The ’improved’ method isconvergent with order one.Although the Milstein Scheme is definitely manageable in theone-dimensional case, its general multidimensional extension may be verydifficult.

Computational Finance (Summerschool) Hitotsubashi University August 2009 24 / 38

Page 25: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Approximation Error- Milstein

Example (Milstein Scheme) We set X0 = 50, µ = 0.06, σ = 0.3,T = 1and find

ε(h) =1

N

N∑i=1

|XT − X hT ,k |

Table: Table of the absolute error ε(h), wrt time and h.

error:ε M=100 M=1000 M=2000 M=3000 M=5000seed 1 0.005 7E-4 4E-4 2E-4 2E-4seed 2 0.007 6E-4 4E-4 3E-4 2E-4seed 3 0.005 8E-4 4E-4 3E-4 2E-4

time [s] 0.108 0.392 0.999 2.35 8.44

Computational Finance (Summerschool) Hitotsubashi University August 2009 25 / 38

Page 26: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Approximation Error- Milstein

Computational Finance (Summerschool) Hitotsubashi University August 2009 26 / 38

Page 27: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Euler vs Milstein- Trajectories

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 142

44

46

48

50

52

54

56

58

60

time

valu

e

Euler Discretization

Milstein Discretization

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 146

48

50

52

54

56

58

60

time

valu

e

Euler Discretization

Milstein Discretization

Figure: LEFT: Trajectories generated for σ = 0.1, RIGHT: Trajectories generated for σ = 0.3

Computational Finance (Summerschool) Hitotsubashi University August 2009 27 / 38

Page 28: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Antithetic sampling

It is well known that if a random variable Z ∼ N(0, 1), then−Z ∼ N(0, 1). We can use this property to drastically reduce thenumber of paths needed in the Monte-Carlo simulation. Suppose that Vis the approximation obtained from MC, and V is the one obtained using−Z . By taking average

V =1

2

(V + V

)we obtain a new approximation. Since V and V are both randomvariables we aim at:

Var(V ) < Var(V ).

We have:

Var(V ) =1

4Var(V + V ) =

1

4Var(V ) +

1

4Var(V ) +

1

2Cov(V , V ).

So it is clear that: Var(V ) ≤ 12

(Var(V ) + Var(V )

).

Computational Finance (Summerschool) Hitotsubashi University August 2009 28 / 38

Page 29: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Antithetic sampling

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

time

path

s

path1

path2

0 0.2 0.4 0.6 0.8 1−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

time

path

s

Figure: Usual and Antithetic paths. LEFT: one path, RIGHT: five paths

Computational Finance (Summerschool) Hitotsubashi University August 2009 29 / 38

Page 30: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Antithetic sampling

Now, we check different implementations vs. number of paths, accuracyand time. For standard GBM model we set: T = 1, µ = 0.04, σ = 0.3,∆ = 0.01, S0 = 50.

Standard N = 101 N = 103 N = 104 N = 105

|ε| 7.0915 0.5027 0.2301 0.0457Time 0.066 0.2153 2.1408 21.3213

Antithetic N = 101 N = 103 N = 104 N = 105

|ε| 0.1639 0.0460 0.0037 0.000138Time 0.066 0.2155 2.1418 21.3321

The antithetic approach converges much faster, without any extra timeneeded for calculation.

Computational Finance (Summerschool) Hitotsubashi University August 2009 30 / 38

Page 31: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Antithetic sampling

Figure: Matlab implementation- semi-efficient way of programming.

Computational Finance (Summerschool) Hitotsubashi University August 2009 31 / 38

Page 32: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Antithetic sampling

Efficient Implementation

No.Samp. N = 101 N = 103 N = 104 N = 105

|ε| 0.1639 0.0460 0.0037 0.000138Time 0.0651 0.0721 0.1411 0.8992

Figure: Matlab implementation-efficient way of programming.

Computational Finance (Summerschool) Hitotsubashi University August 2009 32 / 38

Page 33: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Simulating Jumps

dSt = dNt

0 100 200 300 400 500 600 700 800 900 10000

10

20

30

40

50

60

70

0 100 200 300 400 500 600 700 800 900 10000

200

400

600

800

1000

1200

Figure: Poisson Process realizations with ∆ = 1, LEFT: λ = 0.01, RIGHT: λ = 1.0

Computational Finance (Summerschool) Hitotsubashi University August 2009 33 / 38

Page 34: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Simulating Jumps

Suppose we have given a stock variable St which jump at time τj . Wedenote τ+ the moment after one particular jump and τ− the momentbefore.

The absolute size of the jump is:

∆S = Sτ+ − Sτ− ,

which we model as a proportional jump,

Sτ+ = qSτ− with q > 0, so ∆S = qSτ− − Sτ− = (q − 1)Sτ− .

The jump sizes equal q − 1 times the current asset price.

Assuming that for given set of i.i.d. qτ1 , qτ2 , . . . r.v.the process

dSt = (qt − 1)StdJt ,

is called Compound Poisson Process.

Computational Finance (Summerschool) Hitotsubashi University August 2009 34 / 38

Page 35: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Simulating Jumps- Jump Diffusion Process

If we combine geometric Brownian motion and jump process we obtain:

dSt = µStdt + σStdWt + (qt − 1)StdJt .

0 50 100 150 200 250 300 350 4000

50

100

150

200

250

0 50 100 150 200 250 300 350 4000

10

20

30

40

50

60

70

80

Figure: Geometric Brownian motion with jumps: ∆ = 0.01, µ = 0.04, σ = 0.2, λ = 0.5, LEFT: q = 1.4,RIGHT q = 0.6.

Computational Finance (Summerschool) Hitotsubashi University August 2009 35 / 38

Page 36: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Simulating Jumps

0 50 100 150 200 250 300 350 4000

50

100

150

200

250

300

350

400

450

500

0 50 100 150 200 250 300 350 4000

1

2

3

4

5

6

7

8x 10

4

Figure: Geometric Brownian motion with jumps: ∆ = 0.01, µ = 0.04, σ = 0.2, q = 6, LEFT: λ = 0.04,RIGHT λ = 0.5.

Computational Finance (Summerschool) Hitotsubashi University August 2009 36 / 38

Page 37: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Market and Jumps- Algorithm

Computational Finance (Summerschool) Hitotsubashi University August 2009 37 / 38

Page 38: Example of High Dimensional Contract - Applied …ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/lec9-hit-2009.pdf · Example of High Dimensional Contract ... Exxon Mobil Corp

Simulating Jumps- Jump Diffusion Process

An analytical solution of the equation

dSt = µStdt + σStdWt + (qt − 1)StdJt ,

can be calculated on each of the jump-free subintervals τj < t < τj+1

where the SDE is just a GBM.When at time τ1 a jump of size:

(∆S) = (qτ1 − 1)Sτ−1,

occurs, and thereafter the solution is given by:

St = S0 exp

((µ− σ2

2)t + σWt

)+ (qτ1 − 1) Sτ−1

In general we obtain:

St = S0 exp

((µ− σ2

2)t + σWt

)+

Jt∑j=1

Sτ−j

(qτj − 1

).

Computational Finance (Summerschool) Hitotsubashi University August 2009 38 / 38