0% found this document useful (0 votes)
87 views30 pages

A Guide To Duration, DV01, and Yield Curve Risk Transformations

Trydbdbd rhrhcbf

Uploaded by

spam4rt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views30 pages

A Guide To Duration, DV01, and Yield Curve Risk Transformations

Trydbdbd rhrhcbf

Uploaded by

spam4rt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

A Guide to Duration, DV01, and Yield

Curve Risk Transformations


Originally titled “ Yield Curve Partial DV01s and Risk Transformations”

Thomas S. Coleman
Close Mountain Advisors LLC
21 January 2011

Duration and DV01 (dollar duration) measure price sensitivity and provide the basic
risk measure for bonds, swaps, and other fixed income instruments. When valuing
instruments off a yield curve, duration and DV01 naturally extend to a vector of partial
DV01s or durations (key rate durations) and these are widely used in the finance
industry. But partial DV01s or durations can be measured with respect to different
rates: forwards, par rates, zero yields, or others. This paper reviews the concepts of
partial DV01 and duration and then discusses a simple method for transforming partial
DV01s between different rate bases and provides examples. The benefit of this
transformation method is that it only requires calculating the risk of a small set of
alternate instrument and does not require re-calculating the original portfolio risk.
(This paper is also available in an interactive version with enhanced digital content - see
references.)
Keywords: DV01, Duration, Key Rate Duration, Interest Rate Risk, Yield Curve Risk,
Dollar Duration, Modified Duration, Partial DV01
JEL Classifications: G10, G12, E43

Paper
Introduction
Duration and DV01 provide the basic measures for evaluating the risk or sensitivity of fixed income instruments and are both
used throughout the financial industry. The DV01 (dollar value of an 01) is just the derivative of price with respect to yield:

Price = PV H y L
â PV
DV01 = -
â y

Modified or adjusted duration, the derivative in percentage instead of dollar terms, is just the DV01 expressed in different
units:
1 â PV DV01
Modified or Adjusted Duration = - = 100 ×
PV â y PV

One can use either DV01 or modified duration and the choice between them is largely a matter of convenience, taste, and
custom. DV01, also called dollar duration, PV01 (present value of an 01), or BPV (basis point value), measures the derivative
in price terms: the dollar price change per change in yield. Modified duration measures the derivative in percent terms: the
percent price change per change in yield. I will work mostly with DV01 throughout this paper but the ideas can be applied
equally well to modified duration.
In many practical applications a bond or other fixed-income security will be valued off a yield curve, and we can then extend
the DV01 or duration to partial DV01s or durations - the partial derivatives with respect to yields for different parts of the
curve:
2 risktransform1_4.nb

Partial DV01 s = J N
¶ PV ¶ PV
º
¶ y1 ¶ yk

Calculating and using partial DV01s based on a curve is a natural extension of the basic yield DV01, just as partial derivatives
are a natural extension of the univariate derivative. Partial DV01s of one form or another are used throughout the financial
industry (see Ho 1992 and Reitano 1991 for early discussions). Unlike for the basic DV01, however, when working with a full
yield curve there is no single unique yield. Partial DV01s can be calculated with respect to any of a large set of possible yields.
The values for the partial DV01s will depend on the set of rates used. Partial DV01s w.r.t. alternate yields all measure the same
thing - risk to parts of the curve - but do so from different perspectives. As a result, we often need to transform between
partial DV01s w.r.t. alternate yields.
Let us turn to an example. Say we have a 10 year zero bond trading at $70.26 or 3.561% semi-bond yield. The DV01 will be
â PV
DV01 sab = - = 6.903
â y sab

(measured here as the price change for a $100 notional bond per 100bp or 1 percentage point change in yield). The modified
duration will be
6.903
ModD = 100 × = 9.83
70.26
(measured as the percent change per 1 percentage point change in yield). For the bond there is a single yield-to-maturity, so
little choice in defining the DV01 or duration.
When we turn to valuation using a curve, however, there are many choices for the yields in defining the partial DV01s. Say
that we restrict ourselves to a curve built with instruments of maturity 1, 2, 5, and 10 years. The exact meaning of “ parts of
the curve”is discussed more below, but for this curve we would use instruments with maturity 1, 2, 5, and 10 years. A natural
choice, but by no means unique, would be to work with zero-coupon yields of maturity 1, 2, 5, and 10 years. For our 10 year
zero the partial DV01s w.r.t. zero rates would be:
10-year Zero Bond Zero Yield Partial DV01
1 yr Zero 2yr Zero 5yr Zero 10yr Zero Total
0. 0. 0. 6.904 6.904

The partial DV01 w.r.t. the 10 year yield is the same as the original DV01, and all the other partials are zero. This should not
be a surprise.
Zero yields are a common choice for partial DV01 yields but might not be suitable for all circumstances and are by no means
the only choice. We could instead calculate partial DV01s w.r.t. forwards - using our curve this would be forward rates
between 0, 1, 2, 5, and 10 years. For our zero bond the forward rate partial DV01s would be:
10-year Zero Bond Forward Rate Partial DV01
1 yr Zero 2yr Zero 5yr Zero 10yr Zero Total
0.702 0.702 2.109 3.513 7.027

This is the same risk as we originally calculated, just measured using alternative instruments - forward rates instead of zero
rates. If we were trading options then we would be particularly interested in forward rates and risk expressed in this way
might be more useful than the risk w.r.t. zero rates.
We are not limited to zeros or forwards. We could equally well calculate the risk w.r.t. yields on par bonds:

10-year Zero Bond Par Yield Partial DV01


1 yr Zero 2yr Zero 5yr Zero 10yr Zero Total
- 0.026 - 0.105 - 0.54 7.597 6.926

The exact numbers, both the distribution across the curve and the total (a “ parallel”shift of 100bp in all yields) are different
in all cases. Nonetheless the risk is the same in all three cases, simply expressed in different units or different co-ordinates -
essentially transformed from one set of rates or instrument to another.
Usually we start with risk in one representation or in one basis, dependent on the particular risk system we are using, but
often we want to examine the partial DV01s w.r.t. another set of yields. We might be given the partials w.r.t. forwards but
wish to see the partial DV01s w.r.t. par yields. We would need to transform from the forward basis to the par basis. This
paper describes a simple methodology for transforming between alternate sets of rates or instruments. The essence of the
approach is:
risktransform1_4.nb 3

Usually we start with risk in one representation or in one basis, dependent on the particular risk system we are using, but
often we want to examine the partial DV01s w.r.t. another set of yields. We might be given the partials w.r.t. forwards but
wish to see the partial DV01s w.r.t. par yields. We would need to transform from the forward basis to the par basis. This
paper describes a simple methodology for transforming between alternate sets of rates or instruments. The essence of the
approach is:
è
Start with partial DV01s for the original security or portfolio calculated in one representation, usually based on the risk
è system used and particular functional form used to build the curve.
Pick a set of instruments that represent the alternate yields or rates desired for the partial DV01s. For example if we wish
è to transform to zero-coupon yields, choose a set of zero-coupon bonds.
Perform an auxiliary risk calculation for this set of alternate instruments to obtain partial derivatives, reported on the
è same basis as the original risk.
Use this matrix of partial derivatives to create a transformation matrix, and transform from the original partial DV01s to
the new partial DV01s by a simple matrix multiplication.
The matrix provides a quick, computationally efficient way to transform from the original risk to the new risk, essentially a
basis or coordinate transformation. The benefit of this transformation approach is that it does not require re-calculating the
original portfolio risk. The auxiliary risk calculation for the set of alternate instruments will generally be quick, involving
valuation of a handful of plain-vanilla instruments.
We can even take the idea one step further. The process above assumes the same number of new rates as old, but we may
wish to view the partial DV01s with respect to a reduced set of rates. In our example we might wish to remove the 2 year
swap and measure risk w.r.t. the 1, 5, and 10 year par swap yields:
10-year Zero Bond Zero Yield Partial DV01
1 yr Swap 5yr Swap 10yr Swap Total
- 0.065 - 0.606 7.597 6.926

To do this requires building a new curve with a reduced set of market instruments, and then two auxiliary risk calculations - a
set of instruments using the old curve and the same set of instruments using the new curve. Once again, this is computation-
ally inexpensive since the original portfolio does not need to be revalued using the new curve.

Review of Durationand DV01


Duration and DV01 are the foundation for virtually all fixed income risk analysis. The ideas are well-known but it will prove
useful to review the basic concepts. The duration we are concerned with is modified duration, the semi-elasticity, percentage
price sensitivity or logarithmic derivative of price with respect to yield:
1 âV â ln V
Modified or Adjusted Duration = - =- (1)
V â y â y

The name duration originated with Frederick Macaulay (1938) and his definition of duration as the weighted average maturity
of cash flows, using the present value of cash flows as weights:

Macaulay Duration = â t i
n PV i
(2)
i =1 V
Macaulay duration applies to instruments with fixed cash flows (t i is the maturity of cash flow i, PV i is the present value of
cash flow i, and V is the sum of all PVs). Macaulay duration is a measure of time or maturity (hence the name “ duration”),
and is measured in years. This is in contrast to modified duration, which is a rate of change of price w.r.t. yield and is mea-
sured as percent per unit change in yield.
The shared use of the term “ duration”for both a maturity measure and a price sensitivity measure causes endless confusion
but is deeply embedded in the finance profession. The shared use of the term arises because Macaulay duration and modi-
fied duration have the same numerical value when yield-to-maturity is expressed continuously-compounded. For a flat yield-
to-maturity and continuously-compounded rates the sum of present values is:

V = â PV i = â CF i × e
n n
- ti × y

i =1 i =1

Taking the logarithmic derivative w.r.t. y gives:


4 risktransform1_4.nb

- ti × y
1 âV CF i × e
= â ti
n
ModD = -
V â y i =1 V
CF i × e - ti × y PV i
But note that the term is just so that this is also the formula for Macaulay duration, and so modified duration
V V
and Macaulay duration have the same numerical value.
In the more common situation where rates are quoted periodically-compounded, then the sum of present values will be:

V = â PV i = â
n n CF i

i =1 i =1 H 1 + y  k L k × ti

where k is the compounding frequency (e.g. 1 for annual, 2 for semi-annual). Taking the logarithmic derivative in this case
gives:
1 âV
= â ti
n 1 CF i 1

V H 1 + y  k L k × ti H 1 + y  k L
ModD = -
V â y i =1

This can be written as

ModD = â t i
n PV i 1

i =1 V H1 + y  kL

which gives the oft-quoted relation:


MacD

H1 + y  kL
ModD = (3)

It is vitally important to remember, however, that this expresses a relationship between the values of modified and Macaulay
duration (for fixed cash flow instruments such as bonds) but that the two measures are conceptually distinct in spite of
sharing the name. Macaulay duration is a measure of time, denoted in years. Modified duration is a rate of change, percent-
age change in price per unit change in yield. Macaulay duration is limited in application to instruments with fixed cash flows
(such as standard bonds) while modified duration can be applied to more general fixed-income instruments such as options.
When we turn to DV01 we calculate the dollar (rather than percentage) change in price with respect to yield:
âV
DV01 = - (4)
â y

DV01 is also called dollar duration, BPV (basis point value), Risk (on the Bloomberg system), or PV01 (present value of an 01,
although PV01 more accurately refers to the value of a one dollar or one basis point annuity). The relation between DV01 and
modified duration is:
DV01 ModD × V
ModD = 100 × DV01 = (5)
V 100
The issue of units for measuring DV01 can be a little confusing. For notional bonds such as we are considering here, the
DV01 is usually measured as dollars per 100bp change in yields (for $100 notional bond). This gives a value for DV01 of the
same magnitude as the duration - on the order of $8 for a 10 year bond. This is convenient for notional bonds, but for actual
portfolios the DV01 is more often measured as dollars per 1bp change in yields (thus the term dollar value of an 01 or 1bp).
For $1mn notional of a 10 year bond this will give a DV01 on the order of $800.
The concepts of duration and DV01 become more concrete if we focus on specific examples. Consider a two year and a ten
year bond, together with two and ten year annuities and zero bonds. Table 1 shows these bonds, together with assumed
prices and yields.
Table 1 - DV01 and Durations For Selected Swaps, Annuities, and Zero-Coupon Bonds
risktransform1_4.nb 5

Instrument Coupon H%L Price Yield H%L DV01 Mod Dur Mac Dur
2yr Bond 2.5 100. 2.5 1.94 1.94 1.96
5yr Bond 3. 100. 3. 4.61 4.61 4.68
10yr Bond 3.5 100. 3.5 8.38 8.38 8.52
2yr Ann 2.5 4.86 2.3 0.06 1.23 1.24
10yr Ann 3.5 29.72 3.22 1.46 4.91 4.98
2yr Zero 0. 95.14 2.51 1.88 1.97 2.
10yr Zero 0. 70.28 3.56 6.9 9.82 10.

DV01 is the dollar change for a $100 notional instrument per 100bp change in yield. Modified duration is the percent change per 100bp
change in yield. Macaulay duration is the weighted average time to maturity, in years.

The DV01 is the change in price per change in yield. It can be calculated (to a good approximation) by bumping yield up and
down and taking the difference; i.e. calculating a numerical derivative. For example the ten year bond has a yield-to-maturity
of 3.50% and is priced at 100. At 10bp higher and lower the yields are 3.6% and 3.4% and the prices are 99.1664 and 100.8417.
The DV01 is approximately:
100.8417 - 99.1664
DV01 10 yr bond = = 8.38
3.6 - 3.4
The modified duration can be calculated from the DV01 using the relation in (5). The Macaulay duration can then be calcu-
lated using the relation (3) or the original definition (2). For the table above, and in most practical applications, it proves
easier to calculate a numerical derivative approximations to either DV01 or modified duration (1 or 4) and then use the
relations (3) and (5) to derive the other measures.
As pointed out, the DV01 measures sensitivity in dollar terms, the modified duration in percentage terms. Another way to
think of the distinction is that DV01 measures the risk per unit notional while the duration measures risk per $100 invested.
Comparing the 10 year bond and the 10 year annuity in table 1 help illustrate the distinction. The 10 year bond is $100
notional and also $100 present value ($100 invested). The DV01 and the modified duration are the same for both. The 10 year
annuity is $100 notional but only $29.72 invested. The risk per unit notional (per $100 notional as displayed in table 1) is $1.46
for a 100bp change in yield. The risk per $100 invested is $4.91, just the $1.46 “ grossed up”from $29.72 to $100.
Table 1 shows the Macaulay duration of the zero bonds are equal to maturity, as should be. The modified durations are
slightly lower (dividing by one plus yield as per above), and the DV01s lower still (multiplying by the zero prices, which are
below 100). For the coupon bonds the Macaulay duration is less than maturity, reflecting the coupons that are paid prior to
maturity.
A good way to visualize the Macaulay duration is to imagine PVs of cash flows as weights placed on a balance-beam. Figure 1
shows the Macaulay duration for the two year annuity. The cash flows are $1.25 each half-year, and the circles represent the
PVs, which gradually decline further out. The fulcrum of the balance beam is just slightly less than the mid-point (1.24 years).
If we drew the diagram for the two year bond there would be a much large cash flow (the $100 principal) at year 2 and this is
what pushes the Macaulay duration (the fulcrum on the balance beam) out to 1.96 years for the two year coupon bond.
Figure 1 - Macaulay Duration for Two Year Annuity

PV 1.236 1.222 1.209 1.195

1.24

Time 0.5 1. 1.5 2.

This shows the Macaulay duration as the fulcrum or balance point on a balance beam, with weights representing the present value of cash
flows. “ PV” is the present value of the cash flow. “ Time” is the maturity of the cash flow. The Macaulay Duration is shown at the fulcrum. In
the .cdf/.nbp Player version the table is interactive and the reader can choose which security is displayed. See references for link to
interactive version.
6 risktransform1_4.nb

This shows the Macaulay duration as the fulcrum or balance point on a balance beam, with weights representing the present value of cash
flows. “ PV” is the present value of the cash flow. “ Time” is the maturity of the cash flow. The Macaulay Duration is shown at the fulcrum. In
the .cdf/.nbp Player version the table is interactive and the reader can choose which security is displayed. See references for link to
interactive version.

The equality (or near-equality) in the values of modified and Macaulay duration can be a valuable aid to intuition. Macaulay
duration will always be less than the maximum maturity (equal only for a single cash flow, i.e. a zero-coupon bond, as seen in
table 1 and the definition in equation 2). This means we can often make a rough guess at the Macaulay duration and from
that infer a rough value for the modified duration. For example a ten year bond will have Macaulay duration somewhat but
not dramatically less than 10 years, and so the modified duration will be somewhat less than 10%. In table 1 we can see that
the ten year bond has a Macaulay duration of 8.5 years and a modified duration of 8.4%.
Macaulay duration is useful as an aide for intuition but in measuring price sensitivity we must use either modified duration or
DV01. In many cases one can use either, converting between them using equation (5) depending on the needs of the prob-
lem. Generally, managers of real-money long-only portfolios use modified duration while managers of trading and deriva-
tives portfolios tend to use DV01. Modified duration is well-suited for long-only portfolios, where risk and return can be
measured as a percent of portfolio value, while DV01 is more suited to portfolios where the present value of the portfolio
may be zero and measuring risk in dollar or absolute terms is more convenient.
In using duration we must be careful with a few points. First, we must keep straight the distinction between Macaulay
duration (a measure of maturity) and modified duration (a measure of price sensitivity). Second, we must remember that
(modified) duration tells us the price sensitivity to a change in rates, but does not tell us what rates we are sensitive to, in
spite of the term “ duration”. Consider the ten year annuity, which has a Macaulay and modified duration of roughly 5. The
duration of 5 does not mean the annuity is sensitive to five year rates or reacts in the same way as a five year bond. Think
back to the fulcrum view from figure 1 - for the annuity the fulcrum is in the middle and the cash flows at the far end depend
on longer-dated rates. For the ten year annuity the fulcrum sits at roughly 5 years but there are cash flows extending out to
ten years so the ten year annuity will have sensitivity out to ten years.
As a personal matter I usually use DV01 rather than duration. I prefer to sidestep the confusion between the different
meanings of the term “ duration” and find the concept of DV01 cleaner and simpler. Having stated my preference, it is a
personal preference and DV01 or modified duration can usually be used interchangeably. Throughout the rest of this paper,
however, I will use DV01 rather than duration.

Yield and Forward Curves


The discussion above treated DV01 as a function of yield-to-maturity, essentially treating each bond or instrument on its
own, having its own yield. In many situations we will in contrast consider a set of bonds or instruments together, all valued
off a common market-based yield curve. For example a collection of swaps will be valued off a yield curve derived for a
small set of on-the-run or active instruments (swaps, futures, libor deposits). The value of the swaps is the discounted value
of future cash flows, discounting off the yield curve. Discounting cash flows off a yield curve or forward curve forms the
foundation for all trading of fixed income instruments.
When a collection of bonds or other fixed-income instruments is valued off a common yield curve, the idea of DV01 or
duration extends naturally to partial DV01s or key rate durations. Such partial DV01s are widely used on trading desks and
risk management groups. Before turning to partial DV01s, however, it is useful to briefly review the idea of yield or forward
curves. (Coleman 1998 discusses forward curves in more detail.)
Forward, Zero, and Discount Curves
The most constructive way to think of a yield curve is as a function that provides the discount factor for any day - for our the
bonds discussed above we would want the discount factor for any date from today out to 10 years in the future. It is particu-
larly convenient to work with the forward curve f(t), where t is the maturity measured in years from today and f(.) is the
instantaneous forward rate. Alternatively we could work the zero-coupon yield curve z(t), or discount curve d(t), but the
three are related and so the choice becomes one of convenience. When we express rates continuously-compounded, the
relations between the forward, zero, and discount curve are:
Ù0 f HuL â u
t

zHt L =
t

d H t L = exp@ -z H t L × t D = expB -à f HuL â uF .


t

0
risktransform1_4.nb 7

In what follows I will often use the terms forward curve, yield curve, and zero curve interchangeably; since we can always
translate between the forward, zero, and discount functions this casual terminology should be acceptable.
In general we want to be able to get the discount factor for any date; i.e. we want f(t) for any and all t. Market data (such as in

assume some parametric (but flexible) functional form, depending on parameters or variables H v 1 º v k L , for the
table 2 below) never provide enough data to directly determine the discount factor for every day. Instead we generally

zero curve will be a function of the variables: H v 1 º v k L .


forward curve. We then choose the parameters so that the curve prices the market data correctly. This means the forward /

Example of Forward Curve


An example helps to explain and clarify how a yield curve is constructed and used. Say that the following swaps are PV zero
in the market, and we decide to use these as our market data:
Table 2 - Hypothetical Market (Zero-PV) Swaps

Maturity HyrsL Fixed Rate H%L


1 2
2 2.5
5 3
10 3.5
USD Swaps

In other words these are the current-market par swap rates. We can now build a forward or yield curve that is consistent
with these par swap rates, and which we can use to value these and other swaps.
As an example of a functional form we can assume that instantaneous forward rates are constant between instrument

H v 1 º v k L are the forward rates between knot points. (This is, in fact, a practical and useful forward curve often used by
maturity points (break points or knot points) and that the forward rates jump at maturity points. In this case the variables

market practitioners, but it is only one among many.) Functionally, this is a piece-wise constant function:
f1 0 £ t && t < 1
f2 1 £ t && t < 2
f3 2 £ t && t < 5
f4 5 £ t && t < 10
0 True

If we choose the forward rates to match the market data given in table 2, we get:
0.0199 0 £ t && t <1
0.0299 1 £ t && t <2
0.0333 2 £ t && t <5
0.0406 5 £ t && t < 10
0 True

and graphically the forward function is a step function:


Figure 2 - Piece-Wise Constant Forward Curve
8 risktransform1_4.nb

Instantaneous Rates
0.04

0.03

0.02

0.01

Maturity H yrs L
2 4 6 8 10
Solid are Zero Rates , Dashed are Forward Rates

These instantaneous forward rates are chosen so that the market instruments are priced correctly. We can now use this
forward curve to price arbitrary cash flows to obtain market-based prices of other instruments, prices that are consistent
with the instruments shown in table 2.
In practice swap curves are usually built with a variety of different instruments, including libor deposits, libor futures, and
par swaps. For expository purposes it will be useful to consider a curve built with both spot and forward instruments, and
thus we will build our curve with the following instruments:
Table 3 - Market Instrument Used for Building Sample Curve

Instrument Forward Start Underlier HyrsL Coupon Rate H%L Fwd Rate HccL
1 yr Swap 0 1 2. 0.0199
1 y2y Fwd 1 1 3.014 0.0299
5yr Swap 0 5 3. 0.0333
10yr Swap 0 10 3.5 0.0406

(These instruments produce the values for the forward curve variables, the instantaneous forward rates, shown above in
figure 2.) A realistic forward curve would be built using many more instruments, on the order of 20, but the curve in figure 2
(using the four instruments in table 3) is simple while serving to illustrate the issues. Furthermore, although we work with a
swap curve throughout the ideas apply to any curve used for valuing future cash flows.
PV of Instruments Off Curve
With this forward curve we can now price the original market instruments (which by construction will have PV zero) plus
other swaps or bonds. Table 4 shows the original PV-zero market swaps, plus a selection of additional swaps, annuities and
zero-coupon instruments (all notional 100).
Table 4 - PV For Selected Swaps, Annuities, Zero-Coupon Bonds, and Forward Swaps

Instrument Forward Start Underlier HyrsL Coupon Rate H%L PV


1 yr Swap 0 1 2. 0.
1 y2y Fwd 1 1 3.014 0.
5yr Swap 0 5 3. 0.
10yr Swap 0 10 3.5 0.
2yr Swap 0 2 2.5 0.
3yr Swap 0 3 2.8 0.06
2yr Ann 0 2 2.5 4.86
10yr Ann 0 10 3.5 29.72
2yr Zero 0 2 0. 95.14
10yr Zero 0 10 0. 70.28

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted.
risktransform1_4.nb 9

PartialDV01s
Partial DV01s, partial durations, or key rate durations are used throughout the finance industry and have a long history. Ho
(1992) introduced the term key rate duration. Reitano covered multifactor yield curve models as early as 1991 (Reitano 1991)
and has revisited the topic in a recent review (Reitano 2008).
When we use a yield curve to value a set of fixed income instruments rather than a single yield-to-maturity for each bond, it
is natural to extend the concept of DV01 from a univariate derivative to a set of partial derivatives. We now turn to these
partial DV01s.
Risk w.r.t. Curve Variables
Once we have a forward curve as a function of the variables H v 1 º v k L it is straight-forward to calculate the partial
derivatives (delta risk or DV01) with respect to these curve variables or parameters. As a practical matter we might do this by
simply bumping the variables up and down and taking a numerical derivative, as we did above for the DV01 with a single

will be functions of the curve variables H v 1 º v k L represented by the vector


yield-to-maturity. Say we have a portfolio consisting of n instruments or positions. The prices or PVs of these instruments

P1 P1H v1 º vk L
Prices = » = »
Pn Pn H v1 º vk L
and the matrix of partial derivatives will be:
¶ P1 ¶ P1
º
¶ v1 ¶ vk

DpDv = partial DV01 w .r .t . curve variables = » ¸ » (6)


¶ Pn ¶ Pn
º
¶ v1 ¶ vk

For the piece-wise forward curve we are using, the curve variables are forward rates and the partial DV01s will be with
respect to forward rates. For the sample market yield curve shown in table 3 the forward rate partial DV01s for selected
instruments will be:
Table 5 - DV01 w.r.t. Curve Variables (Forward Rates) for Selected Instruments
f0y1y f1y2y f2y5y f5y10y Total
1 yr Swap 0.99 0. 0. 0. 0.99
1 y2y Fwd 0. 0.97 0. 0. 0.97
5yr Swap 0.99 0.96 2.72 0. 4.68
10yr Swap 0.99 0.96 2.68 3.87 8.5
2yr Swap 0.99 0.97 0. 0. 1.96
3yr Swap 0.99 0.97 0.94 0. 2.9
2yr Ann 0.04 0.02 0. 0. 0.06
10yr Ann 0.29 0.25 0.57 0.36 1.47
2yr Zero 0.95 0.95 0. 0. 1.9
10yr Zero 0.7 0.7 2.11 3.51 7.03

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Curve variables are continuously-
compounded forward rates. Instruments used in fitting the curve are highlighted.

Risk w.r.t. Curve Inputs


Calculating the risk in table 5, partial DV01s w.r.t. the curve variables, is straight-forward but often we will want risk
expressed in a different form. An alternative and conceptually straight-froward method for calculating DV01s is to bump the
input instruments used in building the curve. In our case the curve is built using 1, 5, and 10 year swaps and the 1-2 year
forward swap. We could bump the inputs, in this case the par swap rates or fixed rates for the swaps. We would bump inputs
one-at-a-time, rebuild the curve each time, revalue the portfolio with each new curve, and thereby calculate numerical
partial derivatives with respect to each input.

that the variables H v 1 º v k L that appear in the forward f(t) or zero curve z(t) may not be financially meaningful. For
There are a variety of reasons we may be interested in risk calculated w.r.t. alternate variables. One important reason may be

example cubic splines are a common choice for functional form, and the variables will not have as simple an interpretation
as the forward rates in the curve used here. Another reason may be that, even if the parameters have some financial interpre-
tation, the units may not be those desired - for our example here the forward rates are quoted as continuously-compounded
whereas in the U.S. market yields are usually quoted semi-annually compounded. In the end the reason may be something as
simple as our boss preferring to see risk quoted in some other manner.
10 risktransform1_4.nb

that the variables H v 1 º v k L that appear in the forward f(t) or zero curve z(t) may not be financially meaningful. For
There are a variety of reasons we may be interested in risk calculated w.r.t. alternate variables. One important reason may be

example cubic splines are a common choice for functional form, and the variables will not have as simple an interpretation
as the forward rates in the curve used here. Another reason may be that, even if the parameters have some financial interpre-
tation, the units may not be those desired - for our example here the forward rates are quoted as continuously-compounded
whereas in the U.S. market yields are usually quoted semi-annually compounded. In the end the reason may be something as
simple as our boss preferring to see risk quoted in some other manner.
Turning to the bumping of curve input, if the k curve input rates are H r 1 º r k L then the matrix of partial derivatives is:
¶ P1 ¶ P1
º
¶ r1 ¶ rk

DpDr = Derivative of prices w .r .t . curve input rates = » ¸ » (7)


¶ Pn ¶ Pn
º
¶ r1 ¶ rk

For our hypothetical market yield curve and the instruments shown in table 3, the risk will be w.r.t. the 1 year par rate, the
1-2 year forward par rate, the 5 year and 10 year par rates. This is shown in table 4.
Table 6 - DV01 w.r.t. Curve Input Rates for Selected Instruments, Calculated by Direct Bumping of Inputs
1 yr Swap 1 y2y Fwd 5yr Swap 10yr Swap Total
1 yr Swap 0.98 0. 0. 0. 0.98
1 y2y Fwd 0. 0.96 0. 0. 0.96
5yr Swap 0. 0. 4.64 0. 4.64
10yr Swap 0. 0. 0. 8.49 8.49
2yr Swap 0.98 0.95 0. 0. 1.94
3yr Swap 0.64 0.62 1.6 0. 2.87
2yr Ann 0.04 0.02 0. 0. 0.06
10yr Ann 0.08 0.05 0.54 0.79 1.46
2yr Zero 0.94 0.94 0. 0. 1.88
10yr Zero - 0.08 - 0.05 - 0.54 7.7 7.03

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted.

The partial DV01s w.r.t. curve inputs shown in table 6 is simply a transformation of the original risk w.r.t. curve variables
shown in table 5. The underlying forward curve changes in exactly the same manner, we just measure the DV01s w.r.t. the
curve inputs rather than the curve parameters. Nor are we restricted to the curve inputs we originally used. We could use
alternate instruments that would be appropriate for building the curve. For example we could substitute the 2 year swap for
the 1-2 year forward and then we would have the risk w.r.t. the par swap instead of the forward swap.
Using Partial DV01s
Partial DV01s are used throughout the finance industry. We can illustrate one way DV01s are used by briefly reviewing how a
swaps trading desk would use them.
There is more to comparing the sensitivity of two bonds than just comparing their total DV01s. The total DV01 or duration
tell us the size of the yield sensitivity, but not where the exposure occurs. Look back at table 1 and note that the 5 year bond
has modified duration 4.6% and the 10 year annuity 4.9%. For $100 invested the sensitivity will be almost the same - $4.6
versus $4.9 (per 100bp change in yields). But just because the 5 year bond and the 10 year annuity have the same total
exposure does not mean they behave the same when the yield curve shifts or twists.
Total DV01 or duration measures sensitivity to each instrument's own yield-to-maturity. For the 5 year bond and the 10 year
annuity the sensitivity to their own yields are roughly the same but we have no way of directly comparing the two yields. In a
sense, when we use total DV01 and yield-to-maturity we treat each bond as living in its own world and we cannot directly
compare the two. (We could examine history and measure the correlation of the yields, but this becomes impractical as the
number of bonds and yields grows. Partial DV01s and a yield curve provides a common framework for multiple bonds with a
limited number of rates. If we want we can of course use the DV01s in combination with historical data, say in a value-at-risk
framework.)
Valuing bonds from a common yield curve and calculating partial DV01s provides a way of comparing exposures for differ-
ent bonds directly. With partial DV01s we measure the sensitivity of each instrument to a common set of yields or rates
rather than to separate yields and so we can directly compare sensitivities across instruments. Look back at table 6 and note
that both the 5 year swap and the 10 year annuity have risk with respect to the input rates, and we can directly compare
them.1 From table 6 we can also see that the risk across the curve are very different for the 5 year bond/swap and the
annuity.
risktransform1_4.nb 11
Valuing bonds from a common yield curve and calculating partial DV01s provides a way of comparing exposures for differ-
ent bonds directly. With partial DV01s we measure the sensitivity of each instrument to a common set of yields or rates
rather than to separate yields and so we can directly compare sensitivities across instruments. Look back at table 6 and note
that both the 5 year swap and the 10 year annuity have risk with respect to the input rates, and we can directly compare
them.1 From table 6 we can also see that the risk across the curve are very different for the 5 year bond/swap and the
annuity.
To understand partial DV01s we can examine how a swaps trader might use table 6. As part of managing a swaps portfolio a
trader will put on and take off hedges to adjust risk as new deals come along or old deals unwind. Let us continue with the 10
year annuity and say that our hypothetical trader is going to take on a new position of $100 notional (roughly $30 up-front) in
a 10 year annuity. The trader will not want to build up a large exposure to interest rates, or at the least will need to measure
the exposure taken on. Table 6 (or table 1) tells us that the total exposure is $1.46. (This is the DV01 for $100, measured per
100bp change in yields. If we were working with an actual position, say $1mn, then the DV01 would more commonly be
measured per 1bp and would be $146.) This $1.46 exposure could be hedged with roughly $31 notional of the 5 year bond
(1.46 / 4.64 = 0.3147), and this is equivalent to what we got when examining the modified durations just above.
Using the data in table 6, however, we can see that hedging the 10 year annuity with the 5 year bond will leave considerable
curve exposure. More than half the sensitivity for the annuity is to 10 year rates, while the 5 year bond does not depend at all
on 10 year rates. The following table shows the exposure to curve input rates for a position of short $31.47 in the 5 year bond
and long $100 in the annuity. The total risk is zero but there is exposure if 5 year and 10 year rates move in opposite direc-
tions.
Hedging 10 year Annuity with 5 year Bond
Partial DV01 wrt Input Rates

5yr Bond H-$31L


1 yr Swap 1 y2y Fwd 5yr Swap 10yr Swap Total
- 1.46 - 1.46
10yr Ann H$100L
0. 0. 0.
0.08 0.05 0.54 0.79 1.46
Combination 0.08 0.05 - 0.92 0.79 0.

We can, however, use the data in table 6 to produce a hedge strategy that has no risk to the curve rates. First we short the 10
year swap to eliminate the 10 year annuity’s 10 year DV01:
è
Short $9.29 of the 10 year swap (.0929 = 0.7889 / 8.4926)
Then we short the 5 year swap, the 1-to-2 year forward, and the 1 year swap:
è
Short $11.72 of the 5 year swap
è
Short $5.40 of the 1-to-2 year forward swap
è
Short $8.06 of the 1 year swap
This portfolio (long $100 of the 10 year annuity, short $9.29 of the 10 year swap, $11.72 of the 5 year swap, $5.40 of the
forward swap, and $8.06 of the 1 year swap) has zero risk to a change in any of the curve rates. Calculating the hedge
amounts are easy because the DV01s are expressed in terms of the hedge instruments. We could of course calculate the
same hedge using the DV01s from table 5, but we would have to do it by solving the set of linear equations
¶ Swp 1 yr ¶ Swp 10 yr ¶ Ann 10 yr
º Swp 1
¶ f0 - 1 ¶ f0 - 1 yr ¶ f0 - 1

