Building a Smooth Yield Curve. University of Chicago. Jeff Greco



Similar documents
EURODOLLAR FUTURES PRICING. Robert T. Daigler. Florida International University. and. Visiting Scholar. Graduate School of Business

Bootstrapping the interest-rate term structure

1. The forward curve

Introduction to Financial Derivatives

Interest Rate Futures. Chapter 6

Natural cubic splines

Chapter 5 Financial Forwards and Futures

Lecture 6 Black-Scholes PDE

Penalized regression: Introduction

Margin Calculation Methodology and Derivatives and Repo Valuation Methodology

MONEY MARKET SUBCOMMITEE(MMS) FLOATING RATE NOTE PRICING SPECIFICATION

the points are called control points approximating curve

Fixed Income Portfolio Management. Interest rate sensitivity, duration, and convexity

(Refer Slide Time: 01:11-01:27)

LIFE INSURANCE AND WEALTH MANAGEMENT PRACTICE COMMITTEE AND GENERAL INSURANCE PRACTICE COMMITTEE

Regression III: Advanced Methods

Vilnius University. Faculty of Mathematics and Informatics. Gintautas Bareikis

Eurodollar Futures, and Forwards

Mathematical Modeling and Engineering Problem Solving

INTERPOLATION. Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y).

YIELD CURVE GENERATION

Chapter 1. Theory of Interest 1. The measurement of interest 1.1 Introduction

We first solve for the present value of the cost per two barrels: (1.065) 2 = (1.07) 3 = x =

Bond Price Arithmetic

FIN 472 Fixed-Income Securities Forward Rates

Caps and Floors. John Crosby

Rolle s Theorem. q( x) = 1

1 Review of Least Squares Solutions to Overdetermined Systems

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

The TED spread trade: illustration of the analytics using Bloomberg

Lecture Notes on the Mathematics of Finance

In this chapter we will learn about. Treasury Notes and Bonds, Treasury Inflation Protected Securities,

Introduction to the Finite Element Method (FEM)

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10

Problems and Solutions

Financial Mathematics for Actuaries. Chapter 1 Interest Accumulation and Time Value of Money

The equivalence of logistic regression and maximum entropy models

Payment streams and variable interest rates

Manual for SOA Exam FM/CAS Exam 2.

CREATING A CORPORATE BOND SPOT YIELD CURVE FOR PENSION DISCOUNTING DEPARTMENT OF THE TREASURY OFFICE OF ECONOMIC POLICY WHITE PAPER FEBRUARY 7, 2005

Annuity is defined as a sequence of n periodical payments, where n can be either finite or infinite.

Machine Learning and Data Mining. Regression Problem. (adapted from) Prof. Alexander Ihler

Lectures 5-6: Taylor Series

Introduction to Eris Exchange Interest Rate Swap Futures

Moreover, under the risk neutral measure, it must be the case that (5) r t = µ t.

Learning Curve An introduction to the use of the Bloomberg system in swaps analysis Received: 1st July, 2002

Lecture 12/13 Bond Pricing and the Term Structure of Interest Rates

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

Computer Graphics CS 543 Lecture 12 (Part 1) Curves. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

FINANCE 1. DESS Gestion des Risques/Ingéniérie Mathématique Université d EVRY VAL D ESSONNE EXERCICES CORRIGES. Philippe PRIAULET

Interest Rate and Credit Risk Derivatives

Continuous Compounding and Discounting

Linear Programming Notes V Problem Transformations

3. Interpolation. Closing the Gaps of Discretization... Beyond Polynomials

