Professional Documents
Culture Documents
Week6 Handout
Week6 Handout
Week6 Handout
L.E. Meester
Week 6
1/ 44
IS principles Example Options Path-dependent options
3/ 44
IS principles Example Options Path-dependent options
4/ 44
IS principles Example Options Path-dependent options
5/ 44
IS principles Example Options Path-dependent options
6/ 44
IS principles Example Options Path-dependent options
7/ 44
IS principles Example Options Path-dependent options
8/ 44
IS principles Example Options Path-dependent options
4 Path-dependent options
Multi-dimensional importance sampling
Steering the price path
A word of caution
9/ 44
IS principles Example Options Path-dependent options
10/ 44
IS principles Example Options Path-dependent options
The ratios
f (x) f (X )
w (x) = and w (X ) =
g (x) g (X )
11/ 44
IS principles Example Options Path-dependent options
Example:
Suppose g (x0 ) = 2 f (x0 ) then
under g values near x0 happen twice as often as they should;
the weight w (x0 ) = f (x0 )/g (x0 ) = 0.5 corrects this.
12/ 44
IS principles Example Options Path-dependent options
k(x)f (x)
k(x)w (x) = ≈ constant;
g (x)
k(X )w (X ) = constant,
4 Path-dependent options
Multi-dimensional importance sampling
Steering the price path
A word of caution
15/ 44
IS principles Example Options Path-dependent options
√
Earlier we used Y = 4 1√− U 2 with U ∼ U (0, 1) to
R1
estimate π: E [Y ] = 0 4 1 − x 2 dx = π and Var(Y ) ≈ 0.8.
√
Fits framework: k(x) = 4 1 − x 2 and f (x) = 1 for
0 ≤ x ≤ 1, f (x) = 0 elsewhere, so that E [k(U)] = I .
Last week we tried for g :
g (x) = 32 (1 − x 2 ); failed, we did not see how to simulate this;
g2 (x) = 32 (2 − x); worked, found R1 ≈ 0.25; SchatPi IS2.m.
16/ 44
IS principles Example Options Path-dependent options
√
IS for π: g (x) ∝ 1 − x2
√
Plan: try g (x) ∝ 1 − x 2 (where ∝ means proportional to);
get the distribution function G ; then we can simulate from g using
the inverse distribution function method: solve G (x) = u etc.
√
Set g (x) = 1 − x 2 . With Maple we find:
Z t
1 p 1
G (t) = g (x)dx = t 1 − t 2 + arcsin (t)
0 2 2
17/ 44
IS principles Example Options Path-dependent options
IS for π: g (x) ∝ 1 − x
18/ 44
IS principles Example Options Path-dependent options
19/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
4 Path-dependent options
Multi-dimensional importance sampling
Steering the price path
A word of caution
20/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
21/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
The price drops off, the relatieve standard error (s.e. divided by
estimate) increases: 9% at E = 15; at E = 17: error!
22/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
23/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
24/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
4 Path-dependent options
Multi-dimensional importance sampling
Steering the price path
A word of caution
25/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
where
f (Y )
w (Y ) = and Y has density g .
g (Y )
26/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
2
Let’s be simple: set Y ∼ N (µ, 1), so g (y ) = √1 e−(y −µ) /2 ,
2π
with µ to be determined. Then:
1 2
√1 e− 2 y
f (y ) 1 2 − 1 (y −µ)2 1 2 −µ y
w (y ) = = 2π
1 2
= e− 2 y 2 = e2µ .
g (y ) √1 e− 2 (y −µ)
2π
So h i
1 2
V = E k(Y ) e 2 µ −µY , for Y ∼ N (µ, 1),
27/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
Results
28/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
4 Path-dependent options
Multi-dimensional importance sampling
Steering the price path
A word of caution
29/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
Note that weights between 10−6 and 10 are all quite common.
30/ 44
IS principles Example Options Path-dependent options IS for the normal distribution Watch the weights
Note that weights between 10−6 and 10 are all quite common.
Some samples have a weight 107 times that of others. . .
This potentially means trouble: imagine this
1 observation with weight 10;
999999 with weight 10−6 .
Recall that sample mean and standard deviation are not very
robust to outliers: if the weight distribution is very extreme,
these estimators break down.
31/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
4 Path-dependent options
Multi-dimensional importance sampling
Steering the price path
A word of caution
32/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
33/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
The choice of g1 , . . . , gm
34/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
35/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
fi (yi ) 1 2
wi (yi ) = = exp 2 µi − µi yi .
gi (yi )
so w (y1 , . . . , ym ) =
1 2 1 2
e 2 µ1 −µ1 y1 · · · e 2 µm −µm ym
36/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
37/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
4 Path-dependent options
Multi-dimensional importance sampling
Steering the price path
A word of caution
38/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
The exponent:
N √
X N √
X
(r − 21 σ 2 ) · T + σ ∆t · Zj + σ ∆t · µj .
j=1 j=1
ln E /S0 − (r − 12 σ 2 )T
µ= √ .
σN ∆t
40/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
ln B/S(t0 ) − (r − 12 σ 2 )(t1 − t0 )
µ= √ .
σN1 ∆t
For a down-and-in-call with barrier quite below S0 one might
want to first steer the path down to hit the barrier and then
up to be in the money at expiration.
41/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
4 Path-dependent options
Multi-dimensional importance sampling
Steering the price path
A word of caution
42/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
43/ 44
IS principles Example Options Path-dependent options Multi-dim IS Steering the price path A word of caution
44/ 44