» ¸ » × » = »
¶ Swp 1 yr ¶ Swp 10 yr Swp 10 ¶ Ann 10 yr
º yr
¶ f 5 - 10 ¶ f 5 - 10 ¶ f 5 - 10

0.99 0. 0.99 0.99 1 yr Swap 0.29


0. 0.97 0.96 0.96 . 1 y2y Fwd = 0.25
0. 0. 2.72 2.68 5yr Swap 0.57
0. 0. 0. 3.87 10yr Swap 0.36

(Note that the matrix transposes the data as displayed in table 5.) The risk expressed in table 6 is convenient because the
relevant matrix is diagonal and the solution of the system of linear equations reduces to the solution of single equations.
The DV01s in table 6, expressed w.r.t. curve input rates, are convenient for a swaps trader who is hedging with the curve
inputs. A swaps trader mostly trades par swaps or instruments that are not drastically different (such as the 10 year annuity
we have been considering), so that risk w.r.t. par swaps make sense intuitively. Equally importantly, the hedges are easy to
calculate.
When considering our hypothetical swaps trader it would seem that table 6, DV01s w.r.t. curve inputs, provides everything
we need. But the situation is not so straightforward - there is more to the world than just swaps traders. Consider, instead, an
options book. Options are most sensitive to forward rates and so the risks an options trader faces are mostly forward risk. An
options trader will hedge with combinations of offsetting options, futures, and long/short bond and swap positions that
synthetically replicate forward swaps. For an options book risk w.r.t. forward rates is most convenient and will make the
most sense to the trader. Our curve happens to produce risk w.r.t. forward rates (table 5) but that will not be the case for
other curve types.
12 risktransform1_4.nb
When considering our hypothetical swaps trader it would seem that table 6, DV01s w.r.t. curve inputs, provides everything
we need. But the situation is not so straightforward - there is more to the world than just swaps traders. Consider, instead, an
options book. Options are most sensitive to forward rates and so the risks an options trader faces are mostly forward risk. An
options trader will hedge with combinations of offsetting options, futures, and long/short bond and swap positions that
synthetically replicate forward swaps. For an options book risk w.r.t. forward rates is most convenient and will make the
most sense to the trader. Our curve happens to produce risk w.r.t. forward rates (table 5) but that will not be the case for
other curve types.
Now consider a risk manager or senior manager. They will most often want to view risk w.r.t. par rates or zero rates. Table 6
includes a forward swap (this is a stand-in for the futures that would be in an actual swaps curve) and the risk manager
would want to replace this forward rate with a spot rate.
The bottom line is that the same risk needs to be displayed in a variety of ways, depending on who is using it and what
purpose it is put to. No matter how the risk is originally calculated there will invariably be a necessity to transform to some
other form. If the risk is originally w.r.t. forwards someone will need it w.r.t. pars, someone else w.r.t. a combination of pars
and forwards, and yet someone else w.r.t. zero rates. Finally, there will some need to express the risk w.r.t. fewer rates, to
reduce the number of curve points. The necessity for transforming partial DV01s from one form to another arises naturally
and constantly.

PartialDV01 Transformations
Bumping curve inputs is very useful but requires re-building the yield curve multiple times and re-calculating the risk for the
whole portfolio. In many risk systems it is easy to calculate the derivatives w.r.t. curve parameters but difficult (requiring re-
programming) to calculate derivatives w.r.t. curve inputs. We now turn to an approach that accomplishes the same - risk as if
we re-built and bumped curve inputs - but without the burden of actually re-building the curve and re-valuing the whole
portfolio. The trick is that we can choose a set of alternate curve inputs and calculate the risk of those alternate inputs using
our original curve. We then use the multivariate inverse function theorem to calculate the inverse Jacobian and obtain the
transformation that converts the original partial DV01s into partials w.r.t. the alternate curve inputs. There are two huge
benefits. First, we can infer what the DV01s would be if we rebuilt our curve with the alternate instruments but without
actually having to rebuild our curve or revalue the whole portfolio. Second, we can use any set of alternate instruments as
long as we can calculate the risk for those instruments off our original curve (and as long as the alternate instruments make
sense for rebuilding our original curve).
Partial DV01s w.r.t Alternate Variables
We now describe a straight-forward method to calculate derivatives w.r.t. alternate variables (subject to certain technical
restrictions). The result will be to calculate the risk as if we went through the process of re-building the curve and bumping
w.r.t. inputs as in the previous section, but without the burden of actually re-building the curve multiple times.
Consider k alternate variables H x 1 º x k L . Assume for now that these alternate variables are themselves the yields or
rates we want to use for calculating partial DV01s and that we can calculate these as a function of the forward curve:
x1 x1H v1 º vk L
Alternate variables = » = » (8)
xk xk H v1 º vk L
If we have the same number of variables H x 1 º x k L as curve variables H v 1 º v k L then we can calculate the deriva-
tives of these alternate variables w.r.t. the curve variables and this will be the Jacobian matrix for the function (8):
¶ x1 ¶ x1
º
¶ v1 ¶ vk

DxDv = Jacobian for Curve ® Alternate Variables = » ¸ » (9)


¶ xk ¶ xk
º
¶ v1 ¶ vk

If this Jacobian is non-singular, then the inverse function theorem tells us that there is an inverse function
v1 v1H x1 º xk L
» = »
vk vk H x1 º xk L
and the Jacobian of this function is
risktransform1_4.nb 13

¶ v1 ¶ v1 ¶ x1 ¶ x1 -1
º º
¶ x1 ¶ xk ¶ v1 ¶ vk

Inverse Jacobian = DvDx = » ¸ » = » ¸ » (10)


¶ vk ¶ vk ¶ xk ¶ xk
º º
¶ x1 ¶ xk ¶ v1 ¶ vk

Using the Jacobian of the inverse function we can transform the derivatives w.r.t. curve variables to derivatives w.r.t. the new
variables. Consider the first row of equation 6:
Derivative for P 1 w .r .t . Alternate Variables =
¶ v1 ¶ v1 ¶ x1 ¶ x1 -1
º º
¶ x1 ¶ xk ¶ v1 ¶ vk

J N =J N× =J N×
¶ P1 ¶ P1 ¶ P1 ¶ P1 ¶ P1 ¶ P1
º º » ¸ » º » ¸ »
¶ x1 ¶ xk ¶ v1 ¶ vk ¶ v1 ¶ vk
¶ vk ¶ vk ¶ xk ¶ xk
º º
¶ x1 ¶ xk ¶ v1 ¶ vk

so that the full matrix is:


¶ P1 ¶ P1
º
¶ x1 ¶ xk

DpDx = Partial DV01 w .r .t . Alternate Variables = » ¸ » = DpDv . DvDx


¶ Pn ¶ Pn
º
¶ x1 ¶ xk
(11)
¶ P1 ¶ P1 ¶ x1 ¶ x1 -1
º º
¶ v1 ¶ vk ¶ v1 ¶ vk

= Derivative w .r .t . Curve Variables * Inverse Jacobian = » ¸ » × » ¸ »


¶ Pn ¶ Pn ¶ xk ¶ xk
º º
¶ v1 ¶ vk ¶ v1 ¶ vk

Partial DV01 w.r.t. Yield


If the variables H x 1 º x k L are the yields or rates we want, and our risk system can easily produce the matrix (9), then

yields directly. More often the variables H x 1 º x k L will be price or PV functions for traded instruments. Risk systems are
equation (11) is the transformation matrix we need. Most risk systems, however, will not produce the matrix of partials for

But we usually want to calculate risk w.r.t. yields or rates, H y 1 º y k L , rather than prices of traded instruments.
usually set up to easily calculate risk for traded instruments, so that it is easy to calculate the Jacobian (9) for price functions.

The solution to this is simple. For each instrument we have a function that gives the yield as a function of the price, and
equation (8) is replaced by:
y1 y1H v1 º vk L f1H x1L f1@ x1H v1 º vk L D
» = » = » = » (12)
yk yk H v1 º vk L fk H xk L fk @ xk H v1 º vk L D

Using the uni-variate inverse function theorem we can calculate f i ' as one over the derivative of price w.r.t. yield (the basic
DV01):
-1
â x1
'
fi =
â y1

and by application of the uni-variate inverse function theorem and the chain rule, we can get the inverse Jacobian for these
yield variables:
14 risktransform1_4.nb

K O º K O
-1 ¶ x -1 ¶ x -1
¶ v1 ¶ v1 â x1 1 â x1 1
º
¶ y1 ¶ yk â y1 ¶ v1 â y1 ¶ vk

Inverse Jacobian = DvDy = » ¸ » = » ¸ » (13)

K O º K O
¶ vk ¶ vk â xk -1 ¶ x â xk -1 ¶ x
º k k
¶ y1 ¶ yk â yk ¶ v1 â yk ¶ vk

The transformation (11) now becomes


DpDy = Partial DV01 w .r .t . Alternate Variables H via yield function L =

K O º K O
-1 ¶ x -1 ¶ x -1
¶ P1 ¶ P1 ¶ P1 ¶ P1 â x1 1 â x1 1
º º
¶ y1 ¶ yk ¶ v1 ¶ vk â y1 ¶ v1 â y1 ¶ vk
(14)
DpDv . DvDy = » ¸ » = » ¸ » × » ¸ »

K O º K O
¶ Pn ¶ Pn ¶ Pn ¶ Pn â xk -1 ¶ x â xk -1 ¶ x
º º k k
¶ y1 ¶ yk ¶ v1 ¶ vk â yk ¶ v1 â yk ¶ vk

The whole idea here is that it is generally easy to calculate the Jacobian (9) for price functions. As long as the alternate
variables we wish to use are yields for traded instruments we have a simple multi-step process
1. Choose a set of traded instruments H x 1 º x k L that match the curve variables H v 1 º v k L in terms of maturity or

2. Calculate the risk of these instruments w.r.t. curve variables H v 1 º v k L , giving the price Jacobian (9)
other characteristics so that the Jacobian will be well-behaved

3. Using the uni-variate yield functions (12) calculate the inverse Jacobian (13)
4. Transform the risk of an arbitrary set of instruments or portfolios using the inverse Jacobian according to (14)
The calculation in step (2) requires evaluating the risk of a small set of traded instruments, and this (and the additional
calculations) will usually be quick and cheap relative to evaluating the risk of the whole portfolio. The transformation matrix

H v 1 º v k L to alternate yields H y 1 º y k L . Naturally, the same process applies if the original risk is reported w.r.t.
(13) (or 11) can then be applied to the original portfolio risk, transforming the partial DV01s from curve variables

curve input rates H r 1 º r k L .

Example of Transformation to Input Variables


As an example let us take the variables H x 1 º x k L in equation (8) to be the par rates on the curve input instruments. In
other words the alternate variables H x 1 º x k L will be the vector of rates on the swaps shown in table 2, reproduced here:

Instrument Forward Start Underlier HyrsL Coupon Rate H%L


1 yr Swap 0 1 2.
1 y2y Fwd 1 1 3.014
5yr Swap 0 5 3.
10yr Swap 0 10 3.5

Further, let us say that our risk system can easily calculate the derivatives of these rates w.r.t. the curve variables. In this case

inputs, shown in table 6. In this case the Jacobian for the alternate variables H x 1 º x k L is
we can apply equation (11) directly. This is an exercise only, since we should end up with the same risk as bumping the curve

