Stochastic Calculus Cheatsheet Stocalc PDF
Stochastic Calculus Cheatsheet Stocalc PDF
Stochastic Calculus Cheatsheet Stocalc PDF
E[dX] = 0
limdt0 dX 2 = dt
dtdX is O(dt3/2 )
Characterization:
1.
2.
3.
4.
X(0) = 0
Continuous everywhere, differentiable nowhere
X(t) X(s) N (0, |t s|)
X(t + s) X(t) is independent of X(t)
Levys characterization:
3. Xt is a martingale w.r.t. the filtration Ft
4. |X|2 t is a martingale w.r.t. the filtration Ft
dSi
Z
F (Xt ) = F (X0 ) +
0
dF
1
dX +
dX
2
Z
0
d2 F
d
dX 2
For F (Xt , t)
dF =
F
dXt +
X
F
1 2F
+
t
2 X 2
Z
dt
F (Xt , t) = F (X0 , 0) +
0
F
dX +
X
Z t
0
1 2F
F
+
t
2 X 2
=
=
V
V
1 2V
dt +
dS + g 2 2 dt
t
S
2 S
V
V
1 2V
V
+f
+ g 2 2 dt + g
dX
t
S
2 S
S
dXi2 dt
dXi dXj ij dt
3. Regroup the terms in dt and dXi
4. Sto.integ.: integrate the resulting DE
2-dimensional: V (t, S1 , S2 )
dV =
V
V
V
1 2V
2V
1 2V
+ f1
+ f2
+ g12 2 + g1 g2
+ g22 2
t
S1
S2
2 S1
S1 S2
2 S2
dt + g1
V
V
dX1 + g2
dX2
S1
S2
n-dimensional: V (t, S1 , . . . , Sn )
dV =
n
X
n
1X
V
V
+
fi
+
t
S
2
i
i=1
i=1
gi2
n
X
n
X
V
V
V
+
g
g
dt
+
gi
dXi
ij i j
Si2 i=1,j>1
Si Sj
S
i
i=1
2
Forward Kolmogorov
1 2
p
=
B(y 0 , t0 )2 p 0 (A(y 0 , t0 )p)
0
02
t
2 y
y
log
p(S, t; S 0 , t0 ) =
1
S 0
2(t0 t)
S
S0
2
+ 21 2 (t0 t)
2 2 (t0 t)
Common Processes/Dynamics
Geometric Brownian Motion (Lognormal)
Brownian Motion with Drift
dS = S dt + S dX
dS = dt + dX
dS
= dt + dX
S
Vasicek (1977)
dS = (
r r) dt + dX
FIXME TODO add others, Ho Lee and company...
dS = ( S) dt + S 2 dX
2
2
Martingales
Probability Spaces
Unconditional Expectation
Z
Z
E[1{XA} ] =
1{XA} d P = d P = P(A)
: sample space
F: filtration (information set),
(Note that Ft1 Ft2 FT F)
P: probability measure
Conditional Expectation
Martingales (Definition)
E[Mt ] <
E[Mt+1 |Ft ] = Mt
0 s t
E[Mt+1 |Ft ] Mt
(supermartingale)
E[Mt+1 |Ft ] Mt
(submartingale)
E[E[X|F]] = E[X]
3. Taking out what is known:
Equivalent Measures
E[X|F] = X
A.
Radon-Nikodym Theorem
Q(A) =
Z
A
dP
Exponential Martingale
dQ
is the R.N. derivative.
dP
where =
where f (t) = ( +
1 2
)t
2
1. Linearity:
E[
g(t, Xt )dXt ] = 0
0
Z
(f (t)+g(t))dXt =
MT = M0 +
g(t, X)dXt
0
Z
f (t)dXt +
g(t)dXt
0
2. Isometry:
2
"Z
#
Z T
T
E
f (t)dXt = E
|f (t)|2 dt
0
0
3. Martingale:
"Z
Fubinis Theorem
"Z
E
f (Xt )dt =
0
E [f (Xt )] dt
0
# Z
s
f (t)dXt Fs =
f (t)dXt
0
Novikov Condition
h 1 RT 2 i
E e 2 0 s ds <
Risk-free Asset
dBt = rBt dt,
Mt = e(
B(0) = B0
B(t) = B0 ert
s dXs 21
Rt
s2 ds)
is a Martingale
Girsanovs Theorem
Rt
Rt 2
1
dQ
= e( 0 s dXs 2 0 s ds)
dP
Z t
XtQ = XtP +
(s)ds
Underlying S
dSt = St dt + St dX,
S(t) = S0 e
Rt
S(0) = S0
t 12 2 +Xt
S(T )
S (T ) = rt
e
1 2
dS = ( r)S dt + S dX
Self-financing Portfolios
Doleans/Stochastic Exponential
Trading Strategy:
t
Z
t = (St , B
t ) processes
s dXs
s dXs
Value :
Vt () =
St St
+
Z t
Vt () = V0 () +
t [0, T ]
Z t
Su dSu +
B
u dBu
s2 ds
(s)ds
Feynman-Kac Equivalence
Arbitrage opportunity:
PDE:
V0 () = 0
and
1
2
B
t Bt
XtQ = XtP
Z
= exp
P (VT () < 0) = 0
V
V
1 2V
+
+ 2 2 rV = 0,
t
S
2 S
dSt = (t, St )dt + (t, St )dXt
V (T, S) = G(S)
m
Expectation: V (t, St ) = er(T t) E [G(ST )|Ft ]