Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Language Reference

FORWARD Function

calculates a column vector of forward rates given vectors of spot rates and times

 { {FORWARD}(times,spot\_rates) }

The FORWARD function returns an n x 1 vector of forward rates.

times
is an n x 1 column vector of times
in consistent units. Elements should be non-negative.
spot_rates
is an n x 1 column vector of corresponding
per-period spot rates. Elements should be positive.

The FORWARD function transforms the given spot rates as:
f1=s1
fi = [[((1+si)ti)/((1+si-1)ti-1)]][(ti)/(ti-1)] -1.0;     i = 2,...n

Example proc iml;
spt=.75;
times=1;
forward=forward(times,spt);
print forward;
quit;

FORWARD
0.75

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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