hjm models

9

Click here to load reader

Upload: glenden-khew

Post on 08-Nov-2014

16 views

Category:

Documents


2 download

DESCRIPTION

HJM Models

TRANSCRIPT

Page 1: HJM Models

Term Structure Models: IEOR E4710 Spring 2010c© 2010 by Martin Haugh

The Heath-Jarrow-Morton Framework

The Heath-Jarrow-Morton framework refers to a class of models that are derived by directly modeling thedynamics of instantaneous forward-rates. The central insight of this framework is to recognize that there is anexplicit relationship between the drift and volatility parameters of the forward-rate dynamics in a no-arbitrageworld.

The familiar short-rate models can be derived in the HJM framework but in general, however, HJM models arenon-Markovian. As a result, it is not possible to use the PDE-based computational approach for pricingderivatives. Instead, discrete-time HJM models and Monte-Carlo methods are often used in practice.

1 Forward Rates

We use f(t; s, s + δ) to denote the forward rate at time t for lending between times s and s + δ, where t < sand δ > 0. A simple no-arbitrage argument then implies that

Zst

Zs+δt

= exp (δ f(t; s, s + δ))

so that in particular,

f(t; s, s + δ) = − log(Zs+δt )− log(Zs

t )δ

.

Definition 1 The forward rate, f(t, s), is then defined to be the instantaneous interest rate agreed upon attime t for lending or borrowing at time s. It satisfies

f(t, s) = limδ→0

f(t; s, s + δ)

= − ∂

∂slog(Zs

t ) (1)

By integrating equation (1) we obtain

∫ s

t

f(t, u) du = −∫ s

t

∂ulog(Zu

t ) du

= − log(Zst )

which implies

Zst = exp

(−

∫ s

t

f(t, u) du

). (2)

We finally assume1 that the short rate, rt, satisfies rt = f(t, t).

1This assumption makes intuitive sense and may be justified mathematically.

Page 2: HJM Models

The Heath-Jarrow-Morton Framework 2

2 The HJM No-Arbitrage Drift Restriction

Motivated in part by (2), the HJM framework considers forward rates to be the fundamental building block ofterm-structure models. We therefore model the evolution of forward rates explicitly and assume that each time tforward rate, f(t, s) for t < s < T , has Q-dynamics given by

f(t, s) = f(0, s) +∫ t

0

α(u, s) du +∫ t

0

σ(u, s)T dWu (3)

or, in differential notation,df(t, s) = α(t, s) dt + σ(t, s)T dWt (4)

where Wt is a d-dimensional standard Q-Brownian motion. Here α(u, s) and σ(u, s) are Fu-adapted processesfor all s > 0.

Remark 1 It is worth emphasizing that since each forward rate, f(t, s) for s ∈ [t, T ], is a stochastic process(with dynamics of the form given in (4)), we actually have infinitely many processes in the HJM framework. Allof these processes, however, are driven by the same d-dimensional standard Q-Brownian motion, Wt.

The central insight of Heath-Jarrow-Morton was to recognize that the assumption of no-arbitrage implied aparticular relationship between the drift, α(t, ·), and the volatility, σ(t, ·). This relationship is given in thefollowing theorem.

Theorem 1 If there are no-arbitrage opportunities and if the Q-dynamics of the forward rates are given by (4),then

α(t, s) = σ(t, s)T

∫ s

t

σ(t, u) du. (5)

Proof: The proof proceeds by finding the Q-dynamics of Zst as implied by (2) and (4). We know that under

the no-arbitrage assumption, it must be the case that the expected instantaneous return on Zst is equal to rt

and this observation is then sufficient to derive (5).

We start by defining

Yt := −∫ s

t

f(t, u) du.

Standard calculus and (4) then implies

dYt = f(t, t) dt−∫ s

t

df(t, u) du

= rt dt−∫ s

t

[α(t, u) dt + σ(t, u)T dWt

]du. (6)

If we now define

α∗(t, s) :=∫ s

t

α(t, u) du

σ∗(t, s)T :=∫ s

t

σ(t, u)T du

and assume2 it is ok to switch the order of the stochastic and Riemann integration, then we obtain from (6)

dYt = rt dt− α∗(t, s) dt− σ∗(t, s)T dWt. (7)

2The result justifying this interchange of the order of integration is known as the Stochastic Fubini Theorem.

Page 3: HJM Models

The Heath-Jarrow-Morton Framework 3

Now we know from (2) that Zst = exp(Yt). Ito’s Lemma then implies

dZst = exp(Yt) dYt +

12

exp(Yt) (dYt)2

= Zst

[rt − α∗(t, s) +

12

σ∗(t, s)T σ∗(t, s)]

dt− Zst σ∗(t, s)T dWt.

But the Q-dynamics for Zst must have a drift coefficient equal to rtZ

st . We therefore have

α∗(t, s) =12

σ∗(t, s)T σ∗(t, s). (8)

We then obtain (5) by differentiating across (8) with respect to s.

Theorem 1 implies that the arbitrage-free Q-dynamics of f(t, s) for t < s < T are given by

df(t, s) =(

σ(t, s)T

∫ s

t

σ(t, u) du

)dt + σ(t, s)T dWt (9)

=d∑

i=1

(σi(t, s)

∫ s

t

σi(t, u) du

)dt +

d∑

i=1

σi(t, s)T dW(i)t . (10)

Remark 2 Note that the HJM framework refers to a class of models. A particular HJM model is only specifiedonce f(0, s) and σ(t, s) for 0 < t < s have been specified.

Remark 3 In applications it is sometimes assumed that σ(t, s) is deterministic. In such circumstances werecover the familiar Gaussian class of models.

Example 1 (Ho-Lee)

Let us assume d = 1 and that σ(t, u) = σ, a constant, for all t < u < T . Then (10) implies

f(t, s) = f(0, s) + σ2

∫ t

0

(s− u) du + σWt

= f(0, s) + σ2[ts− t2/2] + σWt.

Since rt = f(t, t) we therefore have

rt = f(0, t) +σ2

2t2 + σWt

and recognize this as the Ho-Lee model with a deterministic time-varying drift.

Example 2 (Hull-White)

Again we assume d = 1 but now take σ(t, u) = σ exp (−α(u− t)) where σ and α are positive constants.Equation (10) and straightforward integration imply

rt = f(0, t) +σ2

2α2

(e−αt − 1

)2 + σ

∫ t

0

e−α(t−u) dWu

which is consistent with the Hull-White model or the Vasicek model with time-varying drift parameters.

Page 4: HJM Models

The Heath-Jarrow-Morton Framework 4

Remark 4 It should be stated that the above two examples where we obtained explicit expressions for theshort-rate are not typical. More generally, rt will not3 be a Markov process.

Exercise 1 How would you specify σ(t, s) so as to recover the CIR model?

Example 3 (A 2-Factor Gaussian Model)

A popular4 2-factor Gaussian model is given by

df(t, s) =2∑

i=1

(σi(t, s)

∫ s

t

σi(t, u) du

)dt +

2∑

i=1

σi(t, s)T dW(i)t (11)

where

σ1(t, s) = σ11e−α1(s−t)

σ2(t, s) = σ21e−α1(s−t) + σ22e

−α2(s−t).

This model is motivated in part by a principal components analysis5 (PCA) of changes in forward rates. Thisanalysis suggests that the primary sources of randomness in the forward-rate curve are random changes in theslope of the curve followed by random twists in the curve. We can model this in our 2-factor Gaussian model asfollows:

(i) Interpret W(1)t as driving changes in the slope of the curve.

(ii) Interpret W(2)t as driving twists in the curve. For this interpretation to make sense, we need to impose

further constraints. For example, we might impose 0 < α2 < α1, σ22 > 0 and σ21 < −σ22.

Exercise 2 Convince yourself that the parameter constraints we impose in Example 3 do indeed allow us to

interpret W(2)t as driving twists in the forward-rate curve.

Example 4 (The Drift Restriction for Foreign Bond Markets)

We assume that there are two bond markets, one domestic and one foreign. For simplicity, we take d = 1 andassume the Q-dynamics6 of the domestic and foreign forward rates are respectively given by