Table 7 - Jacobian for Curve Input Rates (Equation 9)


1.01 0. 0. 0.
0. 1.015 0. 0.
0.214 0.208 0.587 0.
0.117 0.113 0.315 0.456

Applying the transformation shown in equation (11) to the derivatives (DV01s) w.r.t. curve variables shown in table 5 gives
the risk shown in table 8, which is the same answer as we obtain by bumping the curve itself, shown in table 6.
Table 8 - DV01 w.r.t. Curve Input Rates for Selected Instruments, Transformed via Equation 11
risktransform1_4.nb 15

disprisk@portDV01full, xlist, inpInverseJacobian, inpNamesD

1 yr Swap 1 y2y Fwd 5yr Swap 10yr Swap Total


1 yr Swap 0.98 0. 0. 0. 0.98
1 y2y Fwd 0. 0.96 0. 0. 0.96
5yr Swap 0. 0. 4.64 0. 4.64
10yr Swap 0. 0. 0. 8.49 8.49
2yr Swap 0.98 0.95 0. 0. 1.94
3yr Swap 0.64 0.62 1.6 0. 2.87
2yr Ann 0.04 0.02 0. 0. 0.06
10yr Ann 0.08 0.05 0.54 0.79 1.46
2yr Zero 0.94 0.94 0. 0. 1.88
10yr Zero - 0.08 - 0.05 - 0.54 7.7 7.03

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted. Transformed via equation (11)

Example of Transformation to Par Rate Partial DV01

spot and forward swaps shown in tables 5 and 6. In other words we take the variables H x 1 º x k L in equation (8) to be the
Now let us turn to a more substantive example, where we wish to measure DV01s w.r.t. par swap rates instead of the mix of

par swap rates on 1, 2, 5, and 10 year swaps:


Maturity HyrsL Fixed Rate H%L
1 2
2 2.5
5 3
10 3.5

Again, let use assume that our risk system can easily calculate the derivatives of the rates themselves w.r.t. the curve variables
so that we can apply equation (11) directly. The Jacobian for these rates is:
Table 9 - Jacobian for Par Swap Rates (Equation 9)
1.01 0. 0. 0.
0.511 0.499 0. 0.
0.214 0.208 0.587 0.
0.117 0.113 0.315 0.456

Applying the transformation shown in equation (11) to the derivatives (DV01s) w.r.t. curve variables shown in table 5 gives
the risk shown in table 9. Risk expressed in this form may be more intuitive than that shown in table 6. Here a 2 year swap is
sensitive to only the 2 year swap, while a 3 year swap is sensitive to both the 2 year swap rate and the 5 year swap rate.
Table 10 - DV01 w.r.t. Par Swap Rates for Selected Instruments, Transformed via Equation 11
1 yr Swap 2yr Swap 5yr Swap 10yr Swap Total
1 yr Swap 0.98 0. 0. 0. 0.98
1 y2y Fwd - 0.99 1.95 0. 0. 0.96
5yr Swap 0. 0. 4.64 0. 4.64
10yr Swap 0. 0. 0. 8.49 8.49
2yr Swap 0. 1.94 0. 0. 1.94
3yr Swap 0. 1.27 1.6 0. 2.87
2yr Ann 0.02 0.04 0. 0. 0.06
10yr Ann 0.03 0.11 0.54 0.79 1.46
2yr Zero - 0.02 1.91 0. 0. 1.88
10yr Zero - 0.03 - 0.11 - 0.54 7.7 7.03
16 risktransform1_4.nb

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted. Transformed via equation (11)

Transformation w.r.t. Yields vs. Par Rates


There is a subtle issue concerning DV01 w.r.t. yields versus DV01 w.r.t. par rates as shown in tables 8 and 10. For a bond the
price is
Price = coupon * PV H $1 annuity L + 100 * PV H $1 at maturity L

with the PVs calculated from the forward curve. The par coupon or par rate is the coupon that makes the price equal to par
(100):
100 - PV H $100 at maturity L

PV H $1 annuity L
par coupon = r = (15)

The yield-to-maturity is the solution to:

Price = â
n coupon 100

H1 + yL n
+
i =1 H1 + yL i

(ignoring for now complications related to partial periods, compounding frequency, etc.). The yield on a par bond
(Price=100) will equal the par coupon.
In building a swap curve we will use par swaps and we will often measure risk w.r.t. the par swap rates. That is what we did in
tables 7 and 9 above. But we can also think of the “ yield”of a swap - more precisely the yield of a bond with the same fixed
coupons and a final repayment of principal. The par yield will be the same as the par coupon (by definition) but the risk w.r.t.
the par yield will not be quite the same as the risk w.r.t. the par coupon. The reason is that the derivative of the coupon and
yield w.r.t. curve variables are different:
¶ par coupon ¶ par yield
¹
¶ vi ¶ vi
except for a flat yield curve. The difference arises because the yield calculation assumes a flat yield curve, while the par
coupon calculation in equation (15) uses the forward curve.
We can see the differences for our sample curve by comparing the Jacobians (9) for the par rates and par yields. Table 9,
repeated here, shows the derivatives of par swap rates w.r.t. curve parameters. Table 11 shows the derivatives of yields. For
the 1 year swap the derivative of the par rate and the par yield are the same since the curve is flat between 0 and 1 years. The
derivatives differ for the longer maturity swaps.
Table 9 (repeated) - Jacobian for Par Swap Rates (Equation 9)
f0y1y f1y2y f2y5y f5y10y
1 yr Swap 1.01 0. 0. 0.
2yr Swap 0.511 0.499 0. 0.
5yr Swap 0.214 0.208 0.587 0.
10yr Swap 0.117 0.113 0.315 0.456

Table 11 - Jacobian for Par Swap Yields


f0y1y f1y2y f2y5y f5y10y
1 yr Swap 1.01 0. 0. 0.
2yr Swap 0.513 0.5 0. 0.
5yr Swap 0.215 0.209 0.591 0.
10yr Swap 0.118 0.114 0.32 0.462

This difference in derivatives gives a slight difference in transformed risk. The following table shows the original risk trans-
formed to risk w.r.t. yields, and we can see that there are slight differences from the risk reported in table 10.
Table 12 - DV01 w.r.t. Par Swap Yields for Selected Instruments, Transformed via Equation 14
risktransform1_4.nb 17

1 yr Swap 2yr Swap 5yr Swap 10yr Swap Total


1 yr Swap 0.98 0. 0. 0. 0.98
1 y2y Fwd - 0.99 1.95 0. 0. 0.96
5yr Swap 0. 0. 4.61 0. 4.61
10yr Swap 0. 0. 0. 8.38 8.38
2yr Swap 0. 1.94 0. 0. 1.94
3yr Swap 0. 1.27 1.59 0. 2.86
2yr Ann 0.02 0.04 0. 0. 0.06
10yr Ann 0.03 0.11 0.54 0.78 1.45
2yr Zero - 0.02 1.9 0. 0. 1.88
10yr Zero - 0.03 - 0.11 - 0.54 7.6 6.93

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted. The risk here is w.r.t. yields on par bonds instead of par coupons. Transformed via equation (14)

If we wish to calculate the risk w.r.t. par rates rather than yields we can employ equation (15) to get the derivative of the par
coupon from price derivatives of instruments:
¶ PV H $100 at maturity L ¶ PV H $1 annuity L
F “ PV H $1 annuity L
¶ par coupon
= -B +r ×
¶ vi ¶ vi ¶ vi

Example of Partial DV01 w.r.t. Zero Yields


Now consider an example where our risk system cannot directly calculate the derivative of the rate or yield. Say that we want
to calculate the risk w.r.t. yields for the following zero-coupon bonds:
Maturity HyrsL PV Yield H%L Yld DV01
1 98.03 2. 0.97
2 95.14 2.51 1.88
5 86.09 3.02 4.24
10 70.28 3.56 6.9

Our risk system, however, can only calculate the derivatives of bond prices w.r.t. curve variables. The following table shows
the derivative of prices w.r.t. curve variables (continuously-compounded forward rates):
Table 13 - Derivative of price w.r.t. Curve Variables (Forward Rates)
0.98 0. 0. 0.
0.951 0.951 0. 0.
0.86 0.86 2.583 0.
0.702 0.702 2.109 3.513

We can use the yield DV01 K O shown above to get the inverse Jacobian of the zero yield, equation (13), shown in the
âP
ây
following table:
Table 14 - Jacobian for Zero Coupon Yields
1.01 0. 0. 0.
0.506 0.506 0. 0.
0.203 0.203 0.609 0.
0.102 0.102 0.305 0.509

We can then use this to transform the original partial DV01s w.r.t. forward rates shown in table 4 to DV01s w.r.t. zero-
coupon yields according to equation (14):
Table 15 - DV01 w.r.t. Zero-Coupon Yields for Selected Instruments, Transformed via Equation 14
18 risktransform1_4.nb

1 yr Zero 2yr Zero 5yr Zero 10yr Zero Total


1 yr Swap 0.98 0. 0. 0. 0.98
1 y2y Fwd - 0.96 1.92 0. 0. 0.96
5yr Swap 0.03 0.11 4.47 0. 4.61
10yr Swap 0.03 0.13 0.58 7.61 8.35
2yr Swap 0.02 1.91 0. 0. 1.94
3yr Swap 0.03 1.29 1.54 0. 2.86
2yr Ann 0.02 0.04 0. 0. 0.06
10yr Ann 0.03 0.13 0.58 0.71 1.45
2yr Zero 0. 1.88 0. 0. 1.88
10yr Zero 0. 0. 0. 6.9 6.9

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted. Transformed via equation (14).

Total DV01 w.r.t. Different Rates


The partial DV01s can be summed to give a total DV01, and this is displayed in the tables above. This total DV01 is the
sensitivity to a “ parallel shift”in all the underlying rates. Examination of the tables shows, however, that the total DV01 differs
for different sets of rates. For example, the total DV01 for the 10 year zero bond in table 15 (shift in all zero yields) is 6.91
while in table 12 (shift in all par yields) it is 6.93. For example, the total DV01 for the 10 year par swap in table 5 (shift in cc
forwards) is 8.49 while in table 12 (shift in all par yields) it is 8.38.
The fact is that a parallel shift in one set of rates is not always parallel in another set of rates. It will be the same when the
yield curve is flat and all rates use the same compounding, or if we work with zero and forward rates in the same compound-
ing basis. When we work with a sloped curve and par rates or yields (i.e. instruments with intermediate coupons) a parallel
shift in one set of rates will not be parallel in another. This is easiest to see using a simple example with forward rates and
yields on par bonds. Say the 0-5 year forward rate is flat at 10.00%sab or 9.7580%cc. If rates are not in the same basis then a
â ys yc  2
1bp change in the continuously-compounded forward translates into a 1.05bp change in the sab par rate (since =e ),
â yc
not a 1bp change in the par rate. When the forward rate is quoted semi-annual bond (rate of 2%) then a 1bp sab change in
the forward does translate into a 1bp sab change in the par. But this will not carry out to longer maturities unless the curve is
flat. If the 5-10 year forward is 20% sab (the 10 year par 13.2819%sab) then a 1bp sab change in the forwards (10% and 20% to
10.01% and 20.01%) translate into a 0.95bp change in the 10 year par yield (from 13.2819% to 13.2914%). In other words, a 1bp
"parallel" shift in sab forwards translates into a non-parallel shift in sab pars:
0 - 5 yr fwd 1 bp 5 yr par 1 bp
D = šD =
5 - 10 yr fwd 1 bp 10 yr par 0.95 bp

