hull_whiteBond: 1-factor Hull White (bond prices)

Description Usage Arguments Value Examples

Description

Transform hull white short rates into bond prices -> P = 1/(1+r)

Usage

1

Arguments

hw.out

Output of hull_white() containing short rate scenarios

Value

Bond prices corresponding to hull white short rate scenarios

Examples

1
2
3
4
termStruct.out <- cubic_spline(termStruct);
 termStruct.extension <- curve_extensionNS(termStruct.out);
 hw.out <- hull_white(srinput, termStruct.extension, termofyield=1);
 hw.bond <- hull_whiteBond(hw.out)

nathanesau/StocVal documentation built on May 23, 2019, 12:18 p.m.