Professional Documents
Culture Documents
Haijun Li
lih@math.wsu.edu Department of Mathematics Washington State University
Week 13
Haijun Li
Week 13
1 / 15
Outline
Numerical Solutions The Euler Approximation The Milstein Approximation Monte Carlo Methods in Financial Engineering References
Haijun Li
Week 13
2 / 15
Haijun Li
Week 13
3 / 15
Haijun Li
Week 13
3 / 15
Haijun Li
Week 13
3 / 15
Haijun Li
Week 13
3 / 15
Haijun Li
Week 13
4 / 15
To approximate the solution, partition [0, T ] as follows, n : 0 = t0 < t1 < < tn1 < tn = T , with i = ti ti1 , 1 i n, and mesh(n ) = max1in i . Let i B = Bti Bti1 , 1 i n.
Haijun Li
Week 13
4 / 15
To approximate the solution, partition [0, T ] as follows, n : 0 = t0 < t1 < < tn1 < tn = T , with i = ti ti1 , 1 i n, and mesh(n ) = max1in i . Let i B = Bti Bti1 , 1 i n. Dene recursively, 1 i n, Xti with X0
(n) (n)
(n)
(n)
(n)
= X0
An Introduction to Stochastic Calculus Week 13 4 / 15
Haijun Li
Consider, 1 i n,
ti ti
Xti = Xti1 +
(Xs )ds +
ti1 ti1
(Xs )dBs .
Haijun Li
Week 13
5 / 15
Consider, 1 i n,
ti ti
Xti = Xti1 +
2
(Xs )ds +
ti1 ti1
(Xs )dBs .
ti1
Haijun Li
Week 13
5 / 15
Consider, 1 i n,
ti ti
Xti = Xti1 +
2
(Xs )ds +
ti1 ti1
(Xs )dBs .
ti1
Haijun Li
Week 13
5 / 15
Consider, 1 i n,
ti ti
Xti = Xti1 +
2
(Xs )ds +
ti1 ti1
(Xs )dBs .
ti1
In practice one usually chooses equi-distant points ti such that mesh(n ) = T /n, and XiT /n = X(i1)T /n + (X(i1)T /n )i + (X(i1)T /n )i B, 1 i n.
Haijun Li An Introduction to Stochastic Calculus Week 13 5 / 15
(n)
(n)
(n)
(n)
Haijun Li
Week 13
6 / 15
The numerical solution X (n) converges strongly to X with order > 0 if there exists a constant c > 0 such that (n) E|XT XT | c mesh(n ) , n 1. X (n) is a strong numerical solution of the SDE if (n) E|XT XT | 0, as mesh(n ) 0.
Haijun Li
Week 13
6 / 15
The numerical solution X (n) converges strongly to X with order > 0 if there exists a constant c > 0 such that (n) E|XT XT | c mesh(n ) , n 1. X (n) is a strong numerical solution of the SDE if (n) E|XT XT | 0, as mesh(n ) 0.
(n)
One could use E sup0tT |Xt Xt | as a more appropriate criteria to describe the pathwise closeness of X and X (n) . But this quantity is more difcult to deal with theoretically.
Haijun Li
Week 13
6 / 15
The numerical solution X (n) converges strongly to X with order > 0 if there exists a constant c > 0 such that (n) E|XT XT | c mesh(n ) , n 1. X (n) is a strong numerical solution of the SDE if (n) E|XT XT | 0, as mesh(n ) 0.
(n)
One could use E sup0tT |Xt Xt | as a more appropriate criteria to describe the pathwise closeness of X and X (n) . But this quantity is more difcult to deal with theoretically.
Haijun Li
Week 13
6 / 15
Haijun Li
Week 13
7 / 15
The numerical solution X (n) converges weakly to X with order > 0 if there exists a constant c > 0 such that (n) |Ef (XT ) Ef (XT )| c mesh(n ) , n 1. X (n) is a weak numerical solution of the SDE if (n) |Ef (XT ) Ef (XT )| 0, as mesh(n ) 0.
Haijun Li
Week 13
7 / 15
The numerical solution X (n) converges weakly to X with order > 0 if there exists a constant c > 0 such that (n) |Ef (XT ) Ef (XT )| c mesh(n ) , n 1. X (n) is a weak numerical solution of the SDE if (n) |Ef (XT ) Ef (XT )| 0, as mesh(n ) 0.
Haijun Li
Week 13
8 / 15
Haijun Li
Week 13
8 / 15
Haijun Li
Week 13
8 / 15
= X0 .
Haijun Li
Week 13
8 / 15
= X0 .
Haijun Li
Week 13
9 / 15
Haijun Li
Week 13
9 / 15
Haijun Li
Week 13
9 / 15
Haijun Li
Week 13
10 / 15
Haijun Li
Week 13
10 / 15
Haijun Li
Week 13
10 / 15
Haijun Li
Week 13
10 / 15
Although this formula can be written explicitly in terms of the normal distribution (the Black-Scholes formula), we can also estimate C using Monte Carlo method.
Haijun Li An Introduction to Stochastic Calculus Week 13 10 / 15
T Zi
Haijun Li
Week 13
11 / 15
T Zi
set Ci = erT (Xi (T ) K )+ set Cn = (C1 + + Cn )/n. The estimator Cn is unbiased and strongly consistent.
Haijun Li
Week 13
11 / 15
T Zi
set Ci = erT (Xi (T ) K )+ set Cn = (C1 + + Cn )/n. The estimator Cn is unbiased and strongly consistent. For nite but at least moderately large n, we can supplement the point estimate Cn with a (1 )100% condence interval s Cn + t/2,n1 C , where sC is the sample standard deviation, and n t/2,n1 is the upper 100(/2)th percentage point of a t distribution with n 1 degrees of freedom.
Haijun Li An Introduction to Stochastic Calculus Week 13 11 / 15
for
Haijun Li
Week 13
12 / 15
for
Again, the Fundamental Theorem of Arbitrage-Free Pricing implies that C := V0 = E(erT (X K )+ ) where 1 (r 2 2 )(tj+1 tj )+ tj+1 tj Zj+1 Xtj+1 = Xtj e .
Haijun Li
Week 13
12 / 15
for
Again, the Fundamental Theorem of Arbitrage-Free Pricing implies that C := V0 = E(erT (X K )+ ) where 1 (r 2 2 )(tj+1 tj )+ tj+1 tj Zj+1 Xtj+1 = Xtj e .
Algorithm
for i = 1, . . . , n for j = 1, . . . , m generate the standard normal Zij set Xi (j) = Xi (j 1)e(r 2 )(tj tj1 )+ set Xi = (Xi (1) + + Xi (m))/m set Ci = erT (Xi K )+ set Cn = (C1 + + Cn )/n.
Haijun Li 1 2
tj tj1 Zij
Week 13
12 / 15
Haijun Li
Week 13
13 / 15
as s . In comparing unbiased estimators, we should prefer 2 the one for which C is smallest.
Haijun Li
Week 13
13 / 15
as s . In comparing unbiased estimators, we should prefer 2 the one for which C is smallest. Bias frequently occurs in estimation via MC methods. For example, the bias can arise due to the following errors.
1
Model discretization error: For many models, exact sampling of the continuous-time dynamics is infeasible, some discretization approximation has to be used, resulting a bias. Payoff discretization error: Discretization has to be used for the payoffs that are functionals of the underlying asset processes. Nonlinear functions of means: In a compound option, the price of the rst option depends on the price of the second option ..., but these prices can only be estimated, resulting a bias.
An Introduction to Stochastic Calculus Week 13 13 / 15
Haijun Li
Haijun Li
Week 13
14 / 15
Haijun Li
Week 13
14 / 15
Haijun Li
Week 13
14 / 15
Haijun Li
Week 13
14 / 15
More References
Numerical Analysis on SDEs: Numerical Solution of Stochastic Deferential Equations (Springer 1995) by P. Kloeden and E. Platen.
Haijun Li
Week 13
15 / 15
More References
Numerical Analysis on SDEs: Numerical Solution of Stochastic Deferential Equations (Springer 1995) by P. Kloeden and E. Platen. Monte Carlo Simulation: Monte Carlo Methods in Financial Engineering (Springer 2004) by Paul Glasserman.
Haijun Li
Week 13
15 / 15
More References
Numerical Analysis on SDEs: Numerical Solution of Stochastic Deferential Equations (Springer 1995) by P. Kloeden and E. Platen. Monte Carlo Simulation: Monte Carlo Methods in Financial Engineering (Springer 2004) by Paul Glasserman. Lvy Matters: Financial Modelling with Jump Processes (Chapman & Hall 2004) by Rama Cont and Peter Tankov.
Haijun Li
Week 13
15 / 15
More References
Numerical Analysis on SDEs: Numerical Solution of Stochastic Deferential Equations (Springer 1995) by P. Kloeden and E. Platen. Monte Carlo Simulation: Monte Carlo Methods in Financial Engineering (Springer 2004) by Paul Glasserman. Lvy Matters: Financial Modelling with Jump Processes (Chapman & Hall 2004) by Rama Cont and Peter Tankov. Financial Times Series (GARCH, univariate and multivariate): Statistics of Financial Markets (Springer 2008) by J. Franke, C. M. Hafner and W. K. Hardle.
Haijun Li
Week 13
15 / 15