Fortunately the Jacobian and inverse Jacobian contain the information on how yields shift and the translation from one
“ parallel shift” to another. Say we are transforming from the original cc forward rates, H v 1 º v k L , to par yields,
H y 1 º y k L . Taking the Jacobian and post-multiplying by a column vector of ones gives the change in { y i } corresponding
to a parallel shift (one unit) in all the {v i }:
¶ y1 ¶ y1
º
¶ v1 ¶ vk 1
Change in 8 y i < due to parallel shift in 8 v i < = » ¸ » × »
¶ yk ¶ yk 1
º
¶ v1 ¶ vk

while starting with the inverse Jacobian and post-multiplying gives the change in {v i } corresponding to a parallel shift (one
unit) in all the { y i }:
risktransform1_4.nb 19

¶ v1 ¶ v1
º
¶ y1 ¶ yk 1
Change in 8 v i < due to parallel shift in 8 y i < = » ¸ » × »
¶ vk ¶ vk 1
º
¶ y1 ¶ yk

Consider again table 12. The original variables H v 1 º v k L are forward rates continuously-compounded while the alter-
nate yields H y 1 º y k L are par yield semi-annually compounded. The change in the par yields due to a parallel shift in
forwards and vice-versa are:
1 yr Par 2yr Par 5y Par 10yr Par
Change in sab par yields 1.01 1.0124 1.0145 1.0145
from parallel shift in cc fwds
0y1y fwd 1 y2y fwd 2y5y fwd 5y10y fwd
Change in fwds from 0.9901 0.9853 0.9843 0.9857
parallel shift in pars

The top panel shows that a “ parallel shift” of 1bp in all forwards (continuously-compounded) implies a greater-than-1bp
shift in par yields, with larger shifts at the longer end. These data also show that, because a “ parallel shift”in one set of rates
is not parallel in another, unless we restrict ourselves to zeros and forwards in the same compounding basis, there is no
simple way to transform the “ total DV01”from one set of rates to another - we must use the transformation of equation (11)
or (14).

Choice of Appropriate Alternate Variables


The transformation technique is quite powerful, but we have to careful in choosing the alternate instruments and rates used
in the transformation. There are some obvious restrictions on choosing alternative instruments, restrictions required to
ensure the transformation works mathematically. Even when these conditions are satisfied, however, choosing rates that do
not match the original curve can give odd results. We have to remember that the transformation approach tells us what the
risk would be if we re-built and bumped our original curve with our alternate instruments. If we choose instruments that are
not appropriate to our original curve we will get what appear to be odd results for the risk. The transformation approach
does not involve building a new curve - it is only a transformation of the original partial derivatives w.r.t. the original vari-
ables.

invertible. There must be the same number of original variables H v 1 º v k L and new yields H y 1 º y k L . In addition the
First the obvious conditions. The transformation is effectively a coordinate transformation. The relation (13) or (12) must be

Jacobian must be invertible, in other words the matrix in equation 9 must have non-zero determinant. These conditions
ensure that the transformation works mathematically.
Even when the transformation works mathematically, however, it may not be well-behaved or make intuitive sense. The new
variables should match the original forward curve in the sense that they would be appropriate for building the original curve.
For the examples discussed so far the set of alternate instruments have had the same maturities as the original input instru-
ments (1, 2, 5, and 10 years) ensuring that they match the original curve. In these cases the transformation has worked well
and the old and new partial DV01s measure the same risk from a different perspective. We will next turn to an example
where the new variables do not match the original curve, and the transformed risk looks peculiar.
Example of Transformation using Unsuitable Alternate Variables
The forward curve used in the examples is shown in figure 2 above and is built with breaks at 1, 2, 5, and 10 years and for-
ward rates from 0-1, 1-2, 2-5, and 5-10 years. This curve is consistent with instrument maturities at 1, 2, 5, and 10 years. Let
us consider what would happen if, instead of using a 2 year swap we substituted a 3 year swap. We could build our original
curve using the 3 year swap, but it is not really appropriate for a curve with a break at 2 and 5 years (and not at 3 years).
The original curve produces risk that is reasonable, reasonable in the sense that instruments are not sensitive to long-
maturity rates when short-maturity rates are unchanged. Let us focus for now on 2 and 5 years. It is obvious that none of the
1 year swap, 1-2 year forward swap, 2 year swap, 2 year annuity, or 2 year zero should have sensitivity to the 2-5 year forward
rate, and looking back at table 5 verifies this. More importantly, transformations using instruments with maturity at 2 and 5
years have the same property. Looking at tables 7, 9, and 14 we see that these short-dated instruments have no sensitivity to 5
year rates, as long as the 1 and 2 year rates are held constant. The 3 year swap, of course, does have sensitivity to 5 year rates,
holding the 2 year rate fixed.
The original curve produces risk that is reasonable, reasonable in the sense that instruments are not sensitive to long-
maturity rates when short-maturity rates are unchanged. Let us focus for now on 2 and 5 years. It is obvious that none of the
1 year
20 swap, 1-2 year forward swap, 2 year swap, 2 year annuity, or 2 year zero should have sensitivity to the 2-5 year forward
risktransform1_4.nb
rate, and looking back at table 5 verifies this. More importantly, transformations using instruments with maturity at 2 and 5
years have the same property. Looking at tables 7, 9, and 14 we see that these short-dated instruments have no sensitivity to 5
year rates, as long as the 1 and 2 year rates are held constant. The 3 year swap, of course, does have sensitivity to 5 year rates,
holding the 2 year rate fixed.
Consider now what would happen if we built our original curve (or transformed) using 3 and 5 year rates instead of 2 and 5
year rates. The curve is still built with 1-2 and 2-5 year forwards - our transformation approach does not involve building a
new curve. Shifting the 5 year rate shifts the 2-5 year forward. When we transformed using a 2 year instrument the 1-2 year
forward did not change since the 2 year instrument did not change. Using a 3 year instead of a 2 year rate, however, requires
shifting the 1-2 year forward to keep the 3 year rate unchanged. As a result a 2 year instrument will now have risk w.r.t. 5 year
rates even when the 3 year rate is kept fixed.
Table 16 shows the result of transforming a 1, 2, 5, 10 year curve using 1, 3, 5, and 10 year rates. Instruments with 2 year
maturity now have risk w.r.t. 5 year rates, even when the 3 year rate is fixed. This is peculiar but it is correct - it is the result of
trying to transform 2 year risk into 3 year risk rather than building a new curve with a 3 year instrument.
Table 16 - DV01 w.r.t. 1, 3, 5, 10 year Swap Rates for Selected Instruments, Transformed via Equation 11
1 yr Swap 3yr Swap 5yr Swap 10yr Swap Total
1 yr Swap 0.98 0. 0. 0. 0.98
1 y2y Fwd - 0.99 4.41 - 2.45 0. 0.96
5yr Swap 0. 0. 4.64 0. 4.64
10yr Swap 0. 0. 0. 8.49 8.49
2yr Swap 0. 4.39 - 2.45 0. 1.94
3yr Swap 0. 2.87 0. 0. 2.87
2yr Ann 0.02 0.08 - 0.05 0. 0.06
10yr Ann 0.03 0.24 0.41 0.79 1.46
2yr Zero - 0.03 4.31 - 2.4 0. 1.88
10yr Zero - 0.03 - 0.24 - 0.41 7.7 7.03

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted. Transformed via equation (11) to represent risk w.r.t. 1, 3, 5, and 10 year swaps, but based on a piece-wise constant
curve built with 1, 2, 5, and 10 year swaps.

The transformation tells us what the risk of the original curve would be if we built the original curve with a 3 year swap, but it
cannot tell us what the risk would be for a different curve - to do that we need to build a new curve. Our original curve was
built using market instruments with maturities of 1, 2, 5, and 10 years. As a result, transforming using combinations of
forwards, pars, zeros will work fine as long as they have maturities of 1, 2, 5, and 10 years. But trying to transform with a 3
year rate causes problems because the original curve is not set up for a 3 year instrument.
Table 17 shows the risk we would get building a curve with 1, 3, 5, and 10 year instruments. Here the partial DV01 for the 2
year is reasonable. Two year instruments have no sensitivity to the 5 year.
Table 17 - DV01 w.r.t. 1, 3, 5, 10 year Swap Rates for Selected Instruments, Calculated from Alternate Curve
1 yr Swap 3yr Swap 5yr Swap 10yr Swap
1 yr Swap 0.98 0. 0. 0.
1 y2y Fwd - 0.5 1.46 0. 0.
5yr Swap 0. 0. 4.63 0.
10yr Swap 0. 0. 0. 8.49
2yr Swap 0.48 1.46 0. 0.
3yr Swap 0. 2.87 0. 0.
2yr Ann 0.03 0.03 0. 0.
10yr Ann 0.04 0.16 0.48 0.79
2yr Zero 0.45 1.43 0. 0.
10yr Zero - 0.04 - 0.16 - 0.48 7.7

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted. Calculated by direct bumping of the curve inputs for a piece-wise constant curve built with 1, 3, 5, and 10 year swaps.

DV01s w.r.t. Reduced Set of Variables- CompressingPartial DV01s


So far we have been discussing transforming DV01s w.r.t. the original curve variables H v 1 º v k L to DV01s w.r.t. the same
number of alternate variables H x 1 º x k L . Another issue that often arises is the need to reduce the dimensionality or
compress the DV01s: transform to risk w.r.t. curve variables I v 1 º v j M or alternate variables I x 1 º x j M , where j<k.
* * * *

In our example we might want to express DV01s w.r.t. a reduced set of {1 year, 5 year, 10 year} swaps instead of the original
{1 year, 2 year, 5 year, 10 year} swaps.
risktransform1_4.nb 21

So far we have been discussing transforming DV01s w.r.t. the original curve variables H v 1 º v k L to DV01s w.r.t. the same
number of alternate variables H x 1 º x k L . Another issue that often arises is the need to reduce the dimensionality or
compress the DV01s: transform to risk w.r.t. curve variables I v 1 º v j M or alternate variables I x 1 º x j M , where j<k.
* * * *

In our example we might want to express DV01s w.r.t. a reduced set of {1 year, 5 year, 10 year} swaps instead of the original
{1 year, 2 year, 5 year, 10 year} swaps.
Details
Rather than re-build a new curve and revalue the complete portfolio using this new curve, there are some simplifying
transformations we can apply. The transformations (6) or (9) will not work because the Jacobian (9) will not be full rank - it
will not be square since j<k.
What we need is a matrix to transform from old variables to new variables:
¶ v1 ¶ v1
º
¶ v 1* ¶ v j*

DvDv * = Matrix for Reduced ® Curve Variables = » ¸ » (16)


¶ vk ¶ vk
º
¶ v 1* ¶ v j*

If we had this matrix, we could simply write


¶ P1 ¶ P1
º
¶ v 1* ¶ v j*

DpDv * = Partial DV01 w .r .t . Reduced Variables = » ¸ » = DpDv . DvDv * =


¶ Pn ¶ Pn
º
¶ v 1* ¶ v j*

¶ P1 ¶ P1 ¶ v1 ¶ v1
º º
¶ v1 ¶ vk ¶ v 1* ¶ v j*

Derivative w .r .t . Curve Variables * Reduced Matrix = » ¸ » × » ¸ »


¶ Pn ¶ Pn ¶ vk ¶ vk
º º
¶ v1 ¶ vk ¶ v 1* ¶ v j*