Recursive Algorithms. Recursion. Motivating Example Factorial Recall the factorial function. { 1 if n = 1 n! = n (n 1)! if n > 1

Access Code: RVAE4-EGKVN Financial Aid Code: 6A9DB-DEE3B-74F

Statistics in Retail Finance. Chapter 6: Behavioural models

Chapter 4 One Dimensional Kinematics

3 Introduction to Assessing Risk

Demand Forecasting When a product is produced for a market, the demand occurs in the future. The production planning cannot be accomplished unless

Online Appendix to: Connecting Two Markets: An Equilibrium Framework for Shorts, Longs, and Stock Loans

Learning Curve September Understanding the Z-Spread Moorad Choudhry*

CFA Level -2 Derivatives - I

AP Physics 1 and 2 Lab Investigations

Zero-Coupon Bonds (Pure Discount Bonds)

Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies

Coupon Bonds and Zeroes

FIN 684 Fixed-Income Analysis From Repos to Monetary Policy. Funding Positions

FINANCIAL MATHEMATICS MONEY MARKET

Master of Mathematical Finance: Course Descriptions

8. Linear least-squares

The Money Market. Juan Barragan ECP January 2009

The Method of Least Squares. Lectures INF2320 p. 1/80

Manual for SOA Exam FM/CAS Exam 2.

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

Piecewise Cubic Splines

Finance 350: Problem Set 6 Alternative Solutions

Fixed-Income Securities Lecture 4: Hedging Interest Rate Risk Exposure Traditional Methods

H.Calculating Normal Vectors

Review of Fundamental Mathematics

Efficient Curve Fitting Techniques

What are the place values to the left of the decimal point and their associated powers of ten?

Lecture 4: The Black-Scholes model

Trading the Yield Curve. Copyright Investment Analytics

Lesson 1. Key Financial Concepts INTRODUCTION

The Relation between Two Present Value Formulae

Introduction. example of a AA curve appears at the end of this presentation.

Analytical Research Series

ARBITRAGE-FREE OPTION PRICING MODELS. Denis Bell. University of North Florida

Term Structure Estimation for U.S. Corporate Bond Yields

Valuing Stock Options: The Black-Scholes-Merton Model. Chapter 13

OPTIMAL CONTROL OF A COMMERCIAL LOAN REPAYMENT PLAN. E.V. Grigorieva. E.N. Khailov

Lecture Notes on Actuarial Mathematics

ST334 ACTUARIAL METHODS

On Correlating Performance Metrics

Problems and Solutions

ECON20310 LECTURE SYNOPSIS REAL BUSINESS CYCLE

Derivatives Interest Rate Futures. Professor André Farber Solvay Brussels School of Economics and Management Université Libre de Bruxelles

Debt Instruments Set 2

Transcription:

Building a Smooth Yield Curve University of Chicago Jeff Greco email: jgreco@math.uchicago.edu

Preliminaries As before, we will use continuously compounding Act/365 rates for both the zero coupon rates and forward rates. Time is measured in years from now. Recall the following quantities: Name Symbol Formulas discount e r(t) t P (t) factor e t 0 f(s)ds forward discount factor zero rate discrete forward rate instantaneous forward rate P (t, T ) r (t) f (t, T ) f (t) e f(t,t )(T t) P (T ) P (t) 1 t log P (t) 1 t0 t f (s) ds r(t ) T r(t) t T t T 1 t log P (t, T ) dt d log P (t) lim τ 0 f (t, t + τ) d dt (r (t) t) 1

Mechanics Let 0 = t 0 < t 1 < < t n be an ordered set of times. A yield curve is represented by any of the following: Discount factors P (t 1 ), P (t 2 ),..., P (t n ), Zero rates r (t 1 ), r (t 2 ),..., r (t n ), or Forward rates f (t 0, t 1 ), f (t 1, t 2 ),..., f ( t n 1, t n ). These are all equivalent, as can be seen by the relations P (t i ) = e r(t i) t i, r (t i ) t i = r ( t i 1 ) ti 1 + f ( t i 1, t i ) ( ti t i 1 ). 2

What is Smoothness? Smoothness is a measure of the degree to which a function wriggles. A smoothness penalty is often defined as (f (t) ) 2 dt or f (t) dt. The zero rates are averages of forward rates t r (t) = 1 f (s) ds t 0 and are therefore smoother. This implies that if we smooth the forward rates, the zero rates will also be smooth. So what will be the criterion of smoothness for our discrete sequence of forward rates? f 1 = f (t 0, t 1 ), f 2 = f (t 1, t 2 ),..., f n = f ( t n 1, t n ) 3

We shall choose a discrete version of one of the continuous time measures we have already seen. One possibility is that a forward rate should be close to its neighbors, e.g. n i=2 f i f i 1 should be small. The absolute value is tricky to deal with, so we will use the squares of the differences instead S(f) = Another possibility is n i=2 ( fi f i 1 ) 2. n 1 i=2 ( fi 1 2f i + f i+1 ) 2.

Why is Smoothing Possible? The prices of the traded input instruments (deposits, Eurodollar futures, and swaps) are functions of the forward rates. The forward rates are not uniquely determined by these prices. There are always extra degrees of freedom. When we bootstrapped the LIBOR curve in the previous lecture, we chose a constant forward rate interpolation method in order to specify the curve. We used a total of 23 constraints (instruments) to construct the curve. The number of unknowns (forward rates) is equal to the number of knot times. A knot time is a time whose corresponding discount factor impacts the value of any of the input instruments: 4

Deposit begin and end dates Futures IMM dates and end dates Swap fixed cashflow payment dates We have at least 41 knot times and only 23 constraints. That leaves at least an extra 18 degrees of freedom! We will use them for smoothing. 5

The Dangers of Overfitting Underfitting is when the number of constraints is greater than the number of free variables. This is relatively benign. Generally, not every constraint can be satisfied. Fewer constraints than free variables results in overfitting. Ad-hoc procedures for fixing extra variables usually result in unpleasant consequences. Extra variables go haywire. Overfitting is extremely widespread but usually hidden! Watch out for it in Curve building Model calibration Market (BGM) models Everywhere else 6

Overfitted models are unstable, have little explanatory and predictive power, yet provide a false sense of security (because all inputs are matched). Ways to deal with overfitting: Recognize it Avoid it Formulate a goal that extra parameters are designed to achieve 7

A Simple Example Consider two instruments A Eurodollar deposit A Eurodollar future Assume that the deposit settles at time t 0 and pays at time t 2. The Eurodollar covers the time period from t 1 to t 3. The times are arranged in order t 0 < t 1 < t 2 < t 3. Assume all day bases are Act/365. Define τ 1 = t 1 t 0, τ 2 = t 2 t 1, τ 3 = t 3 t 1. 8

The three forwards involved are f 1 = f (t 0, t 1 ), f 2 = f (t 1, t 2 ), f 3 = f (t 2, t 3 ). Two equations must be satisfied by the forward rates, D = exp (f 1τ 1 + f 2 τ 2 ) 1 τ 1 + τ 2, F = exp (f 2τ 2 + f 3 τ 3 ) 1 τ 2 + τ 3, where D is the deposit rate and F is the rate implied by the futures price. Expressed in term of forward rates, the constraints become τ 1 f 1 + τ 2 f 2 = log (D (τ 1 + τ 2 ) + 1) τ 2 f 2 + τ 3 f 3 = log (F (τ 2 + τ 3 ) + 1). We have two equations and three unknowns. We want the smoothest curve possible. Recall our definition of smoothness. The goal is to minimize S (f 1, f 2, f 3 ) = (f 2 f 1 ) 2 + (f 3 f 2 ) 2

using the extra degree of freedom. By direct substitution f 1 = log (D (τ 1 + τ 2 ) + 1) f 2 τ 2 τ 1 f 3 = log (F (τ 2 + τ 3 ) + 1) f 2 τ 2 τ 3. Plugging into S (f 1, f 2, f 3 ) leaves a one dimensional unconstrained optimization problem. Find f 2 where the minimum of S (f 2 ) = is attained. (( + 1 + τ 2 (( τ 1 ) 1 + τ 2 τ 3 f 2 log (D (τ 1 + τ 2 ) + 1) ) τ 1 ) 2 f 2 log (F (τ 2 + τ 3 ) + 1) τ 3 ) 2 Do this as an exercise!

The Method in Detail Step 1: Identify the instruments used in constructing the curve Deposits / LIBOR rates Eurodollar futures Swaps We will call them curve instruments. 9

Step 2: Identify knot times The knot times are characterized as the set of times whose corresponding discount factors impact the value of the curve instruments. Knot times include Today Deposit accrual begin dates and end dates Eurodollar futures underlying forward LIBOR begin and end dates Swap settlement dates and fixed rate payment dates Sort the knot times 0 = t 0 < t 1 < < t n, breaking the timeline into non-overlapping periods. 10

Step 3: Assign a forward rate (free variable) to each time period f 1 = f (t 0, t 1 ), f 2 = f (t 1, t 2 ),..., f n = f ( t n 1, t n ), establishing n independent variables. Step 4: Express the curve instrument prices as functions of the forward rates First express the curve instrument prices through the discount factors at the knot times P (t 1 ), P (t 2 ),... P (t n ). This is always possible by definition of the knot times. Second express the discount factors in terms of the forward rates. This can be done recursively P (t 0 ) = 1, P (t i ) = P ( t i 1 ) exp ( fi (t i t i 1 )). 11

Step 5: Define constraints The smoothed curve should imply curve instrument prices which are a close match for market quotes. In other words V i (f 1, f 2,..., f n ) = v i, i = 1, 2,..., m. Here V 1 (f), V 2 (f),..., V m (f) are the prices as a function of the forward rates, and v 1, v 2,... v m are the market quotes we need to match. If m = n we are done; there are no extra degrees of freedom to use for smoothness. If m > n we have too many constraints; we cannot match all the prices. If, as is the usual case, m < n we can use the extra degrees of freedom for smoothing.

Step 6: Formulate a smoothness criteria Use S (f) = S (f) = or something else. n i=2 n 1 i=2 ( fi f i 1 ) 2, ( fi 1 2f i + f i+1 ) 2, 12

Step 7: Solve a non-linear constrained optimization problem Mathematically we must find f such that S (f) is a minimum among all possible solutions V (f) = v. This is a very hard problem. It is a multidimensional (50+) minimization with non-linear constraints. This pushes the limit of numerical techniques. An alternative is to get rid of the hard constraints. Use soft constraints instead. Replace V (f) = v with the mispricing objective function M (f) = n i=1 (V i (f) v i ) 2. The closer the fit to market prices, the smaller the mispricing M (f). The reformulated problem is to find f such that Ω (f; w) = ws (f) + M (f) 13

attains its minimum. We have included a control variable w to specify the relative importance of smoothness versus mispricing. This is a much simpler unconstrained optimization problem. Even Excel can handle it! The curve will no longer exactly price the input instruments. This is not necessarily bad there is always a bid/ask spread. We can fall within the bid/ask spread by choosing the right value for w. Typical bid/ask spreads are Deposits: 1 2 bp Eurodollars: 1 4-1 2 bp Swaps: 1-2bp

Advanced: Connecting the Dots We know the discrete forward rates for the knot times. But, how do we value other instruments that do not necessarily hit the knot times? Interpolate. Assuming flat forward rates between the knot times is the easy way out. We have worked hard to make the curve smooth. Why not connect the dots smoothly? There are several choices for interpolation Polynomial Polynomial spline Exponential spline Other families of smooth functions 14

How do we choose? Be consistent. For instance, if you chose S (f) = n 1 i=2 ( fi 1 2f i + f i+1 ) 2 as your smoothness constraint, then why not try to extend this by minimizing ( f (t) ) 2 dt? In other words, find a twice differentiable function f ( ) such that tn ( ) f 2 (s) ds (1) 0 is a minimum among all possible solutions 1 t i t i 1 ti t i 1 f (s) ds = f i, i = 1, 2,... n. (2) 15

In order to achieve this we will invoke the following theorem. Theorem. The term structure of instantaneous forward rates f (t), 0 t T, that minimizes the smoothness criteria (1) subject to the constraints (2) is a forth-order polynomial spline with knot times {t i } n i=0. The coefficients of the spline are determined by solving a linear system of equations. Donald R. van Deventer and Kenji Imai. Financial Risk Analytics: A Term Structure Model Approach for Banking, Insurance and Investment Management, McGraw-Hill, 1996. 16

Final Words of Wisdom It is not always appropriate to smooth the yield curve. If the market data used to construct the curve is bad, no amount of smoothing will fix it. If different curve instruments have incompatible prices (e.g. on-the-run and off-the-run Treasuries), smoothing will make matters worse. When building a curve that has a scarce set of curve instruments (e.g. Treasury curve), some extra inputs should usually be used to get it right. For instance, when calculating price sensitivities to bucketed discrete forward rates, yield curve shocks will bleed into other buckets. E.g., Treasury curve shape between 10 and 30 years forced to match the shape of the LIBOR curve. 17