Re: How to get forward rate volatilities
Posted by Luigi Ballabio-2 on Oct 02, 2003; 1:46am
URL: http://quantlib.414.s1.nabble.com/How-to-get-forward-rate-volatilities-tp2700p2701.html
At 08:40 AM 10/2/03, amar singh wrote:
>Given SwaptionHelper and Termstructure objects calibrated using
>JamshidianSwaption on the HullWhite model(as mentioned in
>BermudanSwaption.cpp example ), how can I get the forward rate volatities
>for different points in the term structure? Or,is it an invalid question??
Amar,
the question is valid. Right now I'm not able to give you a
detailed recipe, but once you have
Handle<OneFactorModel> hullWhite;
I think your best bet is to use
model->dynamics();
and
model->dynamics()->process();
to get the expectation value and variance of the underlying state variable.
From there, some analytics (look into the interest-rate model book closest
t your desk) should give you the corresponding quantities for the short
rate and the forward rates.
Hope this helps,
Luigi