The transformation matrix (16) cannot be obtained from the original curve. Instead we need to build a new curve, using a
reduced set of curve variables. We do not, however, need to revalue the whole portfolio using this new curve. All we need is
the matrix of derivatives in equation (16), relating the old and new curve variables. Generally, however, we cannot conve-
niently calculate (16) directly so we will use a set of “ intermediate instruments”that we can value using both the old and new
curve.
We start with the set of intermediate instruments H x 1 º x k L for the original curve. First we get the inverse Jacobian
(equation 10) by calculating the derivative w.r.t. the original curve variables:
¶ v1 ¶ v1 ¶ x1 ¶ x1 -1
º º
¶ x1 ¶ xk ¶ v1 ¶ vk

DvDx = » ¸ » = » ¸ »
¶ vk ¶ vk ¶ xk ¶ xk
º º
¶ x1 ¶ xk ¶ v1 ¶ vk

Next we use the new curve and calculate the derivative of these intermediate instruments w.r.t. the new curve variables:
¶ x1 ¶ x1
º
¶ v 1* ¶ v j*

DxDv * = » ¸ »
¶ xk ¶ xk
º
¶ v 1* ¶ v j*

Finally, for the new curve variables I v 1 º v j M and the new alternate instruments I x 1 º x j M or their yields
* * * *

I y 1 º y j M we calculate the inverse Jacobian as in (10) or (13):


* *
22 risktransform1_4.nb

¶ v 1* ¶ v 1* ¶ x 1* ¶ x 1* -1
º º
¶ x 1* ¶ x j* ¶ v 1* ¶ v j*

Dv * Dx * = » ¸ » = » ¸ »
¶ v j* ¶ v j* ¶ x j* ¶ x j*
º º
¶ x 1* ¶ x j* ¶ v 1* ¶ v j*

K O º K O
-1 ¶ x * -1 ¶ x * -1
â x 1* 1 â x 1* 1

â y 1* ¶ v 1* â y 1* ¶ v j*
* *
Dv Dy = » ¸ » (17)
â x j* -1 ¶ x * â x j* -1 ¶ x *
j j
º
â y j* ¶ v 1* â y j* ¶ v j*

We can now combine these all to transform the partial DV01s w.r.t. the original curve variables H v 1 º v k L into DV01s
w.r.t. yields of the new instruments and the new curve I y 1 º y j M :
* *

Partial DV01s w .r .t . Reduced Variables H via yield function L =


¶ P1 ¶ P1
º
¶ y 1* ¶ y j*

DpDy * = » ¸ » = DpDv . DvDx . DxD v * . Dv * Dy * =


¶ Pn ¶ Pn
º
¶ y 1* ¶ y j*
(18)

K O º K O
-1 ¶ x * -1 -1
¶ P1 ¶ P1 ¶ x1 ¶ x1 -1 ¶ x1 ¶ x1 â x 1* 1 â x 1* x 1*
º º º
¶ v1 ¶ vk ¶ v1 ¶ vk ¶ v 1* ¶ v j* â y 1* ¶ v 1* â y 1* ¶ v j*

» ¸ » × » ¸ » × » ¸ » × » ¸ »
¶ Pn ¶ Pn ¶ xk ¶ xk ¶ xk ¶ xk â x j* -1 ¶ x * â x j* -1 ¶ x *
º º º j
º
j
¶ v1 ¶ vk ¶ v1 ¶ vk ¶ v 1* ¶ v j* â y j* ¶ v 1* â y j* ¶ v j*

This looks very complicated, but in fact it is not. Each of the intermediate steps is a relatively straightforward risk calculation
for a small number of instruments:
è
The matrix DpDv is the original risk w.r.t. the original curve variables. This is what we are trying to transform and is given
è a priori.
The matrix DvDx is (the inverse of) the price Jacobian (14) for the “ intermediate instruments”from the original curve
and will be the risk of a small portfolio of traded instruments.
è
The matrix DxDv * is the derivative of the intermediate instruments using the new curve
è
The matrix Dv * D y * is the inverse Jacobian in yield terms, equation (13), for the new yields using the new curve

Example using 1, 5, 10 Year Swaps


Our original curve is based on swaps or futures with breaks at 1, 2, 5, and 10 years. Our original partial DV01s are shown in
table 5, and in table 9 we transformed it to risk w.r.t. par swaps. Say that we want to express the risk w.r.t. fewer swaps,
effectively to compress the risk. Say we want to dispense with the 2 year swap and express the risk w.r.t. 1, 5, and 10 year
swaps. We cannot simply combine the risk of adjacent categories, we need to have a transformation rule such as in equation
(18).
Our original curve has breaks at 1, 2, 5, and 10 years and is built with instruments that have maturities at these dates. Let us
build a reduced curve with fewer parameters, in this case piece-wise constant with breaks at 1, 5, and 10 years. Let us build
the curve so that it re-prices the 1, 5, and 10 year swaps:
Maturity HyrsL Fixed Rate H%L Fitted Fwd
1 2 0.0199
5 3 0.0324
10 3.5 0.0406
risktransform1_4.nb 23

Figure 3 shows the original curve and the reduced or compressed curve.
Figure 3 - Piece-Wise Constant Forward Curve, Original and Reduced

Instantaneous Forward Rate


0.04

0.03

0.02

0.01

Maturity H yrs L
2 4 6 8 10
Solid is Original Curve. Dashed is Without 2yr Swap

For our “ intermediate instruments”we will use the set of 1, 2, 5, and 10 year swaps. Using the original curve we can calculate
the inverse Jacobian DvDx for these intermediate instruments:
1 yr Swap 2yr Swap 5yr Swap 10yr Swap
f0y1y 1.006 0. 0. 0.
f1y2y - 1.031 1.032 0. 0.
f2y5y - 0.002 - 0.365 0.367 0.
f5y10y - 0.001 - 0.003 - 0.254 0.258

Using the new curve we can calculate derivative of these intermediate instruments using the new curve, DxDv * :
f0y1y f1y5y f5y10y
1 yr Swap 0.994 0. 0.
2yr Swap 0.991 0.966 0.
5yr Swap 0.992 3.686 0.
10yr Swap 0.991 3.633 3.874

We then calculate the derivative of our new set of swaps (1, 5, 10 years) from the new curve, the matrix Dx * Dv * , and the
vector of yield DV01s:
f0y1y f1y5y f5y10y
1 yr Swap 0.994 0. 0.
5yr Swap 0.992 3.686 0.
10yr Swap 0.991 3.633 3.874

1 yr Swap 5yr Swap 10yr Swap


0.984527 4.6105 8.3755

and from these we can calculate the inverse yield Jacobian for the new yields and new curve Dv * D y * (equation 17):
1 yr Swap 5yr Swap 10yr Swap
f0y1y 0.99 0. 0.
f1y5y - 0.266 1.251 0.
f5y10y - 0.003 - 1.173 2.162

Combining these gives the transformation matrix DvDx . DxDv * . Dv * D y * :


24 risktransform1_4.nb

1 yr Swap 5yr Swap 10yr Swap


f0y1y 0.99 0. 0.
f1y2y - 0.268 1.248 0.
f2y5y - 0.266 1.252 0.
f5y10y - 0.003 - 1.173 2.162

The following table shows the result of applying this transformation (per equation 18) to the original risk from table 5:
Table 18 - Compressed DV01 w.r.t. Par Swap Yields for Selected Instruments
1 yr Swap 5yr Swap 10yr Swap
1 yr Swap 0.98 0. 0.
1 y2y Fwd - 0.26 1.21 0.
5yr Swap 0. 4.61 0.
10yr Swap 0. 0. 8.38
2yr Swap 0.72 1.21 0.
3yr Swap 0.47 2.38 0.
2yr Ann 0.04 0.02 0.
10yr Ann 0.07 0.61 0.78
2yr Zero 0.69 1.19 0.
10yr Zero - 0.07 - 0.61 7.6

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. The risk is compressed from that
shown in table 4 using equation (18)

Comparing this with table 12 we see that the risk for the 5 year and 10 year swaps is unchanged - as we should expect. The
risk of the 2 year swap, however, is now distributed between the 1 year and 5 year swaps. The distribution depends on the
particular functional form chosen for the forward curve. The matrices DxDv * and DvDx together tell us how the original
curve variables H v 1 º v k L change when the compressed curve variables I v 1 º v j M change. This depends on the
* *

functional form of both curves, and requires the information embedded in these two matrices. Choosing a different func-
tional form for the curve will lead to a different distribution of risk between the 1 year and 5 year swaps.

Alternate Forward Curves


All examples so far have used a piece-wise constant forward curve but none of the results are limited to this functional form.
Although a piece-wise constant forward curve is a robust, simple, useful functional form to use in market applications it is by

rates are linearly-interpolated between break points. The curve variables H v 1 º v k L are zero rates at the break points: in
no means the only possible curve. One popular alternative is piece-wise linear zero, where continuously-compounded zero

this case (zero 1yr, zero 2yr, zero 5yr, zero 10yr). Figure 4 shows the fitted zero rates and forward rates.
Figure 4 - Piece-Wise Linear Zero Curve

Instantaneous Rates

0.04

0.03

0.02

0.01

Maturity H yrs L
2 4 6 8 10
Solid are Zero Rates , Dashed are Forward Rates

We can calculate the derivatives of instruments w.r.t. the curve parameters, just as we did in table 5 above. In this case the
risk is w.r.t. continuously-compounded zero rates. The following table shows the risk w.r.t. the curve variables, on other
words w.r.t. zero rates.
risktransform1_4.nb 25

We can calculate the derivatives of instruments w.r.t. the curve parameters, just as we did in table 5 above. In this case the
risk is w.r.t. continuously-compounded zero rates. The following table shows the risk w.r.t. the curve variables, on other
words w.r.t. zero rates.
Table 19 - DV01 w.r.t. Zero Yields (cc) for Selected Instruments
z1y z2y z5y z10y Total
1 yr Swap 0.99 0. 0. 0. 0.99
1 y2y Fwd - 0.97 1.94 0. 0. 0.97
5yr Swap 0.03 0.15 4.5 0. 4.68
10yr Swap 0.04 0.17 0.65 7.63 8.49
2yr Swap 0.03 1.93 0. 0. 1.96
3yr Swap 0.03 1.94 0.94 0. 2.91
2yr Ann 0.03 0.03 0. 0. 0.06
10yr Ann 0.04 0.17 0.65 0.61 1.47
2yr Zero 0. 1.9 0. 0. 1.9
10yr Zero 0. 0. 0. 7.02 7.02

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Risk is w.r.t. continuously-
compounded zero rates. Instruments used in fitting the curve are highlighted.

Next, we can transform to risk w.r.t. par swap yields by calculating the Jacobian and inverse Jacobians (equation 13). The
following table shows the Jacobian, the derivatives of par swap yields w.r.t. zero curve variables. This should be compared
with table 11 which shows the Jacobian for the same par swap yields but w.r.t. forward curve variables. Applying the transfor-
mation gives the data in the table below.
Table 20 - Jacobian for Par Swap Yields (Equation 9) for Transformation from Zero Curve Risk
z1y z2y z5y z10y
1 yr Swap 1.01 0. 0. 0.
2yr Swap 0.014 0.998 0. 0.
5yr Swap 0.007 0.032 0.975 0.
10yr Swap 0.005 0.021 0.078 0.911

Table 21 - DV01 w.r.t. Par Swap Yields for Selected Instruments


1 yr Swap 2yr Swap 5yr Swap 10yr Swap Total
1 yr Swap 0.98 0. 0. 0. 0.98
1 y2y Fwd - 0.99 1.94 0. 0. 0.96
5yr Swap 0. 0. 4.61 0. 4.61
10yr Swap 0. 0. 0. 8.38 8.38
2yr Swap 0. 1.94 0. 0. 1.94
3yr Swap 0. 1.91 0.96 0. 2.87
2yr Ann 0.03 0.03 0. 0. 0.06
10yr Ann 0.03 0.14 0.62 0.67 1.45
2yr Zero - 0.03 1.9 0. 0. 1.88
10yr Zero - 0.03 - 0.14 - 0.62 7.71 6.92

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Risk is w.r.t. par bond / swap
yields, transformed from zero curve risk. Instruments used in fitting the curve are highlighted.