dfd(t, s) = αd(t, s) dt + σd(t, s) dWt (12)dff (t, s) = αf (t, s) dt + σf (t, s) dWt (13)

We also assume that the exchange rate, Xt, has Q-dynamics7 given by

dXt = (rdt − rf

t )Xt dt + σxt Xt dWt (14)

where rdt and rf

t are the domestic and foreign short-rates, respectively. Xt is the value of one unit of foreigncurrency in terms of domestic currency. We established earlier that under a no-arbitrage assumption, therelationship between αd(t, s) and σd(t, s) is described by (5). We now wish to establish a similar relationshipbetween αf (t, s) and σf (t, s).

Let Ust denote the time t value of the foreign zero-coupon bond maturing at time s in units of the domestic

currency. We then haveUs

t

Bt= Xte

−∫ s

tff (t,u) du −

∫ t

0rd

u du := Vt

3But see Brigo and Mercurio, Section 5.2, or James and Webber, Section 8.2, for circumstances where rt will be Markovian.4See Cairns Example 6.65A question in Assignment 5 explains how PCA may be used to choose the volatility functions, σi(t, s).6The EMM Q corresponds to taking the domestic cash account as numeraire.7A straightforward no-arbitrage argument establishes (14) by treating the foreign currency as an asset with a continuous

dividend stream.

Page 5: HJM Models

The Heath-Jarrow-Morton Framework 5

and note that Vt must be a Q-martingale. If we apply Ito’s Lemma and again interchange the order ofstochastic and Riemann integration, then we see that

d

{−

∫ s

t

ff (t, u) du −∫ t

0

rdu du

}= ff (t, t) dt −

∫ s

t

[αf (t, u) dt + σf (t, u) dWt] du − rdt dt

= (rft − rd

t ) dt −[∫ s

t

αf (t, u) du

]dt −

[∫ s

t

σf (t, u) du

]dWt.

We now apply Ito’s Lemma to Vt and use the previous expression to obtain

dVt = Vt

[12

(∫ s

t

σf (t, u) du

)2

−∫ s

t

αf (t, u) du − σxt

(∫ s

t

σf (t, u) du

)]dt + ( other terms ) dWt.

(15)Since Vt is a martingale, the drift terms in (15) must sum to zero, i.e.,

12

(∫ s

t

σf (t, u) du

)2

−∫ s

t

αf (t, u) du − σxt

(∫ s

t

σf (t, u) du

)= 0. (16)

Differentiating across (16) with respect to s then implies

αf (t, s) = σf (t, s)[∫ s

t

σf (t, u) du − σxt

]. (17)

Remark 5 It is clear that we can easily derive an analogous restriction in Example 4 when we take d > 1. Inpractice, we would indeed assume d > 1. This class of models is useful, for example, if we wish to price a foreignbond option with time t value, Ct, given by

Ct = EQt

[e−

∫ T

tru du(US

T −K)+]

where T is the option’s expiration and S > T . These models also often arise in the context of pricing hybridsecurities.

Example 5 (Log-Normal Forward Rates?)

In specifying a HJM model we must specify the volatility function σ(t, s). An obvious choice would be to select

σ(t, s) = σf(t, s) (18)

where σ is a positive constant, leading presumably to log-normal forward rates. In their original paper, however,Heath, Jarrow and Morton showed that choosing σ(t, s) according to (18) would cause the forward rates toexplode. In particular, the no-arbitrage drift restriction of (5) implies

α(t, s) = σ2f(t, s)∫ s

t

f(t, u) du

≈ σ2f(t, s)2(t− s) (19)

for t close to s. It is the f(t, s)2 term in (19) that causes the explosion problem. Shreve8 provides intuition forthis observation by considering the ordinary differential equation, f ′(t) = σ2f2(t), whose solution is given by

f(t) =f(0)

1− σ2f(0)t. (20)

It is clear that this solution explodes at t = 1/σ2f(0).

8See Seection 10.4.1 Stochastic Calculus for Finance II: Continuous Time Models.

Page 6: HJM Models

The Heath-Jarrow-Morton Framework 6

Remark 6 It is worth pointing out that the explosive behavior of Example 5 when we define σ(t, s) accordingto (18) does not occur in the discrete-time world of Section 5.

