Hello All,
I was trying out the smooth simultaneous calibration routine in Quantlib (CTSMMCapletMaxHomogeneityCalibration). I followed the code in the test-suite as a reference. I ran it with the data provided in Ametrano and Joshi's paper on the same topic. First thing that baffled me was I could not reproduce the published a,b,c,d values using the AbcdCalibration class. But then I verified that the computed swaption values were almost the same in both the cases i.e. the published abcd values and the ones my program spit out. The co-terminal swaption values however did match in both these cases.
When I tried running the calibration routine it threw an exception "cylinder centre must have positive coordinate". I also tried it using the published values of abcd with the same result. I have verified that the data matches the published data. I know I must have goofed up somewhere but am unable to nail it. Any pointers would be greatly appreciated.
Below is the relevant portion of code that I used.
Thanks,
NQ
p.s:This question has been cross-posted on Mark Joshi's forum Step 1: Build piecewise constant variances with corresponding abcd values
Step 2: instantiate the calibrator
Step 3: calibrate
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |