Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 23 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
23
Dung lượng
113,18 KB
Nội dung
The author thanks Rob Bliss for his many helpful suggestions concerning variable roughness penalties and Mark Fisher for
providing code and help in implementing the smoothed spline approach. The views expressed here are those of the author
and not necessarily those of the Federal Reserve Bank of Atlanta or the Federal Reserve System. Any remaining errors are
the author’s responsibility.
Please address questions regarding content to Daniel F. Waggoner, Senior Quantitative Analyst, Federal Reserve Bank of
Atlanta, 104 Marietta Street, N.W., Atlanta, Georgia 30303-2713, 404/521-8278, 404/521-8956 (fax), daniel.f.
waggoner@atl.frb.org.
Questions regarding subscriptions to the Federal Reserve Bank of Atlanta working paper series should be addressed to the
Public Affairs Department, Federal Reserve Bank of Atlanta, 104 Marietta Street, N.W., Atlanta, Georgia 30303-2713,
404/521-8020. The full text of this paper may be downloaded (in PDF format) from the Atlanta Fed=s World-Wide Web site
at http://www.frbatlanta.org/publica/work_papers/.
Spline MethodsforExtractingInterestRateCurves from
Coupon Bond Prices
Daniel F. Waggoner
Federal Reserve Bank of Atlanta
Working Paper 97-10
November 1997
Abstract: Cubic splines have long been used to extract the discount, yield, and forward ratecurvesfrom coupon
bond data. McCulloch used regression splines to estimate the discount function, and, more recently, Fisher,
Nychka, and Zervos used smoothed splines, with the roughness penalty selected by generalized cross-validation,
to estimate the forward rate curve. I propose using a smoothed spline but with a roughness penalty that can vary
across maturities, to estimate the forward rate curve. This method is tested against the methods of McCulloch
and Fisher, Nychka, and Zervos using monthly bond data from 1970 through 1995.
JEL classification: G12, C13
Key words: term structure, smoothing splines, generalized cross-validation
1
Spline MethodsforExtractingInterestRateCurves from
Coupon Bond Prices
Section 1: Introduction
Spline methods have long been used to extract discount, yield, and forward ratecurves from
prices of coupon bonds. McCulloch (1975) proposed using regression cubic splines to extract
the discount function. This method works well, in the sense that, both in-sample and out-of-
sample, it accurately prices bonds and is stable (Bliss 1997, Waggoner 1996). However, the
forward ratecurves produced by McCulloch’s method often tend to oscillate. Though there is no
theoretical result that implies that the forward rate curve can not oscillate, most practitioners
would prefer one that did not exhibit this behavior, particularly if it were stable and priced bonds
well. Fisher, Nychka, and Zervos (1995), proposed using a cubic spline with a roughness penalty
to extract the forward rate curve. The roughness penalty stiffens the spline, which reduces the
oscillatory behavior, but also reduces the fit. The roughness penalty is chosen by a generalized
cross-validation method (GCV) to regulate the trade-off between goodness of fit and the stiffness
of the spline. Bliss (1997) has found that the method of Fisher tends to misprice short maturity
securities. We propose using Fisher’s method, but with a variable roughness penalty. Using a
small roughness penalty on the short end of the term structure and a larger penalty on the long
end allows the flexibility to price short term securities well without giving up the desirable
oscillation damping on the long end.
This paper is organized as follows. In Section 2, we specify the notation to be used throughout
the paper and develop the bond pricing model. In Section 3, we discuss interestrate curve
extraction techniques. In Section 4, we present the findings of our empirical tests. Section 5
contains an explanation of our particular choice of variable roughness penalty. Section 6
2
explores the generalized cross-validation method used by Fisher to select the level of the
roughness penalty. Our conclusions are presented in Section 7.
Section 2: InterestRateCurves and Bond Prices
We quickly review the definition of the discount function, the yield curve and the forward rate
curve and their relation to the price of a coupon bond. The discount function, denoted by
δ
(t), is
the current price of a risk-free, zero-coupon bond paying one dollar at time t. We shall use y(t) to
denote the zero-coupon yield curve, and f(t) to denote the instantaneous forward rate curve.
These are related to the discount function via the equations
(2.1)
() ()
()
δ
ttyt
=−
exp
and
(2.2)
() ()
δ
tfsds
t
=−
∫
exp
0
.
The term interestrate curve can be used to generically refer to any one of these three related
curves.
In a world with complete markets and no taxes or transaction costs, absence of arbitrage implies
that the price of any couponbond can be computed from an interestrate curve. In particular, if
the principal and interest payment of a bond is c
j
dollars at time t
j
, for 1≤≤jK, then the
pricing equation for the bond is
(2.3)
() ()
()
()
ct c tyt c fsds
jj
j
K
jjj j
t
j
K
j
K
j
δ
===
∑
∫
∑∑
=−=−
1
0
11
exp exp
.
In the real world of taxes and transaction costs, we would expect the price of a couponbond to be
only approximated by (2.3).
3
We are not interested in pricing a bond, given an interestrate curve, but in estimating an interest
rate curve, given a set of bond prices. We develop the model and notation that we will use in the
remainder of this paper. Let
{}
B
i
iN
1
≤≤
be a set of bonds, let
ττ τ
12
<<<
K
be the set of dates
on which principal and interest payments occur, let
c
ij
,
be the principal and interest payment of
the
i
th
bond on date
τ
j
, and let
P
i
be the observed price
1
of the
i
th
bond. The pricing equation
is
(2.4)
PP
iii
=+
ε
,
where
P
i
is defined by
(2.5)
() ()
()
()
exp exp
,, ,
Pc c y c fsds
iijj
j
K
ij j j ij
j
K
j
K
j
==−=−
===
∑
∫
∑∑
δτ τ τ
τ
1
0
11
.
Since our simple model omits such obvious factors as taxes and liquidity, the error term,
ε
i
, will
contain both systematic and random factors. When we wish to make explicit
P
i
’s dependence on
either the discount function, the yield curve, or the forward rate curve, we write
()
P
i
δ
⋅ ,
()
P
i
y
⋅ , or
()
P
i
f
⋅ , respectively. We use the notation
()
*
P
i
⋅ when we do not wish to specify the particular
interest rate curve . In the next section, we explore techniques for using this model to obtain
estimates of interestrate curves.
Section 3: Curve Extraction and Cubic Splines
All of our extraction methods use cubic splines as the functional form for either the discount or
forward rate curve. A function g, defined on the interval
[]
tt
k
1
, , is a cubic spline with node
1
In practice, we do not observe a single price, but a bid and an asked quote. We define the observed price to be the
average of the bid and asked quotes.
4
points
tt t
k
12
<<<
, if
(1)
g
is a cubic polynomial on each of the subintervals
[]
tt
jj
−
1
, , for 1
<≤jk
.
(2)
g
is twice continuously differentiable over the entire interval
[]
tt
k
1
,
2
.
A natural choice for the node points would be a subset of
{}
ττ τ
12
,,,
K
, the set of cash flow
dates
3
. If we were to use all of these points, then cubic splineinterestratecurves would be able
to price bonds as well as any other functional form. However, we would also like an estimating
technique to produce “reasonable” interestrate curves. Cubic splines, particularly ones with a
large number of node points, tend to oscillate. We view excessive oscillations, particularly at
longer maturities, as unreasonable behavior. In a risk-neutral world, interestratecurves contain
information concerning both current and expected prices of zero-coupon bonds. Large
oscillations in an interestrate curve can imply oscillations in expected prices. Though it is
perfectly reasonable for the current price of a six-month bill to be $95 with the expectation that in
a year a six-month bill will sell for $96 and that in two years its price will be $94. It is more of a
stretch to expect that in 20 years the price of a six-month bill will be $95 dollars, in 21 years it
will sell for $96, and that in 22 years its price will be $94. For this reason, we prefer interest rate
curve extraction techniques that produce curves that are less likely to oscillate, particularly at
longer maturities. There are several methods which one could use to reduce the oscillations and
increase the smoothness of a cubic spline. McCulloch used regression splines for this purpose,
and Fisher, Nychka, and Zervos used smoothed splines. We propose using a modification of the
smoothed spline.
2
See Ahlberg, Nilson and Walsh (1967) for a more complete discussion of splines and their various applications.
3
In addition, we include
τ
0
≡
0 as a node point since we want the interestrate curve to be defined over the interval
from zero to the longest bond in the sample.
5
A regression spline reduces the oscillatory behavior by reducing the number of node points. The
flexibility of a cubic spline over an interval is determined by the number of node points in that
interval. By controlling number and spacing of node points, one can reduce oscillations at longer
maturities, while retaining flexibility at shorter maturities. Once the placement of the nodes has
been determined, the interestrate curve,
ψ
, is chosen to be the cubic spline which minimizes the
objective function
(3.1)
()
()
PP
ii
i
N
−
=
∑
*
ψ
2
1
.
A smoothed spline controls oscillations by imposing a roughness penalty in the objective
function, as opposed to reducing the number of node points. The interestrate curve,
ψ
, is chosen
to minimize the objective function
(3.2)
()
()
()
[]
PP tdt
ii
i
N
K
−+
′′
=
∑
∫
*
ψλψ
τ
2
1
2
0
over the space of all cubic splines with node points
τττ τ
012
<<<<
K
4
. Minimizing this
expression is a trade-off between minimizing the first term, which measures the goodness of fit,
and the second term, which measures smoothness. The positive constant
λ
determines the
tradeoff between fit and smoothness and is called the roughness penalty. If
λ
were zero, then we
would be in the regression spline case, and as
λ
increases,
g
tends to a linear function. The
flexibility of the spline is determined by both the spacing of the nodes and the magnitude of
λ
,
but as
λ
increases, the spacing of the nodes becomes less important. Thus for large values of
λ
,
the flexibility of the spline is approximately the same across all regions. This is problematic,
4
For the discount function or the yield curve, it can be shown that the function which minimizes (3.2) over the space
of all twice continuously differentiable functions will be a cubic spline with node points
τ
0
<
τ
1
<
…
<
t
K
. For the
forward rate curve, a quartic spline will be the minimizing function (Reinsch 1971).
6
since we want the spline to be more flexible on the short end than on the long end. This leads to
the modified smoothed spline.
A modified smoothed splines estimates the interestrate curve,
ψ
, by minimizing
(3.3)
()
()
() ()
[]
PP t tdt
ii
i
N
K
−+
′′
=
∑
∫
*
ψλψ
τ
2
1
2
0
over the space of all cubic splines with node points
τττ τ
012
<<<<
K
. By allowing the
roughness penalty to vary across maturities, we can damp oscillations on the long end, while
retaining flexibility on the short end.
McCulloch’s Method
5
McCulloch proposed using a regression cubic spline to approximate the discount function. The
suggested number of node points is approximately the square root of the number of bonds used in
the estimation and are spaced so that roughly a equal number of bonds mature between adjacent
nodes. Though the number and spacing of the node points is ad hoc, this choice works well in
practice (Bliss 1997). The discount function is constrained to satisfy
()
δ
01
=
. With this choice
of nodes and constraints, the discount function is chosen to be the cubic spline which minimizes
(3.4)
()
()
PP
ii
i
N
−
=
∑
δ
δ
2
1
.
Because McCulloch works with the discount function, the minimizing function can be easily
found using least squares.
5
See McCulloch (1975) for a more complete description of this method.
7
Fisher’s Method
6
Fisher proposed using a smoothed cubic spline to approximate the forward rate curve. The
recommended number of nodes is approximately one third the number of bonds used in the
estimation and the nodes should be spaced so that roughly a equal number of bonds mature
between adjacent nodes
7
. The forward rate curve is chosen to be the cubic spline which
minimizes the expression
(3.5)
()
()
()
[]
PPf fsds
ii
f
i
N
−+
′′
=
∑
∫
2
1
2
0
λ
τ
K
.
The value of
λ
is determined by generalized cross-validation (GCV)
8
. In particular,
λ
is chosen
to minimize the expression
(3.6)
()
()
()
()
γλ
λ
θλ
=
−
RSS
N
ep
2
,
where
•
N
is the number of bonds,
•
()
RSS
λ
is the residual sum of squares. More formally, if
f
λ
is the forward rate
curve which minimizes (3.5), then
()
()
()
RSS
λ
λ
=−
=
∑
PPf
ii
f
i
N
2
1
,
•
()
ep
λ
is the effective number of parameters
9
,
•
θ
is the cost or tuning parameter.
6
See Fisher, Nychka, and Zervos (1995) for a more complete description of this method.
7
Theoretically, the set of nodes should be the set of all dates on which a cash flow occurs. Using this much smaller
set of nodes does not substantially change the resulting forward rate curve, but does reduce the computations needed
to implement this method.
8
See Wahba (1990) for a discussion of generalized cross-validation and its properties.
9
In some sense, by imposing a roughness penalty we are reducing the number of parameters in our model. When
λ
is zero, the effective number of parameters is two more than the number of node points. As
λ
tends to infinity, the
effective number of parameters approaches two. See Fisher, Nychka, and Zervos (1995) for a rigorous definition of
the effective number of parameters.
8
In plain-vanilla GCV,
θ
is equal to one. In general, a larger value of
θ
tends to produce a stiffer
spline. In our work, we follow Fisher, Nychka, and Zervos (1995), and set
θ
equal to two.
Because Fisher's method works with the forward rate function, non-linear techniques must be
used to find the minimizing function. For a fixed
λ
, (3.5) can be minimized using non-linear
least squares. GCV can be implemented by using any of the standard line searches, such as the
golden section search or Brent's method, however, since
()
γλ
can have multiple local minima, it
is important to do a grid search in conjunction with the line search.
Variable Roughness Penalty (VRP) Method
As in Fisher Nychka, and Zervos (1995), we propose using a cubic spline to approximate the
forward rate function with the number of nodes chosen to be approximately one third the number
of bonds used in the estimation and spaced so that roughly a equal number of bonds mature
between adjacent nodes. However, the cubic spline forward rate curve is chosen to minimize the
function
(3.7)
()
()
() ()
[]
PPf sfsds
ii
i
N
K
−+
′′
=
∑
∫
2
1
2
0
λ
τ
.
We take
λ
(
t
) to be
(3.8)
()
λ
t
t
t
t
=
≤≤
≤≤
≤
0.1
10
01
100 1 10
100 000,
,
for
t
measured in years
10
. This choice of penalty function will be more fully explored in Section
5. The VRP method is non-linear and can be implemented using non-linear least squares.
10
Fisher, Nychka, and Zervos (1995), use daily interest rates, while we use annual rates. To compare roughness
penalties, ours must be multiplied by a factor of 365
5
≈
6.5
×
10
12
.
9
Section 4: Empirical Results
Following Bliss (1997), we tested the three methods described in Section 3 by comparing their
in-sample and out-of-sample performance in correctly pricing bonds. We used the monthly
CRSP bond data from 1970 through 1995 in our test, excluding bills with less than 30 days to
maturity, notes and bonds with less than a year to maturity, callable bonds, and flower bonds. For
each month, we divided the securities into two groups by putting every other security, ordered by
maturity, in the same group. One group was used to extract the interestrate curve and perform
in-sample tests, and the other group was used to perform out-of-sample tests. We also ensured
that the bond of longest maturity was in the in-sample group. We used two measures of pricing
error, weighted mean absolute error and hit rate. The weighted mean absolute error (WMAE) is
the average distance between the midpoint of the bid and ask and the computed price, with the
weighting by the inverse of duration. The hit rate is the percentage of computed prices that lie
between the bid and asked quotes.
Table 1a, gives the in-sample results. In-sample, Fisher performs slightly better than McCulloch
in pricing securities with more than one year to maturity, but performs much worse in pricing
securities with less than a year to maturity. Since there are many more short term securities than
long term securities, the nodes tend to be more concentrated on the short end. In the absence of a
roughness penalty, the concentration of the nodes determines the flexibility of the spline. This
allows McCulloch’s spline to be more flexible on the short end. If a roughness penalty is
imposed, the magnitude of the penalty influences the flexibility of the spline more than the
concentration of nodes. Since Fisher uses a roughness penalty that is constant across maturities,
it is not significantly more flexible on the short end than on the long end. Thus it is difficult to
both dampen oscillations at the long end and price short term securities well.
[...]... smoother forward rate curve or better out-of-sample pricing of bonds 13 References Ahlberg, J., E Nilson, and J Walsh, The Theory of Splines and Their Applications, Academic Press, 1967 Bliss, Robert R “Testing Term Structure Estimation Methods, ” Advances in Futures and Options Research, 9 (1997), 197-231 Fisher, M., D Nychka, and D Zervos, “Fitting the Term Structure of Interest Rates with Smoothing Splines,”... in-sample ones McCulloch and the variable roughness penalty methods had similar performance across all maturities Fisher performed much worse for securities with less than a year to maturity and about the same for longer maturity securities The one exception to this characterization is the weighted mean absolute error of the Fisher method for bonds with more than 10 years to maturity We will return to... Our choice for the roughness penalty is a three-tiered step function, which is constant on the intervals from 0 to 1 year, from 1 to 10 years, and 10 to 30 years The divisions correspond to the difference between Bills, Notes, and Bonds Though this choice is ad hoc, we have found that the behavior of the interestrate curve is not sensitive to the particular shape of the roughness penalty For instance,... the VRP method performs slightly better than McCulloch across all maturities It performs much better than Fisher for securities with less than a year to maturity, slightly better for securities with one to five years to maturity, and slightly worse for securities with more than five years to maturity In-sample, one can always increase performance by increasing the flexibility of the spline However, increasing... (June 1975), 811-29 Reinsch, C H “Smoothing by Spline Functions II,” Numerische Mathematik, 16 (1971), 451-54 Wahba, G Spline Models for Observational Data, SIAM, Philadelphia ,1990 Waggoner, D “The Robustness of Yield and Forward Rate Extraction Methods, ” Unpublished working paper, September 1996 14 Table 1a: In-Sample Weighted Mean Absolute Error and Hit Rates Maturity Range 10 All... 10 Figure 7: Fisher Yield Curve for February 28, 1977 20 Last in-sample bond 15 Percent 10 Last out-of-sample bond 5 Next to last in-sample bond 0 -5 0 2 4 6 8 10 Years to Maturity 12 14 16 18 Table 8: Weighted Mean Absolute Error and Hit Rates for a Roughness Penalty Level of 1000 Maturity Range 10 All WMAE 0.056 0.102 0.175 0.337 0.248 0.079 Hit Rate 18.3% 45.0% 33.6% 26.2% 36.7%... roughness penalty, are very similar both in fit and smoothness Since McCulloch is a linear procedure, it is easier to implement than the non-linear VRP When one is looking for a quick, easy to use method forextracting interest rate curves, McCulloch is a good choice However, the VRP method allows us to explicitly control the amount of smoothing applied We have specified a choice of roughness penalty... is too small or too large, then the out-of-sample performance deteriorates We chose the value of the short and long penalties so that the weighted mean absolute error would be small, but the spline would be as stiff as possible 11 Section 6: Generalized Cross-Validation We saw in section 4 that the out-of-sample performance of Fisher’s method for bonds with more than 10 years to maturity was poor in... the cause of this For a few months, the maturities of the last three bonds in the sample are widely spaced and the GCV method selects a relatively small value for the roughness penalty - less than 10 In those months, an extremely large pricing error can occur for the last out-of-sample bond An example of this type of behavior can be seen in February of 1977 The plot of the yield curve for this month is... out-of-sample performance of the fixed roughness penalty In comparing this with table 1a and 1b, we see that overall the fixed roughness penalty performed about as well as GCV Furthermore, from the out-of-sample WMAE for maturities greater than 10 years, we see that the fixed roughness penalty avoided the problems described above We feel that GCV is valuable 12 tool for determining the appropriate range for the . smoothing splines, generalized cross-validation
1
Spline Methods for Extracting Interest Rate Curves from
Coupon Bond Prices
Section 1: Introduction
Spline methods. PDF format) from the Atlanta Fed=s World-Wide Web site
at http://www.frbatlanta.org/publica/work_papers/.
Spline Methods for Extracting Interest Rate Curves