Remark 7 The desire to generate log-normal interest rates and therefore provide a theoretical basis for Black’scaplet formula helped spur the development of market LIBOR models. These models are not inconsistent withHJM models and indeed some of the earlier market LIBOR models, e.g. the BGM model, were developed in theHJM framework. They focus, however, on simple forward rates rather than continuously compounded forwardrates.

3 The Drift Restriction under The Forward Measure

Suppose we wish to work under the forward measure, PT1 , that corresponds to taking ZT1t as numeraire. Then

Section 11 of the Introduction to Stochastic Calculus and Mathematical Finance lecture notes implies

dPT1

dQ=

1BT1Z

T10

= exp

(−

∫ T1

0

[ru − f(0, u)] du

)

= exp

(−

∫ T1

0

[∫ u

0

α(v, u) dv +∫ u

0

σ(v, u)T dWv

]du

)(21)

= exp

(−

∫ T1

0

[∫ T1

v

α(v, u) du

]dv −

∫ T1

0

[∫ T1

v

σ(v, u)T du

]dWv

)(22)

= exp

(−1

2

∫ T1

0

σ∗(v, T1)T σ∗(v, T1) dv −∫ T1

0

σ∗(v, T1)T dWv

)(23)

Note that in going from (21) to (22) we needed to change the limits of integration as we switched the order ofstochastic and Riemann integration. Girsanov’s Theorem now implies that

WP T1

t := Wt +∫ t

0

σ∗(v, T1) dv

is a standard d-dimensional PT1 Brownian motion. Equation (9) now implies

df(t, s) =(σ(t, s)T σ∗(t, s)

)dt + σ(t, s)T dWt

=[σ(t, s)T σ∗(t, s) − σ(t, s)T σ∗(t, T1)

]dt + σ(t, s)T dWP T1

t

= σ(t, s)T [σ∗(t, s) − σ∗(t, T1)] dt + σ(t, s)T dWP T1

t

= −σ(t, s)T

[∫ T1

s

σ(t, u) du

]dt + σ(t, s)T dWP T1

t .

Remark 8 In contrast with LIBOR market models, the HJM framework is not usually applied under theforward measure.

4 Model Calibration in the HJM Framework

We need to specify f(0, t) and σ(t, s) in order to identify a particular HJM model. For the purposes of pricing,it is more convenient to calibrate using the EMM, Q, rather than using the true data generating measure, P .This is certainly true when we wish to use the model to price securities since all pricing is done under Q ratherthan under P . There are times, however, when it may be desirable to calibrate under P . For example, if we wishto use the model for risk-management purposes, e.g. computing a VaR or CVaR, then we typically want to work

Page 7: HJM Models

The Heath-Jarrow-Morton Framework 7

with P and therefore need to calibrate the model under P . The discussion below assumes that we arecalibrating under Q.

Specifying f(0, t): Recalling equation (2), we see that

f(0, t) = −∂ log Zt0

∂t. (24)

If we therefore choose f(0, t) to satisfy (24) (interpreting the Zt0’s in (24) as the time 0 market prices of

zero-coupon bonds), then our HJM model will be automatically calibrated to the market term-structure. Thiscontrasts with the short-rate models with deterministic time-varying parameters, where some work is required tomatch the term-structure.

Remark 9 In practice, zero-coupon bond prices for only a finite number of maturities are observed in themarket. This means estimating f(0, t) for all 0 < t < T requires care, especially since differentiation (as requiredin (24)) is a numerically unstable procedure. In practice, market rates such as swap rates or interest rate futuresare also used along with zero-coupon bond prices to help construct the yield curve.

Specifying σ(t, s): There are a number of ways to specify the volatility functions, σ(t, s). One method is to touse historical data which, of course, is generated under the true probability measure, P . Though we wish tocalibrate the model under Q, this does not create any difficulty as the volatility functions are the same underboth P and Q (or any EMM for that matter). This is clear from Girsanov’s Theorem. One of the questions inAssignment 5 demonstrates how this may be done using principal components analysis when certain simplifyingassumptions are made about the volatility functions.