We can also compare the zero and par risk calculated here with the zero and par risk shown in tables 15 and 12 above. Close
examination shows that there are some differences. These differences arise from two sources:
è
First, for the zero risk the rates are compounded on a different basis. The curve variables in table 21 are continuously-
compounded while the yields for the instruments used in table 15 are semi-annually compounded. The conversion
between risk expressed in different compounding bases depends on (1+rate):

1 + y sab  2 = expH y cc  2L Þ = expH y cc  2L = 1 + y sab  2


â y sab

â y cc
The 10 year zero rate y sab is 3.56% so the conversion factor for 10 year rates is 1.0178. If we take the risk for the 10 year
zero bond from table 21 and divide by 1.0178 we get the value shown in table 15 - in other words the difference for the
10 year zero bond is totally due to differences in compounding between tables 15 and 21.
26 risktransform1_4.nb

The 10 year zero rate y sab is 3.56% so the conversion factor for 10 year rates is 1.0178. If we take the risk for the 10 year
zero bond from table 21 and divide by 1.0178 we get the value shown in table 15 - in other words the difference for the
è 10 year zero bond is totally due to differences in compounding between tables 15 and 21.
The par risk in tables 23 and 12 are quoted on the same basis (both semi-bond) so there are no compounding
differences. Comparing the tables shows that the risk for swaps used in building the curve (1, 2, 5, 10 year) are the same.
But risk for instruments not used in building the curve are different. For example the total risk for the 3 year swap is
roughly the same, but the distribution, across the 2 year versus 5 year, is different. The reason is that the curves are
fundamentally different and they imply different movements in forward rates between knot points. The 5 year swap, for
example, has most of its cash flows and sensitivity concentrated at the 5 year point, and both curves, having the 5 year
swap as an input, are constrained to have roughly the same 5 year zero and par rates. The risk for the 5 year swap will be
virtually the same. The curves are not constrained to be the same at 3 years however, and changes in the 2 year or 5 year
input swaps will change the 3 year zero and 3 year par rates quite differently between the curves. How the 3 year swap
responds to changes in the 2 year and 5 year rates will be different between the curves.

Conclusion
This paper has laid out a simple method to transform curve risk or sensitivity from one set of rates or yields to another. The
method is quite general and allows transformations between arbitrary instruments, subject to certain constraints. The
method can also be used to compress risk from a larger to a smaller number of variables.

APPENDIX - Dynamic Interactivity

Introduction
This paper was written in Wolfram’s Mathematica and all the tables generated dynamically. This appendix provides interac-
tive exploration of the transformation methodology by making some of the tables dynamically interactive.
If you are reading the .pdf version of this paper the tables are clearly not interactive - they are simply static graphics. For
interactivity you must use the .cdf/.nbp version, which is available at [Link]/[Link]-
l#RiskManagement
Wolfram has developed a platform for enhanced digital publication - documents saved in Computable Document Format
(.cdf) or player format (.nbp) can then be "read" using the Wolfram Player (free download available at
[Link] This is analogous to Adobe's .pdf format with the Acrobat Reader but extends
the idea to dynamic interactivity. A .cdf document can be computable and can produce dynamic content, responding to
readers' input.
In the .cdf/.nbp version the reader can choose the instruments for reporting the partial DV01s in the table below and then
the transformed risk (together with the Jacobian and inverse Jacobian) will be re-calculated and displayed. There is a
“ portfolio”of twenty securities, including swaps, annuities, zeros bonds, and forwards:
Table A1 - Securities Available for Interactive Examination
risktransform1_4.nb 27

Instrument Forward Start Underlier HyrsL Coupon Rate H%L PV


1 yr Swap 0 1 2. 0.
2yr Swap 0 2 2.5 0.
3yr Swap 0 3 2.8 0.063
5yr Swap 0 5 3. 0.
10yr Swap 0 10 3.5 0.
1 yr Ann 0 1 2. 1.969
2yr Ann 0 2 2.5 4.856
3yr Ann 0 3 3. 8.61
5yr Ann 0 5 3. 13.91
10yr Ann 0 10 3.5 29.724
1 yr Zero 0 1 0. 98.031
2yr Zero 0 2 0. 95.144
3yr Zero 0 3 0. 92.027
5yr Zero 0 5 0. 86.09
10yr Zero 0 10 0. 70.276
1 y2y Fwd 1 1 3.014 0.
2y5y Fwd 2 3 3.36 0.
3y5y Fwd 3 2 3. - 0.637
5y10y Fwd 5 5 4.101 0.
7y10y Fwd 7 3 3.5 - 1.335

Instruments used in fitting the curve are highlighted.

A piece-wise constant forward curve is used for valuation, fitted using the following four instruments:
Table A2 - Market Instrument Used for Building Sample Curve

Instrument Maturity HyrsL Coupon Rate H%L Fwd Rate HccL


1 yr Swap 1 2. 0.0199
1 y2y Fwd 1 3.014 0.0299
5yr Swap 5 3. 0.0333
10yr Swap 10 3.5 0.0406

Figure A1 - Piece-Wise Constant Forward Curve

Instantaneous Rates
0.04

0.03

0.02

0.01

Maturity H yrs L
2 4 6 8 10
Solid are Zero Rates , Dashed are Forward Rates

The partial DV01s for all the instruments, calculated from the piece-wise constant forward curve, is shown in the following
table. The DV01s are derivatives w.r.t. continuously-compounded forward rates (the parameters of the curve above).
Table A3 - DV01 w.r.t. Curve Variables (Forward Rates) for Selected Instruments
28 risktransform1_4.nb

f0y1y f1y2y f2y5y f5y10y Total


1 yr Swap 0.99 0. 0. 0. 0.99
2yr Swap 0.99 0.97 0. 0. 1.96
3yr Swap 0.99 0.97 0.94 0. 2.9
5yr Swap 0.99 0.96 2.72 0. 4.68
10yr Swap 0.99 0.96 2.68 3.87 8.5
1 yr Ann 0.01 0. 0. 0. 0.01
2yr Ann 0.04 0.02 0. 0. 0.06
3yr Ann 0.08 0.05 0.02 0. 0.15
5yr Ann 0.13 0.1 0.14 0. 0.37
10yr Ann 0.29 0.25 0.57 0.36 1.47
1 yr Zero 0.98 0. 0. 0. 0.98
2yr Zero 0.95 0.95 0. 0. 1.9
3yr Zero 0.92 0.92 0.92 0. 2.76
5yr Zero 0.86 0.86 2.58 0. 4.3
10yr Zero 0.7 0.7 2.11 3.51 7.03
1 y2y Fwd 0. 0.97 0. 0. 0.97
2y5y Fwd 0. 0. 2.74 0. 2.74
3y5y Fwd - 0.01 - 0.01 1.78 0. 1.77
5y10y Fwd 0. 0. 0. 3.93 3.93
7y10y Fwd - 0.01 - 0.01 - 0.04 2.22 2.15

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Curve variables are continuously-
compounded forward rates. Instruments used in fitting the curve are highlighted.

Dynamic Interactivity
If you are reading the .pdf version of this paper the tables are clearly not interactive - they are simply static graphics. For
interactivity you must use the .cdf/.nbp version, which is available at [Link]/[Link]-
l#RiskManagement
Transformed Partial DV01s
The table below is initialized to report risk w.r.t. 1, 2, 5, and 10 year par swap yields. If you are reading the .cdf version you
may choose alternate instruments from the four drop-down lists and the risk will re-calculate. You can choose sets of
instruments that are not appropriate (for example using the 3 year swap instead of the 2 year swap) but the transformation
will still be calculated. If you choose a set of instruments for which the Jacobian is singular, the risk will not display.
Table A5 - Transformed DV01 w.r.t. Alternate Variables
risktransform1_4.nb 29

1yr Swap 1 yr Swap 2yr Swap 2yr Swap

5yr Swap 5yr Swap 10yr Swap 10yr Swap

Inverse Jacobian
0.99 0. 0. 0.
- 1.015 2. 0. 0.
- 0.002 - 0.707 1.693 0.
- 0.001 - 0.005 - 1.17 2.162
Jacobian
1.01 0. 0. 0.
0.513 0.5 0. 0.
0.215 0.209 0.591 0.
0.118 0.114 0.32 0.462
Partial DV01s
1 yr Swap 2yr Swap 5yr Swap 10yr Swap Total
1 yr Swap 0.98 0. 0. 0. 0.98
2yr Swap 0. 1.94 0. 0. 1.94
3yr Swap 0. 1.27 1.59 0. 2.86
5yr Swap 0. 0. 4.61 0. 4.61
10yr Swap 0. 0. 0. 8.38 8.38
1 yr Ann 0.01 0. 0. 0. 0.01
2yr Ann 0.02 0.04 0. 0. 0.06
3yr Ann 0.03 0.08 0.04 0. 0.15
5yr Ann 0.03 0.11 0.24 0. 0.37
10yr Ann 0.03 0.11 0.54 0.78 1.45
1 yr Zero 0.97 0. 0. 0. 0.97
2yr Zero - 0.02 1.9 0. 0. 1.88
3yr Zero - 0.02 1.19 1.56 0. 2.72
5yr Zero - 0.03 - 0.11 4.37 0. 4.24
10yr Zero - 0.03 - 0.11 - 0.54 7.6 6.93
1 y2y Fwd - 0.99 1.95 0. 0. 0.96
2y5y Fwd - 0.01 - 1.94 4.64 0. 2.7
3y5y Fwd 0. - 1.27 3.02 0. 1.74
5y10y Fwd - 0.01 - 0.02 - 4.6 8.51 3.88
7y10y Fwd 0. - 0.01 - 2.66 4.79 2.12

DV01s are reported as dollar change for a $100 notional instrument per 100bp change in yields or rates. Instruments used in fitting the
curve are highlighted. Transformed via methodology discussed in the text.

References
Coleman, Thomas S. (1998), “ Fitting Forward Rates to Market Data,” available from Social Science Research Network,
[Link]
Ho, Thomas S.Y. (1992), “ Key Rate Durations: Measures of Interest Rate Risks,”The Journal of Fixed Income, September 1992
Vol. 2, No. 2, pp. 29-44
Macaulay, Frederick (1938), Some Theoretical Problems Suggested by the Movements of Interest Rates, Bond Yields, and Stock
Prices in the United States since 1856. New York: Columbia University Press.
30 risktransform1_4.nb

Reitano, Robert R., (2008), “ Yield Curve Risk Management,” in Handbook of Finance, Frank J. Fabozzi, ed., vol. 3, p. 215.
Hoboken, NJ: John Wiley and Sons.
Reitano, Robert R., (1991), “ Multivariate Duration Analysis,” Transactions of the Society of Actuaries XLIII: 335-391, available
on-line at [Link]
actuaries/1990-95/1991/january/[Link]
This paper, (Coleman 2011, “ A Guide to Duration, DV01, and Yield Curve Risk Transformations”) is also available in .cdf/.nbp
format (Wolfram computable document format or notebook player) with dynamic interactivity enabled - see
[Link]/[Link]

Endnotes
1. A 5 year par swap and 5 year par bond will have the same risk. In table 1 the DV01 for the "5 year bond" differs slightly
from the table 6 total DV01 for the "5 year swap" because the DV01 in table 1 is with respect to yield-to-maturity, while
the DV01s in table 6 are with respect to par swap rates. The difference is discussed more fully in a later section. The 10
year annuity differs in the third decimal (not displayed).

You might also like