Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 23

A U T U M N    2 0 0 9

INTEREST RATE MODELLING

Numerical Methods in Finance (Implementing Market Models)


COMPUTATIONAL FINANCE
MSc
©Finbarr Murphy 2007

Lecture Objectives
 Interest Rate Modelling

 Traditional Interest Rate Models


 Vasicek 77
 CIR 95
COMPUTATIONAL FINANCE
MSc
©Finbarr Murphy 2007

Agenda
Page

1
Interest Rate Modelling 2

2
Traditional Term Structure Models 10
3
COMPUTATIONAL FINANCE
MSc

3
©Finbarr Murphy 2007

Interest Rate Modelling


 Definition: Interest Rate

 The percentage of an amount of money that's paid


for its use over a specified time period

 Very few market instruments do not use interest rates


in their effective valuation

 Definition: The Term Structure of Interest Rates


COMPUTATIONAL FINANCE

 The term structure of interest rates is a graphic


representation of how interest rates vary with
maturity; it shows the relationship between the yield
from a financial instrument and its maturity.
MSc

4
©Finbarr Murphy 2007

Interest Rate Modelling


 Yields across different outstanding maturities can be
plotted to create a yield curve

 The term structure of interest rates is better known


as the yield curve.

 Yield curves come in different shapes but they always


refer to instruments of a homogeneous (the same)
nature.
COMPUTATIONAL FINANCE

 As interest rates change - or as expectations of future


interest rates change - investors will typically switch
between maturities to try to achieve capital gains (or
at least to avoid capital losses).
MSc

5
©Finbarr Murphy 2007

Interest Rate Modelling


 In this lecture, we are primarily concerned with how
one might model an interest rate/term structure

 In the same way that the modelling of stock price


behaviour gave us models to calculate option prices,
the ability to model the term structure of interest
rates allows us to model any number of fixed income
derivatives
COMPUTATIONAL FINANCE

 There are two basic approaches:

 See slide:
MSc

6
©Finbarr Murphy 2007

Interest Rate Modelling


 For the moment, we will look at modelling interest
rates using traditional term structure models

 We begin with a look at a pure discount bond

 This is denoted by

ˆ   s

P( t , s ) = Et exp − ∫ r (τ ) dτ  
  t 
COMPUTATIONAL FINANCE

 Where r(τ) is the short rate path between t and s

 And Êt is the risk neutral expectation at time = t


MSc

7
©Finbarr Murphy 2007

Interest Rate Modelling


 Consider a constant rate of 6% (the green line)

 The PV discount bond, in this case, can be calculated


as exp(-r(s-t))
COMPUTATIONAL FINANCE
MSc

8
©Finbarr Murphy 2007

Interest Rate Modelling


 But the actual value will be the expected short path

 To see this, consider the integral of the blue line,


discretised into 10 Δt steps
COMPUTATIONAL FINANCE

Δt
MSc

9
©Finbarr Murphy 2007

Interest Rate Modelling


 Early term structure models supposed that the entire
term structure was driven by one source of
uncertainty

 So called, 1-factor models

 This single source of uncertainty is the short rate

 We start with the Vasicek (1977) model


COMPUTATIONAL FINANCE
MSc

10
©Finbarr Murphy 2007

Agenda
Page

1
Interest Rate Modelling 2

2
Traditional Term Structure Models 9
3
COMPUTATIONAL FINANCE
MSc

11
©Finbarr Murphy 2007

Traditional Term Structure Models


 The Vasicek (1977) model

 The SDE representing the uncertainty in the short


rate is give by the equation

dr = α ( r − r ) dt + σdz
 Where
 r(t) is the short rate at time t
COMPUTATIONAL FINANCE

 dz is a Weiner increment
 r is the long term mean rate of r
 The volatility of the short rate is assumed to be a constant σ
 α is the rate at which r reverts to r
MSc

12
©Finbarr Murphy 2007

