Interest Rates Modeling
Interest Rates Modeling
Interest Rates Modeling
Equity-linked contracts
Commodity contracts
Unallocated
81%
where: X max{X , 0}
N – notional amount
Contract scheme
L(TN-1,TN)
L(T1,T2)
L(T0,T1)
L(T3,T4) L(T4,T5)
K L(T2,T3)
............
.
cap
............
.
floor
............
.
Types of interest rates
- theory
Spot and forward rates
• Spot rate – from now to some moment in
the future.
• Forward rate – between two moments in
the future (but fixed now)
Notation
t – present moment (if not specified, t=0)
T, S – some moments in the future (t<S<T)
Spot rate
R(t,T) or
L(t,T)
t T
Forward rate
F(t;S,T) or
L(t;S,T)
the rate is set at
t
t S T
Setup
• We assume that for every moment T there is
an zero-coupon bond that will pay 1€ at T.
• Symbol for this bond: P(∙,T) or PT
• Its price at the moment t: P(t, T) or PT(t)
• P(t, T) is current (at t) value of 1€ at T, so it
is also the discount factor from T to t:
P(t, T) = d(t, T)
P(0,T) = d(T)
Bonds’ prices term structure
d(T)=P(t,T) t is given („now”)
T
The curve starts at 1 and is downward-sloping
Simple spot rate
1 P(t , T )(1 (T t ) L(t , T ))
or
1
P(t , T )
1 L(t , T ) (T t )
thus
1 P(t , T )
L(t , T )
(T t ) P(t , T )
1€
P(t,T) €
t T
Continuously compound spot
rate
1 P(t , T ) exp (T t ) R(t , T )
or
P(t , T ) 1 exp (T t ) R(t , T )
thus
ln P(t , T )
R(t , T )
T t
1€
P(t,T) €
t T
Short rate (instantaneous)
When T→ t
ln P(t , T ) ln P(t , t )
R(t , T )
r (t )
T t T
r(t) is a spot rate for infinitely short period
[from t to t+dt]
If it is known in advance:
T
R(t , T ) rs ds
t
T
P(t , T ) exp rs ds
t
Forward rates
At the moment t:
– Buy 1 zero-coupon bond PS, [ -P(t, S) €].
– To finance it sell P(t,S)/P(t,T) bonds PT [ +P(t, S) €].
At the moment t the value of this investment is 0.
The discount factor between T and S [at the moment t] is thus:
P(t , S )
1 d (t; S , T )
P(t , T )
P(t , T )
d (t ; S , T )
P(t , S )
P(t,S)/P(t,T)
€
1€
t S T
Simple forward rate
P(t , T )
d (t; S , T ) 1 (T S ) L(t; S , T )
P(t , S )
P(t,S)/P(t,T)
€
1€
t S T
Continuously compound forward
rate
d (t; S , T ) exp (T S ) F (t; S , T )
P(t , T )
P(t , S )
P(t,S)/P(t,T)
€
1€
t S T
(Instantaneous) forward rate
When S→ T
ln P(t , T ) ln P(t , S ) ln P(t , T )
R(t; S , T )
f (t , T )
T S T
Always T
R(t , T ) f (t , s)ds
t
T
P(t , T ) exp f (t , s)ds
t
Summary
1 P(t , T ) P(t , T ) P(t , S )
L(t , T ) L(t; S , T )
(T t ) P(t , T ) (T S ) P(t , S )
ln P(t , T )
r (t ) f (t , t ) f (t , T )
T
T
P(t , T ) exp f (t , s)ds
t
Summary
• There are several kinds of interest rates
• Spot rates are rates for periods starting
from now
• Forward rates – for periods in the future
(but interest rates are set now)
• Instantaneous rates – are rates for
infinitelly short periods – purely theoretical
constructions but used in financial
statistics
Estimating the term
structure of interest
rates
Types of interest rates (risk free)
• Interbank rates:
– LIBOR/LIBID (London Interbank Interest Rates)
– EURIBOR (Euro Interbank Interest Rates): panel of
banks from EU + some outside banks (US, UK,
Japan)
– STIBOR (Stockholm), WIBOR (Warsaw), PRIBOR
(Prague), ….
– Eonia – rates based on real transactions (only
overnight)
• Central bank interest rates
• Rates derived from the prices of government
bonds
Shapes of term structure
3.5
3 3.5
2.5 3
2.5
2
2
1.5
1.5
1
1
0.5 0.5
0 0
0 5 10 15 20 0 5 10 15 20
0 5 10 15 20
Central bank and term structure
• CB has more control over short term rates
(policy to control EONIA through open
market operations)
• The influence on long term rates can be
ambiguous. Assume that CB rates grow
– Long term rates should also grow accordingly.
– But it can be anti-inflationary policy. If it is
believed to be successful, the rates will fall.
– If it is expected to fail, there is no reason for
rates to decrease.
Some theories of the term structure
• Expectation hypothesis – in the equilibrium the
long term rate should equal compound of
expected short term rates:
exp T R(T ) exp t R(t ) Et exp (T t ) R(t , T t )
• Liquidity preference – in the equilibrium long
term rates should be higher then then it would
result from expectation, because people prefer
more liquid assets.
• Partial markets – loans with different maturities
build different markets. Motivations of the agents
on this markets are different. One can consider
equilibrium on each of this market and general
equilibrium.
Methods of term structure
k 1
estimating
Fc F
P(t , Tk )
i 1 exp( R (t , Ti )(Ti t )) exp( R(t , Tk )(Tk t ))
k 1
cFd (t , Ti ) F d (t , Tk )
i 1
100
P(t , T ) 100exp(R(t , T )(T t )) 100d (t , T )
exp(R(t , T )(T t ))
• Bootstrap method
• Splines
• Nelson-Siegel method
• Svensson method
Bootstrap method
Requires several bonds with ‘’overlapping”
moments of payments.
P(0.25) F0.25d (0.25) d (0.25) P(0.25) / F0.25
ln d (0.25)
R(0.25)
0.25
P(0.5) c0.5 F0.5d (0.25) (1 c0.5 ) F0.5d (0.5)
1
d CF P
lnd (T )
R(T )
T
Splines
m
P(0, Tm ) CFm,T j d (T j ) m
j 1
gi
Ti Ti+1
McMulloch splines [1975]
For i < s:
0 for T Ti 1
T T 3
i 1
for Ti 1 T Ti
6Ti Ti 1
g i (T ) Ti Ti 1 2 Ti Ti 1 T Ti T Ti 2 T Ti
3
for Ti T Ti 1
6Ti 1 Ti
2
6 2 2
T T 2Ti 1 Ti Ti 1 T Ti 1 for T Ti 1
i 1 i 1 6 2
For i=s:
gi (T ) T
m
s
P(Tm ) CFm, j 1 i g (T j ) m
j 1 i 1
m s m
P(Tm ) CFm, j i CFm, j g i (T j ) m
j 1 i 1 j 1
Dependent variable:P(T ) CF m
j 1
m, j
T T
R(T ) 1 2 3 1 e e
T 3
Allows for a ”hump” in the term structure.
• There are 4 parameters
1+2 equals the short rate
1 is a consol rate (rate of the coupon bond with
infinite maturity): 1 = s()=f()
Spread between consol rate and short rate is -2.
It can be interpreted it as a slope of yield curve.
3 determines the shape of the yield curve. For
3>0 it has a hump and for 3 < 0 it is bend
downwards.
> 0 is the speed with which the rates tend to
console rate
Discount factors and bods’ prices
T T
d (T ) exp T1 2 3 1 exp 3T exp
m T T
P(Tm ) CF j exp T1 2 3 1 exp 3T exp
j 1
Parameters are estimated by minimizing the sum of
errors between theoretical and empirical prices.
K
min
, , ,
i2
1 2 3
i 1
where m P(Tm ) pm
Di1
wi
j 1 D j 1
K
1 exp(t / 1 ) 1 exp(t / 1 ) t
R(t ) 1 2 1 3 exp
t t 1
(1 exp(t / 2 ) 2 t
4 exp
t 2
Term structure estimation in various
countries
Country Method Minimized error Maturities
Belgium NS, SV prices (weighted) up to16 years
France NS, SV prices (weighted) up to10 years
Germany SV yields up to 10 years
Italy NS prices (weighted) up to 30 years
Japan splines prices up to 10 years
Spain SV prices (weighted) up to 10 years
Sweden SV, splines yields up to 10 years
Switzerlan SV yields up to 30 years
d
UK splines (variable penalty yields up to 30 years
roughness )
US splines prices up to 10 years
Source: BIS Papers No 25 (2005)
Example: Bundesbank data
Term structure in Germany (2008-2010)
Term structure in Armenia
Discrete models of
rates’ dynamics
Model
• Probabilistic model – the sample space Ω
and probabilistic measure P.
• Discrete model:
- finite number of moments t=0,1,2,…,T.
- finite sample space Ω (the set of possible
states of the world)
Bonds
• For each moment t=0,…,T there is a bond
that matures at t.
• Its price at s equals P(s,t)=Pt(s).
• Pt(t)=1.
• At each moment t the term structure of
bonds’ prices is given: (Pt(t)=1, Pt+1(t),
Pt+2(t) …, PT(t)).
Rates
Forward rates(instantaneous)
P (t )
f (t ) F (t; , 1) 1
P 1 (t )
Short rate
Pt 1 (t 1) Pt 1 (t ) 1
r (t ) 1 ft (t )
Pt 1 (t ) Pt 1 (t )
Possible approaches
• Models for bonds’ prices
• Models for forward rates
• Models for short rate
P1(1,d) = 1
P2(2) = 1
P2(1,d) = 0.9091
P1(1,u) = 1
P2(2) = 1
P2(1,u) = 0.8333
P0(0) = 1
P1(0) = 0.9091
P2(0) = 0.7438
P1(1,d) = 1 P2(2) = 1
P2(1,d) = 0.9091
P (t 1, x) x (t ) P (t ), x u, d
Thus:
1
ut 1 (t ) dt 1 (t )
Pt 1 (t )
r (t ) ut 1 (t ) 1 dt 1 (t ) 1
Dynamics of short rate
Pt 1 (t 1, u ) Pt 1 (t ) Pt 1 (t 1, d ) Pt 1 (t ) 1
r (t ) 1
Pt 1 (t ) Pt 1 (t ) Pt 1 (t )
r (t ) ut 1 (t ) 1 dt 1 (t ) 1
Exercise
• Calculate r in the models 1 and 2 as well
as in the models 3 and 4.
• Calculate rates u and d in the models.
Models 1 and 2
r1 = 1/0.8333−1 =
X
0.20
r0 = 1/0.9091−1 = 0.10
r1 = 1/0.9091−1 =
X
0.10
r (t ) ft (t )
Forward rates in model 1
f1(1) = 0.20 X
f0(0) = 0.10
f1(0) = 0.10
f1(1) = 0.10 X
d: V1 (d ) n1 0.90913n2 0.0435n1
P1 (0) 1
n2 n1 n1
P2 (0) P2 (0)(1 r (0))
n1 u (1)
V1 (u ) n1 n2 P2 (1, u ) n1 P2 (0)u2 (1) n1 1 2 .
P2 (0)(1 r (0)) 1 r (0)
n1 d (1)
V1 (d ) n1 n2 P2 (1, d ) n1 P2 (0)d 2 (1) n1 1 2
P2 (0)(1 r0 ) 1 r0
d 2 (1)
1
1 r (0)
Putting all together:
u2 (1) 1 r (0) d2 (1)
There exists a number 0<q<1, that
Thus
P (1)
P2 (0) E q 2
1 r (0)
q is a martingale probability
General model
Pt(t,u) = 1
Pt+1(t,u) = Pt+1(t−1)ut+1(t)
Pt+2(t,u) = Pt+2(t−1)ut+2(t)
………….
Pt−1(t−1) = 1 PT(t,u) = PT(t−1)uT(t)
Pt(t−1)
Pt+1(t−1)
……. Pt(t,d) = 1
PT(t−1) Pt+1(t,d) = Pt+1(t−1)dt+1(t)
Pt+2(t,d) = Pt+2(t−1)dt+2(t)
………….
PT(t,d) = PT(t−1)dT(t)
t−1 t
Portfolio at t-1
Vt 1 n0 Pt (t 1) n1Pt 1 (t 1) ... nT t PT (t 1)
Suppose that its initial value is 0:
Pt 1 (t 1) P (t 1)
n0 n1 ... nT t T n1 Pt 1 (t 1) 1 r (t 1) ... nT t PT (t 1) 1 r (t 1) .
Pt (t 1) Pt (t 1)
u: Vt (u ) n1 Pt 1 (t 1) 1 r (t 1) nT t PT (t 1) 1 r (t 1)
n1 Pt 1 (t 1)ut 1 (t ) nT t PT (t 1)uT (t )
n1 Pt 1 (t 1) ut 1 (t ) 1 r (t 1) nT t PT (t 1) uT (t ) 1 r (t 1)
d: Vt (u) n1Pt 1 (t 1) dt 1 (t ) 1 r (t 1) nT t PT (t 1) dT (t ) 1 r (t 1)
In the matrix form:
n1
Vt (u )
A
t
V ( d ) n
T t
where:
P (t 1) ut 1 (t ) 1 r (t 1) PT (t 1) uT (t ) 1 r (t 1)
A t 1
Pt 1 (t 1) dt 1 (t ) 1 r (t 1) PT (t 1) dT (t ) 1 r (t 1)
Thus
Pt k (t )
Pt k (t 1) E q
t 1
1 r (t 1)
Theorem
thus q=0.5
Model 2
r(0)=0.1
0.8333 0.9091
0.7438 q (1 q)
1.1 1.1
0.5
0.25 0.5
0.75 0.25
0.25
0.75
0.75 0.25
0.5 0.75
0.5
0.5
0.5
0.5 0.25
0.5 -0.5
0.5
1.5
0.5 0.5
0.75
0.5
0.25
0.25
0.75
hu ( t 1) hd ( t 1)
u (t 1) d (t 1)
Pt 1 (t ) Pt 1 (t )
Assumption
• Equilibrium.
• Martingale probabilities (q, 1-q) are the
same for each node.
• Recombination: paths u-d and d-u should
lead to the same end state (to the same
prices).
Solution
The only functions that fulfills the assumptions
are:
1
hu ( ) hd ( )
q (1 q) q (1 q)
Notice that
PT (t , d )
T t
PT (t , u )
so δ describes the dispersion of possible prices
(δ-1 can be interpreted as volatility of prices)
Example
δ=0.8, q=0.9
τ 0 1 2 3
hu (τ) 1.00000 1.02041 1.03734 1.05130
P4 (0) 0,6830
P4 (1) hu (3) ·1,05130 0,7899
P1 (0) 0,9091
Model7
1
1
0.9 0.9557
1
0.9430
1 0.9 0.8833 0.1
0.9276 1
1 0.9 0.8573 1
0.1 0.7646
0.9091 0.7899 0.9
0.8265 1
0.7513 0.7544
0.1 0.9 0.5653 0.1
0.6830 1
0.7421 1
1
0.5487 0.6117
0.1 0.9
0.4044 1
0.6035
0.3618 0.1
1
1
0.4893
0.2557 X
0.9
0.9 0.1
0.9 0.0646 X
0.1 0.9
0
0 X
0.1 0.9
0.1
0 X
0.2557
0.9
(0.9∙0.2557+0.1∙0.0646)
0.9 ∙0.8833=0.2090 0.1
0.9 0.0646
0.1 0.9
0
0.9∙0.0646
0.1 0.9 ∙0.7544=0.0439 0.1
0
0.1 0.9
0
0.1
0
0.2557
0.9
0.9 0.2090
0.1
(0.9∙0.2090+0.1∙0.0439)
0.9 ∙0.9276=0.1785 0.0646
0.1 0.9
0
0.1 0.0439
0.9 0.1
(0.9∙0.0439+0.1∙0)∙ 0
0.7421=0.0293 0.9
0.1
0
0.1
0
t=1 t=2
t=0 t=3
Prices t=0
0.2557
0.9
0.9 0.2090
0.1
0.0293 0
0.9
0.1
0
0.1
0
t=1 t=2
t=0 t=3
Literature
S. Kellison, Theory of Interest, McGrew/Hill, 2008.