One disadvantage that arises from using historical data is that model prices for commonly traded securities suchas caps and swaptions will generally not match the model’s prices for those securities. As a result, it is oftenpreferable to ignore historical data and instead choose σ(t, s) so that the model prices caps or swaptionsconsistently with the market. This may be achieved by specifying a functional form for σ(t, s), e.g., as inExample 3, and then choosing the parameters to match security prices in the market.

It is also possible to combine the two approaches using historical data and market prices to calibrate. Such anapproach is also described in Assignment 5.

5 HJM in Discrete-Time with a View to Monte-Carlo Simulation

Since HJM models are generally non-Markovian, the PDE-based techniques associated with the Feynman-Kacformula are not available as a tool for pricing securities. As a result, Monte Carlo simulation is thecomputational tool of choice. In order to simulate f(t, s) for s > t, it is necessary to discretize both time, t, andmaturity, s. There are many ways to do this, with perhaps the most obvious method being to simulate thecontinuous-time model (4) using an Euler scheme on 0 = t0 < t1 < · · · < tm = T . Since we need to discretizeboth time and maturity, however, it would be very computationally expensive to simulate the Euler scheme forsmall values of h where h := ti+1 − ti. Instead we might choose to simulate the Euler scheme for larger valuesof h. However, the quality of the approximation then deteriorates and so it might be preferable to directlydevelop discrete-time (but still continuous-state) arbitrage-free HJM models instead. This approach iscommonly used in practice and we now describe9 it.

We will assume that the same partition, 0 = t0 < t1 < · · · < tm = T , is used to discretize both time, t, andmaturity, s, for 0 ≤ t ≤ s ≤ T . Let f(ti, tj) denote10 the forward rate at time ti for borrowing or lending

9Our description closely follows that of Section 3.6.2 in Monte Carlo Methods in Financial Engineering by Glasserman.10We will use “hat” notation to denote discretized variables.

Page 8: HJM Models

The Heath-Jarrow-Morton Framework 8

between tj and tj+1. Then the time ti zero-coupon bond price for maturity, tj , is given by

Zji = exp

(−

j−1∑

k=i

f(ti, tk)hk

)(25)

where hk := tk+1 − tk.

Exercise 3 Let f(0, u), for 0 ≤ u ≤ T , denote the observed term-structure in the market place. Explain whywe would choose

f(0, tk) =1

tk+1 − tk

∫ tk+1

tk

f(0, u) du =1hk

∫ tk+1

tk

f(0, u) du

if we want to calibrate our discrete-time model to the market term-structure.

For ease of exposition, we will assume11 that d = 1. As in the continuous-time HJM framework, we then assumethat the Q-dynamics of forward rates are given by

f(ti, tj) = f(ti−1, tj) + µ(ti−1, tj)hi−1 + σ(ti−1, tj)√

hi−1 Zi, j = i, . . . , m (26)

where Z1, . . . , Zm are IID N(0, 1) random variables. Note also that as before, all forward rates are driven by thesame source of randomness, i.e., {Zi}m

i=1. In general, µ(ti−1, tj) and σ(ti−1, tj) are adapted processes that maydepend on the entire forward rate-curve at time ti−1. The volatility term, σ(ti−1, tj), is usually chosen bymatching the prices of commonly traded derivatives in the model to those in the market place.

The first step in the discrete-time HJM framework is to derive the drift restriction that is analogous to thecontinuous-time restriction, (5), of Theorem 1. As usual, we do this by insisting that discounted security pricesare Q-martingales. By applying this in particular to zero-coupon bond prices, we see that we must have

EQi−1

[Zj

i exp

(−

i−1∑

k=0

f(tk, tk)hk

)]= Zj

i−1 exp

(−

i−2∑

k=0

f(tk, tk)hk

). (27)

By first canceling common terms on both sides of (27), then substituting (25) into (27) and then cancelingagain on both sides, we obtain

EQi−1

[exp

(−

j−1∑

k=i

f(ti, tk)hk

)]= exp

(−

j−1∑

k=i

f(ti−1, tk)hk

). (28)

For each f(ti, tk) on the left-hand-side of (28), we make a substitution using (26) and find

EQi−1

