Lectures08-09 Stoch Calchandout
Lectures08-09 Stoch Calchandout
Stochastic processes
Itô’s formula
Monte Carlo simulation
Søren Hesel
Fall 2022
Source: http://www.google.com/finance
Outline
1 Probability theory
2 Stochastic processes
3 Itô’s formula
Probability space
ω
1 1 1 1 1 1
P(ω) 6 6 6 6 6 6
1 1 1 1 1 3
Q(ω) 12 6 6 6 6 12
Random variables
A random variable is a function X : Ω → R mapping ω 7→ X(ω) such
that {ω ∈ Ω | X(ω) ∈ I} ∈ F (measurability) for any interval I ⊆ R, e.g.
1 if ω = heads
• coin toss: X(ω) =
0 if ω = tails
• throw of a die: X(ω) = number of eyes in the realization ω
• finance: the stock price in one year, S1 (ω)
Information filtrations
A filtration F = (Ft )t∈T is an increasing family of σ-algebras, i.e.,
Ft ⊆ Ft ′ whenever t ⩽ t ′ .
General concepts
Et [xt ′ ] := E[xt ′ | Ft ] = xt ,
Properties:
• Theorem 3.2: If σ = (σu ) is a “nice” process, then
"Z ′ # "Z ′ # Z′
t t t
Et σ2u du
Et σu dzu = 0 and Vart σu dzu =
t t t
⇝ martingale
• Theorem 3.3: If σu = σ(u) is a deterministic function of time, the
stochastic integral,
Z t′ Z t′ !
σ(u)dzu ∼ N 0, σ(u) du
2
t t
Itô processes
• A process on the form
Zt Zt
xt = x0 + µu du + σu dzu ,
0 0
• Informally,
Et [dxt ] = µt dt and Vart [dxt ] = σ2t dt
so µt and σ2t are called the instantaneous drift and variance.
• In finance applications, the instantaneous standard deviation σt
is also known as the volatility. When is x a martingale?
Søren Hesel DRM
Probability theory General concepts
Stochastic processes Standard Brownian motion
Itô’s formula Stochastic integrals
Monte Carlo simulation Itô processes
Example
(Tutorial: Hull’s Question 14.5)
Hints:
• Integrate both sides of the SDE from [0, 6] to obtain:
Z6 Z6 Z6 Z6
S6 − S0 = dSt = (µ(t)dt + σ(t)dzt ) = µ(t)dt + σ(t)dzt
0 0 0 0
• Split up the integral from [0, 3] and (3, 6] and exploit that µ and σ
are constants on these intervals
• Use that increments to Brownian motion are independent and
normally distributed.
Søren Hesel DRM
Probability theory
Stochastic processes The one-dimensional Itô’s formula
Itô’s formula The two-dimensional Itô’s formula
Monte Carlo simulation
dy(t) dh(t)
= g ′ (h(t))
dt dt
or in short-hand notation: dy(t) = g ′ (h(t))dh(t)
Unfortunately not, but y will still be an Itô process with a suitable drift
and volatility.
Taylor approximation
g ′′ (xt )
g(xt+dt ) − g(xt ) ≈ g ′ (xt )dxt + (dxt )2 + . . .
2
Here
(dxt )2 = (µt dt + σt dzt )2 = µ2t (dt)2 + σ2t (dzt )2 + 2µt σt (dt)(dzt )
Taking the mean we see that Et [(dzt )2 ] = dt and Et [(dt)(dzt )] = 0, while
the variance will be of dt-order higher than one.
Søren Hesel DRM
Probability theory
Stochastic processes The one-dimensional Itô’s formula
Itô’s formula The two-dimensional Itô’s formula
Monte Carlo simulation
Example
(Tutorial: Hull’s Question 14.9)
What is the process followed by Stn ? Show that Stn also follows
geometric Brownian motion.
• Apply Itô’s formula with the function g(x, t) = xn applied to the
process St .
• Compute the derivatives ∂g ∂g ∂2 g
∂t , ∂x , and ∂x2
• Insert in Itô’s formula:
1 ∂2 g
∂g ∂g 2 2 ∂g
dg(St , t) = (St , t) + (St , t)µSt + (St , t)σ St dt + (St , t)σSt dzt
∂t ∂x 2 ∂x2 ∂x
Example
(Tutorial: Exercise 4 in Tutorial plan)
Example
(Tutorial: Munk’s Exercise 3.5)
The idea
Assume that the Q-dynamics of the underlying state variable is
1 X −r(T−t)
h i M
−r(T−t)
f (x, t) = EQ
t e F(xT ) ≈ e F(xTm )
M
m=1
Dividing the time period [t, T] into N sub-intervals of length ∆t, the
SDE can now be approximated by the Euler scheme
√
xtn+1 = xtn + µ(xtn , tn )∆t + σ(xtn , tn )εtn+1 ∆t, εtn ∼ N(0, 1)
Procedure
1 Repeat for m = 1, . . . , M:
▶ Draw/simulate a sequence {εmt | n = 1, . . . , N} of i.i.d. N(0, 1) random
n
variables
▶ Calculate the discounted payoff of the derivative, e−r(T−t) F(xTm )
2 Calculate the average discounted payoff to get an estimate of the
value of the derivative
Accuracy
Idea:
• Determine fB analytically and fBMC and fAMC by MC simulation
(using same ε’s)
• Assume we make the same error for both derivatives in the
numerical procedure
• The error of derivative B is
fB − fBMC
so if this error equals the error of derivative A we must have that
fA − fAMC = fB − fBMC ⇔ fA = fAMC + (fB − fBMC )
So we adjust our estimate by theDRM
Søren Hesel known error.
Probability theory
Stochastic processes The basic method
Itô’s formula Precision and improvements
Monte Carlo simulation
Cons:
• Cannot be used directly to, e.g., American/Bermudan options:
▶ Problem: We don’t know when we have hit the critical barrier
• Computation time