Professional Documents
Culture Documents
PETER CASPERS
1. Model description
We follow [1]. The general model description is given by
(1.5) (f ) = f
(1.6) (v) = v
with CEV parameter [0, 1] and volatility of volatility 0.
f K f K
(2.3) B(f, , , K) = (f K) +
The Ito formula applied to 2.2 yields
1
(2.4) dc = B dt + Bf df + B d + (B dd + Bf f df df ) + Bf df d
2
Setting
f (t) K
(2.5) x(t) :=
(t)
the ito formula gives
1 f K f K 1 1
(2.6) dx = df d + dd 2 df d = (df xd) + ... dt
2 3
because dZdt = dtdt = 0 for every brownian Z. Therefore the quadratic variation
of x evaluates to
1
(2.7) dxdx = (df df 2xdf d + x2 dd)
2
The following equations are verified by direct computation
(2.8) B = Bf f
2
f K
(2.9) B = Bf f
f K
(2.10) Bf = Bf f
1
(2.11) 0 = B + 2 Bf f
2
Since c and f are martingales, taking expectations in 2.4 and using 2.8 yields
1 1 2
0 = 2 Bf f dt + Bf f d +
(2.12) x Bf f dd + Bf f df df xBf f df d
2 2
Dividing by Bf f and using 2.7 gives
1 1
(2.13) 0 = 2 dt + E(d) + 2 dxdx
2 2
which for 0 becomes
dxdx
(2.15) x := =1
dt
The aim is to find x(t), then the normal implied volatility is given by
IMPLEMENTATION OF THE ZABR MODEL 3
f K
(2.16) (t) =
x(t)
Setting x(t) = x(f (t), v(t)), one gets dx = xf df + xv dv + ... dt, therefore
dxdx
(2.17) 1 = x = = x2f (f )2 v 2 + x2v (v)2 + 2xf xv (f )v(v)
dt
This is a nonlinear partial differential equation in the (dummy) variables (f, v),
which can be solved using boundary condition
(2.18) x(f = K, v) = 0
3. Deterministic case
If (v) = 0, i.e. there is no stochastic volatility, the PDE 2.17 becomes
(3.1) 1 = x2s (f )2 v 2
(3.2) xf = (f )1
Z f
(3.3) x= (u)1 du
K
f K
(3.4) = Rf
K
(u)1 du
f
ln K
(3.5) = Rf
K
(u)1 du
1
x
(3.6) (f ) = (f )
K
4 PETER CASPERS
Z f (t)
(4.2) y(t) := v(t)1 (u)1 du
K
Ito gives
(4.3) dy = yf df + yv dv + ... dt =
(4.4) dW y(t)dV + ... dt =
p
(4.5) 2 2
1 + y(t) 2y(t)dB + ... dt =:
(4.6) J(y(t))dB + ... dt
It should be noted that
Z y(t)
(4.8) x(t) := J(u)1 du
0
We aim to show that x satisfies pde 4.1. We compute
1 J(y(t)) + y(t)
(4.17) x(t) = ln
1
where y(t) is directly computed from its definition as
f (t)1 K 1
(4.18) y(t) =
v(t)(1 )
if < 1 and
1 f (t)
(4.19) y(t) = ln
v(t) K
if = 1, where v(0) = . The implied normal volatility is then retrieved as
above as
f (t) K
(4.20) (t) =
x(t)
This formula only holds for K 6= f (t). The at the money case can be retrieved
by differentiating the nominator and denominator by K and evaluating the result
at K = f (t). The derivative of the nominator is clearly 1 (in the lognormal
case K 1 ). The denominator is handled as follows (subscripts denoting partial
derivatives and omitting independent variables):
x
(4.24) (f (t)) = f (t) v(t)1
K
and in the normal case
1
x
(4.26) (f ) = J(y)f v
K
We note that y has to be evaluated at K = f here, while f (t) in the definition
of y in 4.2 stays the forward rate at time t = 0. Also, v means v(t = 0) here.
6 PETER CASPERS
(5.1) = 0 1
to get the volvol parameter here.
As in the case of the SABR model we define a new variable y by setting
Z f (t)
(5.2) y(t) := v(t) 2
(u)1 du
K
and applying Ito to get
(5.3) dy = yf df + yv dv + ... dt =
1
(5.4) v(t) dW + ( 2)v(t)1 ydV + ... dt
Setting x(t) := v(t)1 u(y(t)) and again applying Ito yields
(5.5) dx = xy dy + xv dv + ... dt =
1 0
(5.6) v(t) u (y)dy + (1 )u(y)dV + ... dt =
(5.7) u (y)dW + (( 2)yu0 (y) + (1 )u(y))dV + ... dt
0
Now
dxdx
(5.8) = u0 (y)2 + (( 2)yu0 (y) + (1 )u(y))2 +
dt
(5.9) 2u0 (y)(( 2)yu0 (y) + (1 )u(y))
which is equal to 1 if u is a solution to the following ordinary differential equation:
Also the equivalent deterministic local volatility function 3.6 is computed easily
from u(y(t)) via
1
x
(5.15) (f )
K
with
x
(5.16) (f ) = v(t)1 u0 (y(t))v(t)2 (f )1 =
K
(5.17) v(t)1 (f )1 F (y, v(t)1 x(t))
using 5.14, which leads to
1
x
(5.18) (f ) = v(f )F (y, v 1 x)1
K
We note that the special case formula 4.24 stays the same for the ZABR model
as for the SABR model, because F (0, 0) = 1, therefore x/K = v(t)1 (f )1 .
Also the same remarks concerning the evaluation of y and v as given for 4.26 apply
here.
6. Dupire pricing
Given a model (which in this context here will be an equivalent deterministic
local volatility model generated from a SABR or ZABR model, see above) of the
form
c 2 c (K)2
(6.2) =
T K 2 2
with initial condition c(0, K) = (f (0) K)+ . For fixed maturity T this will give
simultaneously call prices for all strikes K.
1
(7.1) dc = ct dt + cf df + cv dv + (cf f df df + cvv dvdv) + cf v df dv
2
1
cf f (f ) v + cvv (v)2 + cf v (f )v(v))dt
2 2
(7.2) = (ct +
2
(7.3) + ... dW + ... dV
Using dc = 0 this yields to the pde for c(t, f, v)
1
(7.4) ct + (cf f (f )2 v 2 + cvv (v)2 ) + cf v (f )v(v) = 0
2
with conditions
8. Numerical Examples
8.1. Classic Hagan and short maturity expansions. We recompute the ex-
ample from [1] (page 7, figure 1) with parameters = 0.0873, = 0.7, = 0.47, =
0.47, forward rate f = 0.0325 (the forward is actually not mentioned in [1], but
we believe this value was used there) and expiry time t = 10.0. The resulting log-
normal implied volatilities are displayed in figure 1. The corresponding densities
are plotted in figure 2
0.5
implied ln vol
0.4
0.3
0.2
0.1
0
0 0.05 0.1 0.15 0.2
strike
IMPLEMENTATION OF THE ZABR MODEL 9
10
density
-10
-20
-30
0 0.05 0.1 0.15 0.2
strike
We reproduce figure 3 from [1]. We believe the short maturity expansion for
normal volatility was used. Our result is depicted in figure 3
8.2. Equivalent deterministic local volatility. We use 4.26 or 5.18 to compute
the equivalent deterministic local volatility (with the same parameters as in the
previous section). The result is displayed in figure 4 which compares to [1], figure
2.
Next we use this local vol and 6.2 to produce a volatility smile. The result in
terms of densitites is shown in 5 together with the classic Hagan formula implied
density. Clearly the local volatility approach removes the defect of the Hagan
formula for strikes near zero and produces a globally arbitrage free smile.
References
[1] Andreasen, Jesper and Huge, Brian: ZABR Expansions for the Masses, SSRN id 1980726,
December 2011
[2] QuantLib A free/open-source library for quantitative finance, http://www.quantlib.org
10 PETER CASPERS
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.05 0.1 0.15 0.2
strike
IMPLEMENTATION OF THE ZABR MODEL 11
0.035
0.03
local vol heta(k)
0.025
0.02
0.015
0.01
0.005
0
0 0.02 0.04 0.06 0.08 0.1
strike k
10
density
-10
-20
-30
0 0.05 0.1 0.15 0.2
strike