[exp

(−

j−1∑

k=i

(f(ti−1, tk) + µ(ti−1, tk)hi−1 + σ(ti−1, tk)

√hi−1 Zi

)hk

)]= exp

(−

j−1∑

k=i

f(ti−1, tk)hk

).

(29)Canceling terms in (29) and noting that µ(ti−1, tk) is known at time ti−1, we obtain

EQi−1

[exp

(−

j−1∑

k=i

σ(ti−1, tk)√

hi−1 hk Zi

)]= exp

(j−1∑

k=i

µ(ti−1, tk)hi−1hk

)

which then implies

12

(j−1∑

k=i

σ(ti−1, tk)hk

)2

=j−1∑

k=i

µ(ti−1, tk)hk. (30)

Since (30) must hold for all j, it must also be the case that

µ(ti−1, tj)hj =12

(j∑

k=i

σ(ti−1, tk)hk

)2

− 12

(j−1∑

k=i

σ(ti−1, tk)hk

)2

. (31)

11The derivation for d > 1 proceeds in exactly the same manner.

Page 9: HJM Models

The Heath-Jarrow-Morton Framework 9

Remark 10 Equation (31) is the drift restriction for the discrete-time HJM model. Moreover, it can easily beseen12 that (31) is consistent with its continuous-time counterpart, (5).

In the multi-factor case, i.e., when d > 1, we assume a model of the form

f(ti, tj) = f(ti−1, tj) + µ(ti−1, tj)hi−1 +d∑

l=1

σl(ti−1, tj)√

hi−1 Zi,l , j = i, . . . , m

where Zi := (Zi,1, . . . , Zi,d) for i = 1, . . . ,m, are independent N(0, I) random vectors. By repeating steps (27)to (30) we easily find that in a no-arbitrage world it must be the case that

µ(ti−1, tj)hj =d∑

l=1

1

2

(j∑

k=i

σl(ti−1, tk)hk

)2

− 12

(j−1∑

k=i

σl(ti−1, tk)hk

)2 (32)

Equation (32) is the general drift restriction for the multi-factor discrete-time HJM model.

Pricing Derivatives

Derivative securities in discrete-time HJM models can now be priced using simulation. In particular, the timet = 0 price, C0, of a derivative with payoff CT at time T = tm is given by

C0 = EQ0

[exp

(−

m−1∑

k=0

f(tk, tk)hk

)CT

].

Example 6 (Pricing a Caplet)

Suppose we wish to price a caplet maturing a time T , with strike K and the spot rate Y T+τT as the underlying.

Then the payoff, typically occurring at time T + τ , is given by max(Y T+τT −K, 0). In the continuous-time HJM

framework we have

Y T+τT =

∫ T+τ

Tf(T, u) du

τ. (33)

In our discrete-time framework, if T = ti and T + τ = ti+1, then the analogue of (33) is a time ti+1 payoff

given by max(Y ti+1ti

−K, 0) where now

Yti+1ti

=exp

(f(ti, ti)[ti+1 − ti]

)− 1

ti+1 − ti.

More generally, if the caplet applies to an interval [ti, ti+n] then the relevant13 spot rate is given by

Yti+n

ti=

exp(∑n−1

l=0 f(ti, ti+l)[ti+l+1 − ti+l])− 1

ti+n − ti.

In order to price caplets, all we now need to do is to simulate (26) and average (suitably discounted) the cashflows on each simulated path.

Remark 11 A particular advantage of the HJM framework over short rate models occurs in the context ofsimulation. For example, if we are pricing a derivative that matures at time T with a payoff f(ZT+τ

T ) then thepayoff is easily evaluated at time T . This is clear since time T zero-coupon bond prices, determined as they areby the forward rate curve at time T , are immediately available at time T in any HJM model. This contrastswith short-rate models where an additional simulation may be required at time T to determine ZT+τ

T . Recallingthat the payoffs to caplets and swaps may be expressed in terms of zero-coupon bonds we see that this can be asignificant advantage.

12See Section 3.6.2 of Glasserman.13See Glasserman Section 3.6.3 for further details including pseudo-code for simulating efficiently the evolution of the forward

curve according to (26) and (32).