Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Language Reference

CONVEXIT Function

calculates convexity of a non contingent "cash flow"

CONVEXIT( times, flows, ytm)

The inputs to the CONVEXIT function areas follows:

times
is an n-dimensional column vector of times.
flows
is an n-dimensional column vector of cash flows.

rates
is the per-period yield-to-maturity of the cashflow stream.
The CONVEXIT function returns a scalar that is the convexity of a non contingent cash flow. Convexity is essentially a measure of how duration, the sensitivity of price to yield, changes as interest rates change:
C = [1/P] [(d2P)/(dy2)]
With cash flows that are not yield sensitive, and the assumption of parallel shifts to a flat term-structure, convexity is given by
C = \frac{1}{P (1+y)^2} 
 \sum_{k=1}^K t_k (t_k+1) \frac{c(k)}{(1+y)^{t_k}}
where P is the present value, y is the effective per period yield-to-maturity, and K is the number of cash flows, the kth cash flow being c(k) tk periods from the present.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.