Professional Documents
Culture Documents
Week3 Handout
Week3 Handout
Week3 Handout
L.E. Meester
Week 3
1/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias
Key rule:
3/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias
Covariance
Cov(X , Y ) = E [(X − E [X ])(Y − E [Y ])] = E [XY ] − E [X ] E [Y ].
Correlation
ρ (X , Y ) = √ Cov(X ,Y ) .
Var(X )Var(Y )
4/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
5/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
6/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
We know
∂V V (S + h) − V (S)
= lim .
∂S h→0 h
Second order Taylor expansion for V (S + h):
∂V ∂2V
V (S + h) = V (S) + h + 12 h2 (S∗ ),
∂S ∂S 2
where S∗ is between S and S + h. Requirement: V has continuous
second derivative.
So
V (S + h) − V (S) ∂V ∂2V
= + 12 h (S∗ ).
h ∂S ∂S 2
7/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
So:
∂V V (S + h) − V (S)
= + R(h),
∂S h
with
R(h) = 12 h V 00 (S) + 12 h V 00 (S∗ ) − V 00 (S) .
Note here:
the first term is linear in h;
the second term goes to zero faster than h,
because S∗ → S as h → 0 and so
limh→0 V 00 (S∗ ) = V 00 (S) (as V 00 is continuous).
8/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
f (h)
lim exists and is finite.
h→0 h
This means a constant c exists, so that for small h:
f (h) = c · h + r (h),
where the error term r (h) goes to zero faster than h, i.e., is o(h).
o(h): small o of h
A function r is small o of h at zero, denoted r (h) = o(h), if
r (h)
lim = 0.
h→0 h
9/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
∂V V (S + h) − V (S)
= + O(h), for h → 0,
∂S h
a Taylor expansion for ∂V /∂S. This expansion is the basis for the
finite difference approximation
∂V ∆V V (S + h) − V (S)
≈ =
∂S ∆S h
where the error is of “order h,” roughly proportional to h.
10/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
11/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
V (S) = E [W (S, Z )] ,
where
1 2
√
W (S, Z ) = e−rT Λ S · e(r − 2 σ ) T +σ T ·Z .
12/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
V0 = E [W (S, Z )] and
Vh = E [W (S + h, Z )] .
The plan:
1 Choose h and M.
2 Estimate V0 from M replications of W (S, Z ).
3 Estimate Vh from M replications of W (S + h, Z ).
4 Calculate the estimate
ˆ = V̂h − V̂0 .
∆
h
13/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
14/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
16/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
The approximation ∆ ≈ Vh −V
h
0
can also be written as
Wh − W
∆≈E with Wh = W (S+h, Z ), W = W (S, Z ),
h
17/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
ˆ 2 = 1 Var Wh − W = 1 Var(Wh − W ) .
Var ∆
M h M h2
Now,
Using
we obtain
18/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
Summarizing:
ˆ 2 ≈ 2 Var(W ) [1 − ρ (Wh , W )] .
Var ∆
h2 M
ˆ 1 ≈ 2 Var(W ) .
Var ∆
h2 M
Reduction: by a factor 1 − ρ (Wh , W ).
For small h the correlation ρ (Wh , W ) is close to 1, so
method 2 must be (a lot) better. DeltaCall2.m
Question: How many fewer replications needed if ρ = 0.95?
Answer: around 1/(1 − ρ) = 20 times fewer.
19/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
20/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
M = 1000000
h = 0.1000
confint =
0.9312 0.9853
0.9600 0.9609
speedgain = 3.4954e+03
h = 0.0100
confint =
0.6668 1.2034
0.9560 0.9570
speedgain = 3.1376e+05
21/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
h = 1.0000e-03
confint =
-1.9381 3.4240
0.9556 0.9566
speedgain = 3.1038e+07
h = 1.0000e-04
confint =
-27.9828 25.6337
0.9556 0.9565
speedgain = 3.1002e+09
22/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Finite differences Method 1 Method 2 Comparison
23/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias
24/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias
The first 4 from the list. The others will come later.
1 Analyse your problem. Do this, before you start
programming. Are there alternative ways to formulate it?
This may lead to alternative/better solutions and/or
simulation possibilities. You may not have to simulate at all.
2 Accuracy. Estimates should (where possible) always be
accompanied by an indication of their accuracy: standard
errors or confidence intervals (make sure the confidence level
is clear). The notation 3.12 ± 0.14 (s.e.) indicates an estimate
of 3.12 with a standard error of 0.14. If it is understood which
it is, 3.12 ± 0.14 or 3.12 (0.14) would suffice.
25/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias
26/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias
27/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Spotting errors Bias
28/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Spotting errors Bias
29/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Spotting errors Bias
30/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Spotting errors Bias
31/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Spotting errors Bias
32/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Spotting errors Bias
33/ 34
Cov&Corr Derivatives PoA MC Spotting errors and bias Spotting errors Bias
34/ 34