Traditional Term Structure Models


 The short rate is assumed to follow the Ornstein-
Uhlenbeck process

 r, α and σ can be calculated using regression


techniques

 Under Vasicek, the discount rate is given by


− rB ( t , s )
P(t , s ) = A(t , s )e
COMPUTATIONAL FINANCE

 The equivalent continuously compounded yield is


given by
ln A(t , s ) B(t , s )
R(t , s ) = − + r
s −t s −t
MSc

13
©Finbarr Murphy 2007

Traditional Term Structure Models


 Where

1
(
B(t , s ) = 1 − e −α ( s −t )
α
)
 And
σ
( ) ( )
2
R∞
ln A( t , s ) = 1 − e −α ( s −t ) − ( s − t ) R∞ − 3 1 − e −α ( s −t )
2

α 4α
COMPUTATIONAL FINANCE

 and
1σ 2
R∞ = lim R( t ,τ ) = r −
τ →∞ 2 α2
MSc

14
©Finbarr Murphy 2007

Traditional Term Structure Models


 These functions can be easily coded in MatLab
 Try it!

 The spot rate volatility structure is determined by


two parameters σ and α

σ
( )
σ R t, s =
α(s − t)
(1− e −α ( s −t )
)
COMPUTATIONAL FINANCE
MSc

15
©Finbarr Murphy 2007

Traditional Term Structure Models


 Here is the Vasicek code for the discount bond
COMPUTATIONAL FINANCE
MSc

16
©Finbarr Murphy 2007

Traditional Term Structure Models


 Cox-Ingersoll-Ross

 The Vasicek model has two major short falls


 Interest rates can be negative in the model
 The negative correlation between interest rates and interest
rate sensitivity is ignored

 CIR (1995) introduce a model where the volatility of


the short rate increases with the square root of the
level of the rate
COMPUTATIONAL FINANCE

 This precludes negative rates

 Displays more variability in high rate environments


and visa versa
MSc

17
©Finbarr Murphy 2007

Traditional Term Structure Models


 The CIR SDE is given by

dr = α ( r − r ) dt + σ r dz

 As with Vasicek 77, the discount rates and


continuously compounded yields are given by
− rB ( t , s )
P(t , s ) = A(t , s )e
COMPUTATIONAL FINANCE

ln A(t , s ) B(t , s )
R(t , s ) = − + r
s −t s −t
MSc

18
©Finbarr Murphy 2007

Traditional Term Structure Models


 With φ3
 φ1e φ2 ( s −t )

A( t , s ) =  
 φ2 ( e φ1 ( s −t )
) 
− 1 + φ1 
 e φ1 ( s −t )
−1 
B( t , s ) =  
 φ2 ( e φ1 ( s −t )
)
− 1 + φ1 
COMPUTATIONAL FINANCE

 And where

φ1 = α + 2σ 2 2
α + φ1
φ2 =
2αr 2
φ3 = 2
σ
MSc

19
©Finbarr Murphy 2007

Traditional Term Structure Models


 Here is the CIR Code
COMPUTATIONAL FINANCE
MSc

20
©Finbarr Murphy 2007

Traditional Term Structure Models


 The CIR volatility term structure of spot rates is given
by

σ r
σ R (t , s ) = B (t , s )
s −t
COMPUTATIONAL FINANCE
MSc

21
©Finbarr Murphy 2007

Traditional Term Structure Models


 Here is a graph of 100 random movement in the short
rate. Note the convergence to the mean
COMPUTATIONAL FINANCE
MSc

22
©Finbarr Murphy 2007

Recommended Texts
 Required/Recommended
 Clewlow, L. and Strickland, C. (1996) Implementing derivative
models, 1st ed., John Wiley and Sons Ltd.
— Chapter 6, 7

 Additional/Useful
 Hull, J. (2005) Options, futures and other derivatives, 6th ed.,
Prentice Hall
— Chapters 4
COMPUTATIONAL FINANCE
MSc

23

You might also like