Language Reference |
calculates a column vector of forward rates given vectors of spot rates and times
For example, consider the following statements:
time=T(do(1,5,1)); spot=T(do(0.05,0.09,0.01)); forward=forward(time,spot); print forward;
These statements produce the following output:
FORWARD 0.05 0.0700952 0.0902839 0.1105642 0.1309345
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.